diff --git a/tools/tools/crypto/cryptotest.c b/tools/tools/crypto/cryptotest.c index 13c52dd5f86b..5f5e450e3256 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) {