summaryrefslogtreecommitdiffstats
path: root/crypto/o_dir.c
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:35:27 +0100
commit8887efa223a014fe93ee19303abb87eb115b12c9 (patch)
treeb6c21172f216eff5c2d24046e92da5cc307098bc /crypto/o_dir.c
parent679cdfa96cee266dd813a4c21f127f179557d36f (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) (cherry picked from commit 576a3572bebf6115df1c03527114cbf74d06f861)
Diffstat (limited to 'crypto/o_dir.c')
0 files changed, 0 insertions, 0 deletions