diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/cipher.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/cipher.c b/crypto/cipher.c index 56406a4a88d4..aebc4a2adc80 100644 --- a/crypto/cipher.c +++ b/crypto/cipher.c | |||
@@ -399,6 +399,8 @@ int crypto_init_cipher_ops(struct crypto_tfm *tfm) | |||
399 | case CRYPTO_TFM_MODE_ECB: | 399 | case CRYPTO_TFM_MODE_ECB: |
400 | ops->cit_encrypt = ecb_encrypt; | 400 | ops->cit_encrypt = ecb_encrypt; |
401 | ops->cit_decrypt = ecb_decrypt; | 401 | ops->cit_decrypt = ecb_decrypt; |
402 | ops->cit_encrypt_iv = nocrypt_iv; | ||
403 | ops->cit_decrypt_iv = nocrypt_iv; | ||
402 | break; | 404 | break; |
403 | 405 | ||
404 | case CRYPTO_TFM_MODE_CBC: | 406 | case CRYPTO_TFM_MODE_CBC: |