Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9a05b60 authored by Christophe Leroy's avatar Christophe Leroy Committed by Herbert Xu
Browse files

crypto: talitos - fix CTR alg blocksize



CTR has a blocksize of 1.

Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Fixes: 5e75ae1b ("crypto: talitos - add new crypto modes")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1ba34e71
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2822,7 +2822,7 @@ static struct talitos_alg_template driver_algs[] = {
		.alg.crypto = {
		.alg.crypto = {
			.cra_name = "ctr(aes)",
			.cra_name = "ctr(aes)",
			.cra_driver_name = "ctr-aes-talitos",
			.cra_driver_name = "ctr-aes-talitos",
			.cra_blocksize = AES_BLOCK_SIZE,
			.cra_blocksize = 1,
			.cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER |
			.cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER |
				     CRYPTO_ALG_ASYNC,
				     CRYPTO_ALG_ASYNC,
			.cra_ablkcipher = {
			.cra_ablkcipher = {