openssl/providers/common
Matthias St. Pierre 5516d20226 rand: add callbacks to cleanup the user entropy resp. nonce
The `get_user_{entropy,nonce}` callbacks were add recently to the
dispatch table in commit 4cde7585ce. Instead of adding corresponding
`cleanup_user_{entropy,nonce}` callbacks, the `cleanup_{entropy,nonce}`
callbacks were reused. This can cause a problem in the case where the
seed source is replaced by a provider: the buffer gets allocated by
the provider but cleared by the core.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22423)
2023-10-20 09:48:34 +01:00
..
der configure: introduce no-ecx to remove ECX related feature 2023-06-14 13:06:22 +10:00
include/prov Copyright year updates 2023-09-07 09:59:15 +01:00
bio_prov.c
build.info
capabilities.c
digest_to_nid.c
provider_ctx.c
provider_err.c
provider_seeding.c rand: add callbacks to cleanup the user entropy resp. nonce 2023-10-20 09:48:34 +01:00
provider_util.c
securitycheck_default.c Copyright year updates 2023-09-07 09:59:15 +01:00
securitycheck_fips.c Copyright year updates 2023-09-07 09:59:15 +01:00
securitycheck.c Copyright year updates 2023-09-07 09:59:15 +01:00