Lines Matching defs:hmac_ctx
799 HMAC_CTX *hmac_ctx = NULL;
815 if ((hmac_ctx = HMAC_CTX_new()) == NULL)
817 if (!HMAC_Init_ex(hmac_ctx, finished_key.data, finished_key.len,
820 if (!HMAC_Update(hmac_ctx, transcript_hash, transcript_hash_len))
823 verify_data_len = HMAC_size(hmac_ctx);
826 if (!HMAC_Final(hmac_ctx, verify_data, &hlen))
840 HMAC_CTX_free(hmac_ctx);
1034 HMAC_CTX *hmac_ctx = NULL;
1049 if ((hmac_ctx = HMAC_CTX_new()) == NULL)
1051 if (!HMAC_Init_ex(hmac_ctx, finished_key.data, finished_key.len,
1054 if (!HMAC_Update(hmac_ctx, ctx->hs->tls13.transcript_hash,
1057 verify_data_len = HMAC_size(hmac_ctx);
1060 if (!HMAC_Final(hmac_ctx, verify_data, &hlen))
1091 HMAC_CTX_free(hmac_ctx);