openssl/providers/implementations
Holger Dengler 576a3572be Fix partial block encryption in cfb and ofb for s390x
Use the number of processed bytes information (num) from the generic
cipher context for the partial block handling in cfb and ofb, instead
of keep this information in the s390x-specific part of the cipher
context. The information in the generic context is reset properly,
even if the context is re-initialized without resetting the key or iv.

Fixes: #23175

Signed-off-by: Holger Dengler <dengler@linux.ibm.com>

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23201)
2024-01-12 10:34:39 +01:00
..
asymciphers Add missing settable entry OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST_PROPS for RSA asym 2023-12-29 10:41:06 +01:00
ciphers Fix partial block encryption in cfb and ofb for s390x 2024-01-12 10:34:39 +01:00
digests cleanse stack variable in blake2[b|s] finalization 2024-01-03 12:42:01 -05:00
encode_decode Restore the meaning of EVP_PKEY_print_private() 2023-10-04 08:10:55 +02:00
exchange Copyright year updates 2023-09-07 09:59:15 +01:00
include/prov Implement BLAKE2s with the same macro as BLAKE2b 2023-11-08 09:42:13 +01:00
kdfs cleanse stack variable in kdf_pbkdf1_do_derive 2024-01-05 14:25:55 -05:00
kem Copyright year updates 2023-09-07 09:59:15 +01:00
keymgmt Fix new typos found by codespell 2023-12-29 10:12:05 +01:00
macs Ignore OSSL_MAC_PARAM_DIGEST_NOINIT/OSSL_MAC_PARAM_DIGEST_ONESHOT 2023-12-26 10:36:00 -05:00
rands rand: fix seeding from a weak entropy source 2023-10-24 11:14:11 +01:00
signature Initialize dstctx->mgf1_md to NULL in rsa_dupctx function 2023-11-30 18:45:15 +01:00
storemgmt Copyright year updates 2023-09-07 09:59:15 +01:00
build.info Add KEM (Key encapsulation mechanism) support to providers 2020-09-19 18:08:46 +10:00