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 Fix misc external ossl_ symbols. 2021-03-18 17:52:37 +10:00
build.info Add PBKDF1 to the legacy provider 2021-05-24 15:21:25 +10:00
capabilities.c Reimplement brainpool TLSv1.3 support group support 2022-10-07 10:01:48 +01:00
digest_to_nid.c Allow arbitrary digests with ECDSA and DSA 2021-05-12 13:12:00 +02:00
provider_ctx.c Rename some occurrences of 'library_context' and 'lib_ctx' to 'libctx' 2020-10-15 12:00:21 +01:00
provider_err.c proverr: add PROV_R_{INVALID_MEMORY_SIZE,INVALID_THREAD_POOL_SIZE} 2023-03-17 11:12:47 +11:00
provider_seeding.c rand: add callbacks to cleanup the user entropy resp. nonce 2023-10-20 09:48:34 +01:00
provider_util.c Cleanup : directly include of internal/nelem.h when required. 2022-11-23 18:08:25 +01:00
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