aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Cryptography/HMACSHA1.cpp
diff options
context:
space:
mode:
authorleak <leak@bitmx.net>2012-03-04 15:18:34 +0100
committerleak <leak@bitmx.net>2012-03-04 15:19:53 +0100
commit33a04897dea56ec8d6f60c5cfa12aa3688a7c694 (patch)
treea122944c2e57679d52a603168b602c3c17edfd6b /src/server/shared/Cryptography/HMACSHA1.cpp
parent4029c2354739a42388b9d3cb4a1f3cdf6a3bff86 (diff)
Core/Shared: Remove unused functions
Diffstat (limited to 'src/server/shared/Cryptography/HMACSHA1.cpp')
-rwxr-xr-xsrc/server/shared/Cryptography/HMACSHA1.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/server/shared/Cryptography/HMACSHA1.cpp b/src/server/shared/Cryptography/HMACSHA1.cpp
index 447d0b58efc..c9de1191464 100755
--- a/src/server/shared/Cryptography/HMACSHA1.cpp
+++ b/src/server/shared/Cryptography/HMACSHA1.cpp
@@ -31,19 +31,9 @@ HmacHash::~HmacHash()
HMAC_CTX_cleanup(&m_ctx);
}
-void HmacHash::UpdateBigNumber(BigNumber* bn)
-{
- UpdateData(bn->AsByteArray(), bn->GetNumBytes());
-}
-
-void HmacHash::UpdateData(const uint8 *data, int length)
-{
- HMAC_Update(&m_ctx, data, length);
-}
-
void HmacHash::UpdateData(const std::string &str)
{
- UpdateData((uint8 const*)str.c_str(), str.length());
+ HMAC_Update(&m_ctx, (uint8 const*)str.c_str(), str.length());
}
void HmacHash::Finalize()