dbc9a791a7
commit d07f951903fa9922c375b8ab1ce81b18a0034e3b upstream.
When processing the last block, the s390 ctr code will always read
a whole block, even if there isn't a whole block of data left. Fix
this by using the actual length left and copy it into a buffer first
for processing.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
aes_s390.c | ||
arch_random.c | ||
chacha-glue.c | ||
chacha-s390.S | ||
chacha-s390.h | ||
crc32-vx.c | ||
crc32be-vx.S | ||
crc32le-vx.S | ||
des_s390.c | ||
ghash_s390.c | ||
paes_s390.c | ||
prng.c | ||
sha.h | ||
sha1_s390.c | ||
sha3_256_s390.c | ||
sha3_512_s390.c | ||
sha256_s390.c | ||
sha512_s390.c | ||
sha_common.c |