diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2004-03-09 12:46:29 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2004-03-09 12:46:29 +0000 |
commit | 1c501761103d21d7c6c186cd0f807e6c6aee6fad (patch) | |
tree | 16a009ac2d52c6bdd5c80c2c2354811fed43274e | |
parent | 78145b8d5542c849728e58699d5186662b7d99c6 (diff) | |
download | cryptopp-1c501761103d21d7c6c186cd0f807e6c6aee6fad.tar.gz |
base HMAC::AlgorithmName() on AlgorithmName() of hash function instead of StaticAlgorithmName()
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@152 57ff6487-cd31-0410-9ec3-f628ee90f5f0
-rw-r--r-- | hmac.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ public: {SetKey(key, length);} static std::string StaticAlgorithmName() {return std::string("HMAC(") + T::StaticAlgorithmName() + ")";} + std::string AlgorithmName() const {return std::string("HMAC(") + m_hash.AlgorithmName() + ")";} private: HashTransformation & AccessHash() {return m_hash;} |