summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorHolger Dengler <dengler@linux.ibm.com>2024-01-04 09:37:39 +0100
committerTomas Mraz <tomas@openssl.org>2024-01-12 10:34:39 +0100
commit576a3572bebf6115df1c03527114cbf74d06f861 (patch)
tree8500039c10dc821b5ad13779e2c31144a10beda8 /crypto
parent0856bf519ffc7707fc01b763aed47e357a513820 (diff)
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)
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions