crypto: powerpc - don't set ivsize for AES-ECB
authorEric Biggers <ebiggers@google.com>
Tue, 15 Oct 2019 02:45:16 +0000 (19:45 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Oct 2019 15:06:06 +0000 (02:06 +1100)
commit8255e65df961fd0c9b7d86317e915606751562a4
treea3e9ec08e33280cb9804c4c878415010543684bd
parent0d6ecb2e43d6b15699cea1fbd7ce0c981694b9b4
crypto: powerpc - don't set ivsize for AES-ECB

Set the ivsize for the "ecb-ppc-spe" algorithm to 0, since ECB mode
doesn't take an IV.

This fixes a failure in the extra crypto self-tests:

alg: skcipher: ivsize for ecb-ppc-spe (16) doesn't match generic impl (0)

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/powerpc/crypto/aes-spe-glue.c