From 8e478e648fb68ac6f07e4e5cd80a5c1fefcb1cf5 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 24 Oct 2022 16:52:24 +0100 Subject: [crypto] Allow initialisation vector length to vary from cipher blocksize Signed-off-by: Michael Brown --- src/crypto/crypto_null.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/crypto') diff --git a/src/crypto/crypto_null.c b/src/crypto/crypto_null.c index 91077177c..ef6041b5b 100644 --- a/src/crypto/crypto_null.c +++ b/src/crypto/crypto_null.c @@ -61,7 +61,8 @@ int cipher_null_setkey ( void *ctx __unused, const void *key __unused, return 0; } -void cipher_null_setiv ( void *ctx __unused, const void *iv __unused ) { +void cipher_null_setiv ( void *ctx __unused, const void *iv __unused, + size_t ivlen __unused ) { /* Do nothing */ } -- cgit v1.2.3-55-g7522