diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-10-26 03:13:06 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-10-26 03:13:06 -0400 |
commit | 8da2b91cbaf01640e6330e5dc6e858007da70945 (patch) | |
tree | 3e6b9bff02ac975c02e6bf820b88ea9d2713c0fa /chacha.cpp | |
parent | 76ab8ffa4b86710766dd1ba861deeccc261ffdcf (diff) | |
download | cryptopp-git-8da2b91cbaf01640e6330e5dc6e858007da70945.tar.gz |
Add ChaCha AlgorithmName override
Diffstat (limited to 'chacha.cpp')
-rw-r--r-- | chacha.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -32,6 +32,11 @@ void ChaCha_TestInstantiations() }
#endif
+std::string ChaCha_Policy::AlgorithmName() const
+{
+ return std::string("ChaCha")+IntToString(m_rounds);
+}
+
std::string ChaCha_Policy::AlgorithmProvider() const
{
#if (CRYPTOPP_SSE2_INTRIN_AVAILABLE || CRYPTOPP_SSE2_ASM_AVAILABLE)
|