]> git.ipfire.org Git - thirdparty/openssl.git/commit
Refactoring some operations to avoid repeated calls
authorTomas Mraz <tomas@openssl.org>
Tue, 29 Nov 2022 12:30:52 +0000 (13:30 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 5 Dec 2022 10:34:52 +0000 (11:34 +0100)
commitd9ed3068df038811211b1f9c9f2f4ee2a6840aa3
tree538b30f14c0a1aa5ad155f8f3a67f312b5476358
parent910221454bfcabf1917fa65462f4cae48be5a624
Refactoring some operations to avoid repeated calls

Fetch the EVP_CIPHER for aead in OSSL_HPKE_CTX_new()
to avoid re-fetching on each aead operation.

Save kem/kdf/aead_info in OSSL_HPKE_CTX.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19784)
crypto/hpke/hpke.c
test/hpke_test.c