summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/dm355evm_msp.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-05-21 15:34:14 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-05-30 09:30:04 +0200
commit7ede4c36cf7c6516986ee9d75b197c8bf73ea96f (patch)
tree86bc1225722d414d421ad8b8fc4c38b7cb1266cc /drivers/mfd/dm355evm_msp.c
parentcrypto: talitos - fix ECB algs ivsize (diff)
downloadlinux-7ede4c36cf7c6516986ee9d75b197c8bf73ea96f.tar.xz
linux-7ede4c36cf7c6516986ee9d75b197c8bf73ea96f.zip
crypto: talitos - Do not modify req->cryptlen on decryption.
For decrypt, req->cryptlen includes the size of the authentication part while all functions of the driver expect cryptlen to be the size of the encrypted data. As it is not expected to change req->cryptlen, this patch implements local calculation of cryptlen. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Fixes: 9c4a79653b35 ("crypto: talitos - Freescale integrated security engine (SEC) driver") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/mfd/dm355evm_msp.c')
0 files changed, 0 insertions, 0 deletions