summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/src/mac/blake2
diff options
context:
space:
mode:
Diffstat (limited to 'libtomcrypt/src/mac/blake2')
-rw-r--r--libtomcrypt/src/mac/blake2/blake2bmac_file.c5
-rw-r--r--libtomcrypt/src/mac/blake2/blake2smac_file.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/libtomcrypt/src/mac/blake2/blake2bmac_file.c b/libtomcrypt/src/mac/blake2/blake2bmac_file.c
index 64c9e4d..c1e9c6b 100644
--- a/libtomcrypt/src/mac/blake2/blake2bmac_file.c
+++ b/libtomcrypt/src/mac/blake2/blake2bmac_file.c
@@ -23,6 +23,11 @@
int blake2bmac_file(const char *fname, const unsigned char *key, unsigned long keylen, unsigned char *mac, unsigned long *maclen)
{
#ifdef LTC_NO_FILE
+ LTC_UNUSED_PARAM(fname);
+ LTC_UNUSED_PARAM(key);
+ LTC_UNUSED_PARAM(keylen);
+ LTC_UNUSED_PARAM(mac);
+ LTC_UNUSED_PARAM(maclen);
return CRYPT_NOP;
#else
blake2bmac_state st;
diff --git a/libtomcrypt/src/mac/blake2/blake2smac_file.c b/libtomcrypt/src/mac/blake2/blake2smac_file.c
index c5248a2..1ac6679 100644
--- a/libtomcrypt/src/mac/blake2/blake2smac_file.c
+++ b/libtomcrypt/src/mac/blake2/blake2smac_file.c
@@ -23,6 +23,11 @@
int blake2smac_file(const char *fname, const unsigned char *key, unsigned long keylen, unsigned char *mac, unsigned long *maclen)
{
#ifdef LTC_NO_FILE
+ LTC_UNUSED_PARAM(fname);
+ LTC_UNUSED_PARAM(key);
+ LTC_UNUSED_PARAM(keylen);
+ LTC_UNUSED_PARAM(mac);
+ LTC_UNUSED_PARAM(maclen);
return CRYPT_NOP;
#else
blake2smac_state st;