summaryrefslogtreecommitdiffstats
path: root/kernel/arch/sparc/crypto/aes_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/sparc/crypto/aes_glue.c')
-rw-r--r--kernel/arch/sparc/crypto/aes_glue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/arch/sparc/crypto/aes_glue.c b/kernel/arch/sparc/crypto/aes_glue.c
index 2e48eb881..c90930de7 100644
--- a/kernel/arch/sparc/crypto/aes_glue.c
+++ b/kernel/arch/sparc/crypto/aes_glue.c
@@ -433,6 +433,7 @@ static struct crypto_alg algs[] = { {
.blkcipher = {
.min_keysize = AES_MIN_KEY_SIZE,
.max_keysize = AES_MAX_KEY_SIZE,
+ .ivsize = AES_BLOCK_SIZE,
.setkey = aes_set_key,
.encrypt = cbc_encrypt,
.decrypt = cbc_decrypt,
@@ -452,6 +453,7 @@ static struct crypto_alg algs[] = { {
.blkcipher = {
.min_keysize = AES_MIN_KEY_SIZE,
.max_keysize = AES_MAX_KEY_SIZE,
+ .ivsize = AES_BLOCK_SIZE,
.setkey = aes_set_key,
.encrypt = ctr_crypt,
.decrypt = ctr_crypt,