base HMAC::AlgorithmName() on AlgorithmName() of hash function instead of StaticAlgorithmName()
parent
9a0411b999
commit
e317188acc
|
|
@ -47,6 +47,7 @@ public:
|
||||||
{SetKey(key, length);}
|
{SetKey(key, length);}
|
||||||
|
|
||||||
static std::string StaticAlgorithmName() {return std::string("HMAC(") + T::StaticAlgorithmName() + ")";}
|
static std::string StaticAlgorithmName() {return std::string("HMAC(") + T::StaticAlgorithmName() + ")";}
|
||||||
|
std::string AlgorithmName() const {return std::string("HMAC(") + m_hash.AlgorithmName() + ")";}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
HashTransformation & AccessHash() {return m_hash;}
|
HashTransformation & AccessHash() {return m_hash;}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue