diff options
author | Thara Gopinath <thara.gopinath@linaro.org> | 2021-02-11 23:01:24 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-03-07 07:13:16 +0300 |
commit | 02d0dae3ce2adb5549c7f6c6e714181ed6ee100d (patch) | |
tree | b763c57dc0c93dbdd7af95932c9fafa9965455bb /drivers/crypto/qce | |
parent | 44b45cdea4e3d31a3be14fd7e2b8e1584b3e670c (diff) | |
download | linux-02d0dae3ce2adb5549c7f6c6e714181ed6ee100d.tar.xz |
crypto: qce - Set ivsize to 0 for ecb(aes)
ECB transformations do not have an IV and hence set the ivsize to 0 for
ecb(aes).
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qce')
-rw-r--r-- | drivers/crypto/qce/skcipher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qce/skcipher.c b/drivers/crypto/qce/skcipher.c index c2f0469ffb22..11a2a30631af 100644 --- a/drivers/crypto/qce/skcipher.c +++ b/drivers/crypto/qce/skcipher.c @@ -353,7 +353,7 @@ static const struct qce_skcipher_def skcipher_def[] = { .name = "ecb(aes)", .drv_name = "ecb-aes-qce", .blocksize = AES_BLOCK_SIZE, - .ivsize = AES_BLOCK_SIZE, + .ivsize = 0, .min_keysize = AES_MIN_KEY_SIZE, .max_keysize = AES_MAX_KEY_SIZE, }, |