mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-31 14:17:28 +01:00
Core/Shared: Remove unused functions
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -33,8 +33,6 @@ class HmacHash
|
||||
public:
|
||||
HmacHash(uint32 len, uint8 *seed);
|
||||
~HmacHash();
|
||||
void UpdateBigNumber(BigNumber* bn);
|
||||
void UpdateData(const uint8 *data, int length);
|
||||
void UpdateData(const std::string &str);
|
||||
void Finalize();
|
||||
uint8 *ComputeHash(BigNumber* bn);
|
||||
|
||||
@@ -31,7 +31,6 @@ class SHA1Hash
|
||||
SHA1Hash();
|
||||
~SHA1Hash();
|
||||
|
||||
void UpdateFinalizeBigNumbers(BigNumber* bn0, ...);
|
||||
void UpdateBigNumbers(BigNumber* bn0, ...);
|
||||
|
||||
void UpdateData(const uint8 *dta, int len);
|
||||
|
||||
Reference in New Issue
Block a user