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)
committerEric Biggers <ebiggers@google.com>
Fri, 10 Feb 2017 20:07:49 +0000 (20:07 +0000)
commit15227d3ccce3bcac1bd797a7428f1e3305bd9d6c
treeb3827184461e582a22229c26fa9cba82fe5c5ec7
parentd854b688907b34fcab97fc3b58000084255ee53a
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