Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Thara Gopinath and committed by
Herbert Xu
02d0dae3 44b45cde

+1 -1
+1 -1
drivers/crypto/qce/skcipher.c
··· 353 353 .name = "ecb(aes)", 354 354 .drv_name = "ecb-aes-qce", 355 355 .blocksize = AES_BLOCK_SIZE, 356 - .ivsize = AES_BLOCK_SIZE, 356 + .ivsize = 0, 357 357 .min_keysize = AES_MIN_KEY_SIZE, 358 358 .max_keysize = AES_MAX_KEY_SIZE, 359 359 },