diff options
author | Holger Dengler <dengler@linux.ibm.com> | 2024-01-04 09:37:39 +0100 |
---|---|---|
committer | Holger Dengler <dengler@linux.ibm.com> | 2024-01-04 11:40:43 +0100 |
commit | 4df92c1a14c3c10b7010705d707613eb0b90df3c (patch) | |
tree | dc8e0fe60b3c4baeb11f40bba4379a463b842f7d /crypto | |
parent | 8b9cf1bc2c3085b6e9493a057209ffd0bddf48a6 (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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions