Skip to content
Commit 0e473077 authored by Christophe Leroy's avatar Christophe Leroy Committed by Ben Hutchings
Browse files

crypto: talitos - check AES key size

commit 1ba34e71

 upstream.

Although the HW accepts any size and silently truncates
it to the correct length, the extra tests expects EINVAL
to be returned when the key size is not valid.

Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Fixes: 4de9d0b5

 ("crypto: talitos - Add ablkcipher algorithms")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
[bwh: Backported to 3.16: only cbc(aes) algorithm is supported]
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 63cd7cdd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment