aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac/hmac/hmac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac/hmac/hmac.cpp')
-rw-r--r--src/mac/hmac/hmac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mac/hmac/hmac.cpp b/src/mac/hmac/hmac.cpp
index c842a944d..dfd800426 100644
--- a/src/mac/hmac/hmac.cpp
+++ b/src/mac/hmac/hmac.cpp
@@ -34,7 +34,7 @@ void HMAC::final_result(byte mac[])
/*
* HMAC Key Schedule
*/
-void HMAC::key_schedule(const byte key[], u32bit length)
+void HMAC::key_schedule(const byte key[], size_t length)
{
hash->clear();
std::fill(i_key.begin(), i_key.end(), 0x36);