summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorIngo Franzki <ifranzki@linux.ibm.com>2018-08-27 14:28:47 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-09-04 10:58:17 +0200
commitb81126e01a8c6048249955feea46c8217ebefa91 (patch)
tree580b36a511e7c5dc86917aef31369d158f5203b2 /drivers/s390
parent60c1f89241d49bacf71035470684a8d7b4bb46ea (diff)
downloadblackbird-obmc-linux-b81126e01a8c6048249955feea46c8217ebefa91.tar.gz
blackbird-obmc-linux-b81126e01a8c6048249955feea46c8217ebefa91.zip
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>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud