summaryrefslogtreecommitdiff
path: root/hmac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hmac.cpp')
-rw-r--r--hmac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/hmac.cpp b/hmac.cpp
index 6fb9a02..aa97aa4 100644
--- a/hmac.cpp
+++ b/hmac.cpp
@@ -55,14 +55,14 @@ void HMAC_Base::Restart()
}
}
-void HMAC_Base::Update(const byte *input, unsigned int length)
+void HMAC_Base::Update(const byte *input, size_t length)
{
if (!m_innerHashKeyed)
KeyInnerHash();
AccessHash().Update(input, length);
}
-void HMAC_Base::TruncatedFinal(byte *mac, unsigned int size)
+void HMAC_Base::TruncatedFinal(byte *mac, size_t size)
{
ThrowIfInvalidTruncatedSize(size);