Lines Matching defs:hs_msg
205 tls13_handshake_msg_data(ctx->hs_msg, &cbs);
219 tls13_handshake_msg_data(ctx->hs_msg, &cbs);
321 struct tls13_handshake_msg *hs_msg = NULL;
348 if ((hs_msg = tls13_handshake_msg_new()) == NULL)
350 if (!tls13_handshake_msg_start(hs_msg, &cbb_hs, TLS13_MT_KEY_UPDATE))
354 if (!tls13_handshake_msg_finish(hs_msg))
358 tls13_handshake_msg_data(hs_msg, &cbs_hs);
361 tls13_handshake_msg_free(hs_msg);
362 hs_msg = NULL;
367 tls13_handshake_msg_free(hs_msg);
483 if ((ctx->hs_msg == NULL) &&
484 ((ctx->hs_msg = tls13_handshake_msg_new()) == NULL))
487 if ((ret = tls13_handshake_msg_recv(ctx->hs_msg, ctx->rl)) !=
491 if (!tls13_handshake_msg_content(ctx->hs_msg, &cbs))
494 switch(tls13_handshake_msg_type(ctx->hs_msg)) {
509 tls13_handshake_msg_free(ctx->hs_msg);
510 ctx->hs_msg = NULL;
583 tls13_handshake_msg_free(ctx->hs_msg);