openssl/providers/implementations
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
..
asymciphers
ciphers SM4 optimization for ARM by ASIMD 2022-04-12 10:37:42 +02:00
digests fix indentation 2022-01-19 21:50:22 +11:00
encode_decode Add the missing check of BN_bn2hex return value 2022-01-28 15:06:23 +01:00
exchange DH: Make padding always on when X9.42 KDF is used 2022-03-14 10:06:37 +01:00
include/prov Add define guards to avoid multi-inclusion 2022-02-16 16:11:56 +01:00
kdfs fix some typos 2022-04-19 13:52:58 +02:00
kem Move e_os.h to include/internal 2022-02-05 05:31:09 +01:00
keymgmt ec_export: Other parameters are exportable with domain parameters 2022-04-11 11:59:41 +02:00
macs Avoid undefined behavior of provided macs on EVP_MAC reinitialization 2022-04-19 14:06:38 +02:00
rands Refactor OSSL_LIB_CTX to avoid using CRYPTO_EX_DATA 2022-04-01 10:49:19 +11:00
signature sm2: Allow setting 0 length SM2 dist ID param 2022-04-11 11:45:04 +02:00
storemgmt Move e_os.h to include/internal 2022-02-05 05:31:09 +01:00
build.info Add KEM (Key encapsulation mechanism) support to providers 2020-09-19 18:08:46 +10:00