Lines Matching defs:hmac_ctx
720 HMAC_CTX *hmac_ctx = NULL;
735 if ((hmac_ctx = HMAC_CTX_new()) == NULL)
737 if (!HMAC_Init_ex(hmac_ctx, finished_key.data, finished_key.len,
740 if (!HMAC_Update(hmac_ctx, ctx->hs->tls13.transcript_hash,
743 verify_data_len = HMAC_size(hmac_ctx);
746 if (!HMAC_Final(hmac_ctx, verify_data, &hlen))
790 HMAC_CTX_free(hmac_ctx);
1003 HMAC_CTX *hmac_ctx = NULL;
1019 if ((hmac_ctx = HMAC_CTX_new()) == NULL)
1021 if (!HMAC_Init_ex(hmac_ctx, finished_key.data, finished_key.len,
1024 if (!HMAC_Update(hmac_ctx, transcript_hash, transcript_hash_len))
1027 verify_data_len = HMAC_size(hmac_ctx);
1030 if (!HMAC_Final(hmac_ctx, verify_data, &hlen))
1044 HMAC_CTX_free(hmac_ctx);