UPSTREAM: arm/arm64: crypto: assure that ECB modes don't require an IV
authorJeremy Linton <jeremy.linton@arm.com>
Fri, 12 Feb 2016 15:47:52 +0000 (09:47 -0600)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 10 Apr 2017 07:42:16 +0000 (13:12 +0530)
commitea6520c1c8a825cea1c233d126b685c1881606f6
treee047afaf6e21c223b469aaf7745be617dd2a8d44
parentdb943372859b8acf8b99e258c0f2146238793e12
UPSTREAM: arm/arm64: crypto: assure that ECB modes don't require an IV

ECB modes don't use an initialization vector. The kernel
/proc/crypto interface doesn't reflect this properly.

Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from bee038a4bd2efe8188cc80dfdad706a9abe568ad)
Signed-off-by: Eric Biggers <ebiggers@google.com>
Change-Id: Ief9558d2b41be58a2d845d2033a141b5ef7b585f
arch/arm/crypto/aes-ce-glue.c
arch/arm64/crypto/aes-glue.c