diff options
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/hifn_795x.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/crypto/hifn_795x.c b/drivers/crypto/hifn_795x.c index d09338f70dca..a4b1cea59ae6 100644 --- a/drivers/crypto/hifn_795x.c +++ b/drivers/crypto/hifn_795x.c | |||
@@ -2377,6 +2377,7 @@ static struct hifn_alg_template hifn_alg_templates[] = { | |||
2377 | { | 2377 | { |
2378 | .name = "cbc(des3_ede)", .drv_name = "cbc-3des", .bsize = 8, | 2378 | .name = "cbc(des3_ede)", .drv_name = "cbc-3des", .bsize = 8, |
2379 | .ablkcipher = { | 2379 | .ablkcipher = { |
2380 | .ivsize = HIFN_IV_LENGTH, | ||
2380 | .min_keysize = HIFN_3DES_KEY_LENGTH, | 2381 | .min_keysize = HIFN_3DES_KEY_LENGTH, |
2381 | .max_keysize = HIFN_3DES_KEY_LENGTH, | 2382 | .max_keysize = HIFN_3DES_KEY_LENGTH, |
2382 | .setkey = hifn_setkey, | 2383 | .setkey = hifn_setkey, |
@@ -2421,6 +2422,7 @@ static struct hifn_alg_template hifn_alg_templates[] = { | |||
2421 | { | 2422 | { |
2422 | .name = "cbc(des)", .drv_name = "cbc-des", .bsize = 8, | 2423 | .name = "cbc(des)", .drv_name = "cbc-des", .bsize = 8, |
2423 | .ablkcipher = { | 2424 | .ablkcipher = { |
2425 | .ivsize = HIFN_IV_LENGTH, | ||
2424 | .min_keysize = HIFN_DES_KEY_LENGTH, | 2426 | .min_keysize = HIFN_DES_KEY_LENGTH, |
2425 | .max_keysize = HIFN_DES_KEY_LENGTH, | 2427 | .max_keysize = HIFN_DES_KEY_LENGTH, |
2426 | .setkey = hifn_setkey, | 2428 | .setkey = hifn_setkey, |
@@ -2455,6 +2457,7 @@ static struct hifn_alg_template hifn_alg_templates[] = { | |||
2455 | { | 2457 | { |
2456 | .name = "cbc(aes)", .drv_name = "cbc-aes", .bsize = 16, | 2458 | .name = "cbc(aes)", .drv_name = "cbc-aes", .bsize = 16, |
2457 | .ablkcipher = { | 2459 | .ablkcipher = { |
2460 | .ivsize = HIFN_AES_IV_LENGTH, | ||
2458 | .min_keysize = AES_MIN_KEY_SIZE, | 2461 | .min_keysize = AES_MIN_KEY_SIZE, |
2459 | .max_keysize = AES_MAX_KEY_SIZE, | 2462 | .max_keysize = AES_MAX_KEY_SIZE, |
2460 | .setkey = hifn_setkey, | 2463 | .setkey = hifn_setkey, |