diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-05-21 13:34:11 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-05-30 15:30:04 +0800 |
commit | b9a05b6041cb9810a291315569b2af0d63c3680a (patch) | |
tree | 930d3004834d8f14df5b3817e7723b77e9f63c4b /drivers | |
parent | 1ba34e71e9e56ac29a52e0d42b6290f3dc5bfd90 (diff) |
crypto: talitos - fix CTR alg blocksize
CTR has a blocksize of 1.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Fixes: 5e75ae1b3cef ("crypto: talitos - add new crypto modes")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/talitos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index 95f71e18bf55..8b9a529f1b66 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c @@ -2822,7 +2822,7 @@ static struct talitos_alg_template driver_algs[] = { .alg.crypto = { .cra_name = "ctr(aes)", .cra_driver_name = "ctr-aes-talitos", - .cra_blocksize = AES_BLOCK_SIZE, + .cra_blocksize = 1, .cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | CRYPTO_ALG_ASYNC, .cra_ablkcipher = { |