WSL2-Linux-Kernel/arch/s390/crypto
Ingo Franzki b81126e01a s390/crypto: Fix return code checking in cbc_paes_crypt()
The return code of cpacf_kmc() is less than the number of
bytes to process in case of an error, not greater.
The crypt routines for the other cipher modes already have
this correctly.

Cc: stable@vger.kernel.org # v4.11+
Fixes: 2793784307 ("s390/crypt: Add protected key AES module")
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Acked-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2018-09-04 10:58:17 +02:00
..
Makefile
aes_s390.c
arch_random.c
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
sha256_s390.c
sha512_s390.c
sha_common.c