summaryrefslogtreecommitdiffstats
path: root/cryptodev_int.h
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-06 02:51:46 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-23 19:53:37 +0200
commit3115860ff33d01ac941839392386612225794e26 (patch)
tree805e38f7562d8b903ab3f7cfd88dfaa70d578317 /cryptodev_int.h
parenta7befd9b8fba6f6d777f7d8436154dc62f1fa652 (diff)
downloadcryptodev-linux-3115860ff33d01ac941839392386612225794e26.tar.gz
cryptodev-linux-3115860ff33d01ac941839392386612225794e26.tar.xz
cryptodev-linux-3115860ff33d01ac941839392386612225794e26.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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cryptodev_int.h b/cryptodev_int.h
index b4059fe..a113ba0 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;
};