aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2022-10-24 16:52:24 +0100
committerMichael Brown <mcb30@ipxe.org>2022-10-25 13:21:28 +0100
commit8e478e648fb68ac6f07e4e5cd80a5c1fefcb1cf5 (patch)
tree59d27d4c71ed6c92b24d7fd6e007ed16e6379399 /src/crypto
parent52f72d298abd81a6102ddddf2fff4918e4b077ce (diff)
downloadipxe-8e478e648fb68ac6f07e4e5cd80a5c1fefcb1cf5.tar.gz
[crypto] Allow initialisation vector length to vary from cipher blocksize
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/crypto_null.c3
1 files changed, 2 insertions, 1 deletions
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 */
}