Lines Matching refs:aead_info
55 const OSSL_HPKE_AEAD_INFO *aead_info; member
151 taglen = hctx->aead_info->taglen; in hpke_aead_dec()
228 taglen = hctx->aead_info->taglen; in hpke_aead_enc()
316 const OSSL_HPKE_AEAD_INFO **aead_info) in hpke_suite_check() argument
334 if (aead_info != NULL) in hpke_suite_check()
335 *aead_info = aead_info_; in hpke_suite_check()
353 const OSSL_HPKE_AEAD_INFO *aead_info = NULL; in hpke_random_suite() local
364 aead_info = ossl_HPKE_AEAD_INFO_find_random(libctx); in hpke_random_suite()
365 if (aead_info == NULL) in hpke_random_suite()
367 suite->aead_id = aead_info->aead_id; in hpke_random_suite()
395 const OSSL_HPKE_AEAD_INFO *aead_info = NULL; in hpke_expansion() local
402 if (hpke_suite_check(suite, &kem_info, NULL, &aead_info) != 1) { in hpke_expansion()
406 *cipherlen = clearlen + aead_info->taglen; in hpke_expansion()
655 const OSSL_HPKE_AEAD_INFO *aead_info = NULL; in hpke_do_middle() local
672 aead_info = ossl_HPKE_AEAD_INFO_find_id(ctx->suite.aead_id); in hpke_do_middle()
673 if (aead_info == NULL) { in hpke_do_middle()
747 ctx->noncelen = aead_info->Nn; in hpke_do_middle()
759 ctx->keylen = aead_info->Nk; in hpke_do_middle()
804 const OSSL_HPKE_AEAD_INFO *aead_info; in OSSL_HPKE_CTX_new() local
810 if (hpke_suite_check(suite, &kem_info, &kdf_info, &aead_info) != 1) { in OSSL_HPKE_CTX_new()
828 ctx->aead_ciph = EVP_CIPHER_fetch(libctx, aead_info->name, propq); in OSSL_HPKE_CTX_new()
839 ctx->aead_info = aead_info; in OSSL_HPKE_CTX_new()
1372 const OSSL_HPKE_AEAD_INFO *aead_info = NULL; in OSSL_HPKE_get_grease_value() local
1389 if (hpke_suite_check(chosen, &kem_info, NULL, &aead_info) != 1) { in OSSL_HPKE_get_grease_value()
1395 if (aead_info->taglen >= ctlen) { in OSSL_HPKE_get_grease_value()