summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/bootparam_utils.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-05-21 13:34:12 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-21 07:12:45 +0200
commitbde9af379c8d5134397348840d1a4384423382ba (patch)
tree43498e279db97fee334dd4144d5edb842d327ff0 /arch/x86/include/asm/bootparam_utils.h
parent64aa7ed4482fb146fbae9a09f1ef651d8daf80e3 (diff)
crypto: talitos - check data blocksize in ablkcipher.
commit ee483d32ee1a1a7f7d7e918fbc350c790a5af64a upstream. When data size is not a multiple of the alg's block size, the SEC generates an error interrupt and dumps the registers. And for NULL size, the SEC does just nothing and the interrupt is awaited forever. This patch ensures the data size is correct before submitting the request to the SEC engine. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Fixes: 4de9d0b547b9 ("crypto: talitos - Add ablkcipher algorithms") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/include/asm/bootparam_utils.h')
0 files changed, 0 insertions, 0 deletions