openssl/providers
Tomas Mraz c9ddc5af51 Avoid undefined behavior of provided macs on EVP_MAC reinitialization
When the context is reinitialized, i.e. the same key should be used
we must properly reinitialize the underlying implementation.

However in POLY1305 case it does not make sense as this special MAC
should not reuse keys. We fail with this provided implementation
when reinitialization happens.

Fixes #17811

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18100)
2022-04-19 14:06:38 +02:00
..
common Move e_os.h to include/internal 2022-02-05 05:31:09 +01:00
fips Refactor OSSL_LIB_CTX to avoid using CRYPTO_EX_DATA 2022-04-01 10:49:19 +11:00
implementations Avoid undefined behavior of provided macs on EVP_MAC reinitialization 2022-04-19 14:06:38 +02:00
baseprov.c
build.info
decoders.inc
defltprov.c
encoders.inc
fips-sources.checksums
fips.checksum
fips.module.sources
legacyprov.c LEGACY PROV: Reimplement the ERR building blocks in upcall terms 2022-01-21 14:44:16 +01:00
nullprov.c
prov_running.c
stores.inc