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 6401b0000..15552b8ea 100644
--- a/src/mac/hmac/hmac.cpp
+++ b/src/mac/hmac/hmac.cpp
@@ -32,7 +32,7 @@ void HMAC::final_result(byte mac[])
/*************************************************
* HMAC Key Schedule *
*************************************************/
-void HMAC::key(const byte key[], u32bit length)
+void HMAC::key_schedule(const byte key[], u32bit length)
{
hash->clear();
std::fill(i_key.begin(), i_key.end(), 0x36);