Home
last modified time | relevance | path

Searched hist:b81126e01a8c6048249955feea46c8217ebefa91 (Results 1 – 1 of 1) sorted by relevance

/linux/arch/s390/crypto/
H A Dpaes_s390.cdiff b81126e01a8c6048249955feea46c8217ebefa91 Mon Aug 27 14:28:47 CEST 2018 Ingo Franzki <ifranzki@linux.ibm.com> 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: 279378430768 ("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>