summaryrefslogtreecommitdiffstats
path: root/kernel/arch/sparc/crypto/des_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/sparc/crypto/des_glue.c')
-rw-r--r--kernel/arch/sparc/crypto/des_glue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/arch/sparc/crypto/des_glue.c b/kernel/arch/sparc/crypto/des_glue.c
index dd6a34fa6..61af794aa 100644
--- a/kernel/arch/sparc/crypto/des_glue.c
+++ b/kernel/arch/sparc/crypto/des_glue.c
@@ -429,6 +429,7 @@ static struct crypto_alg algs[] = { {
.blkcipher = {
.min_keysize = DES_KEY_SIZE,
.max_keysize = DES_KEY_SIZE,
+ .ivsize = DES_BLOCK_SIZE,
.setkey = des_set_key,
.encrypt = cbc_encrypt,
.decrypt = cbc_decrypt,
@@ -485,6 +486,7 @@ static struct crypto_alg algs[] = { {
.blkcipher = {
.min_keysize = DES3_EDE_KEY_SIZE,
.max_keysize = DES3_EDE_KEY_SIZE,
+ .ivsize = DES3_EDE_BLOCK_SIZE,
.setkey = des3_ede_set_key,
.encrypt = cbc3_encrypt,
.decrypt = cbc3_decrypt,