diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-06 02:51:46 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-24 20:04:49 +0200 |
commit | 9d84f5fe384751085e07ed60b634359a0a3b9370 (patch) | |
tree | 648fe3338e2644182c2d1e296bf660aa1e310ac2 /cryptodev_int.h | |
parent | af2c2e1da1a898c8968281824ba8a4d9616670dc (diff) | |
download | kernel-crypto-9d84f5fe384751085e07ed60b634359a0a3b9370.tar.gz kernel-crypto-9d84f5fe384751085e07ed60b634359a0a3b9370.tar.xz kernel-crypto-9d84f5fe384751085e07ed60b634359a0a3b9370.zip |
Support IV size as large as <ncr.h> does
(removing the last dependency on <cryptodev.h> in the process).
Diffstat (limited to 'cryptodev_int.h')
-rw-r--r-- | cryptodev_int.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cryptodev_int.h b/cryptodev_int.h index b4059febbb0..a113ba0fd8b 100644 --- a/cryptodev_int.h +++ b/cryptodev_int.h @@ -12,6 +12,7 @@ #include <linux/moduleparam.h> #include <linux/scatterlist.h> #include <cryptodev.h> +#include <ncr.h> #define PFX "cryptodev: " #define dprintk(level,severity,format,a...) \ @@ -45,7 +46,7 @@ struct cipher_data struct crypto_ablkcipher* s; struct cryptodev_result *result; struct ablkcipher_request *request; - uint8_t iv[EALG_MAX_BLOCK_LEN]; + uint8_t iv[NCR_CIPHER_MAX_BLOCK_LEN]; } async; }; |