mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
4c41aa4b33
1. Add OSSL_FUNC_digest_copyctx_fn function for EVP_MD, which is used to copy algctx from the old EVP_MD_CTX to the new one. 2. Add implementation of OSSL_FUNC_digest_copyctx_fn function for default providers. 3. Modify EVP_MD_CTX_copy_ex: When the fetched digest is the same in in and out contexts, use the copy function to copy the members in EVP_MD_CTX if the OSSL_FUNC_digest_copyctx_fn function exists. Otherwise, use the previous method to copy. 4. Add documentation for OSSL_FUNC_digest_copyctx function in doc/man7/provider-digest.pod. 5. Add testcase. Fixes #25703 Signed-off-by: wangcheng <bangwangnj@163.com> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/25726) |
||
---|---|---|
.. | ||
__DECC_INCLUDE_EPILOGUE.H | ||
__DECC_INCLUDE_PROLOGUE.H | ||
blake2.h | ||
ciphercommon_aead.h | ||
ciphercommon_ccm.h | ||
ciphercommon_gcm.h | ||
ciphercommon.h | ||
digestcommon.h | ||
ecx.h | ||
hmac_drbg.h | ||
implementations.h | ||
kdfexchange.h | ||
macsignature.h | ||
md5_sha1.h | ||
names.h | ||
seeding.h |