summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/tools/crypto/cryptotest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/crypto/cryptotest.c b/tools/tools/crypto/cryptotest.c
index 13c52dd..5f5e450 100644
--- a/tools/tools/crypto/cryptotest.c
+++ b/tools/tools/crypto/cryptotest.c
@@ -250,7 +250,7 @@ runtest(struct alg *alg, int count, int size, u_long cmd, struct timeval *tv)
char *cleartext, *ciphertext, *originaltext;
struct session2_op sop;
struct crypt_op cop;
- char iv[8];
+ char iv[EALG_MAX_BLOCK_LEN];
bzero(&sop, sizeof(sop));
if (!alg->ishash) {
OpenPOWER on IntegriCloud