linux/arch/s390/crypto
Harald Freudenberger bef9f0ba30 s390/crypto: fix gcm-aes-s390 selftest failures
The current kernel uses improved crypto selftests. These
tests showed that the current implementation of gcm-aes-s390
is not able to deal with chunks of output buffers which are
not a multiple of 16 bytes. This patch introduces a rework
of the gcm aes s390 scatter walk handling which now is able
to handle any input and output scatter list chunk sizes
correctly.

Code has been verified by the crypto selftests, the tcrypt
kernel module and additional tests ran via the af_alg interface.

Cc: <stable@vger.kernel.org>
Reported-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Patrick Steuer <steuer@linux.ibm.com>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2019-05-28 14:49:50 +02:00
..
aes_s390.c s390/crypto: fix gcm-aes-s390 selftest failures 2019-05-28 14:49:50 +02:00
arch_random.c s390/archrandom: Rework arch random implementation. 2018-05-30 11:18:04 +02:00
crc32-vx.c crypto: hash - annotate algorithms taking optional key 2018-01-12 23:03:35 +11:00
crc32be-vx.S s390: add missing ENDPROC statements to assembler functions 2019-05-02 13:54:11 +02:00
crc32le-vx.S s390: add missing ENDPROC statements to assembler functions 2019-05-02 13:54:11 +02:00
des_s390.c crypto: s390 - Forbid 2-key 3DES in FIPS mode 2019-04-18 22:14:59 +08:00
ghash_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
paes_s390.c s390/crypto: Enhance paes cipher to accept variable length key material 2018-10-10 07:37:20 +02:00
prng.c s390/crypto: use TRNG for seeding/reseeding 2019-04-25 15:34:09 +02:00
sha1_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
sha256_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
sha512_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
sha_common.c s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00
sha.h s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00