summaryrefslogtreecommitdiff
path: root/poly1305.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-07-06 09:23:37 -0400
committerGitHub <noreply@github.com>2018-07-06 09:23:37 -0400
commitb74a6f444568e59a7766d1e286f82d2ce3086dcd (patch)
tree97937fe23f742f6c352f39e206b7ce7d774ba358 /poly1305.cpp
parent6d9047b444731175e6ea9a447a3f0002685804be (diff)
downloadcryptopp-git-b74a6f444568e59a7766d1e286f82d2ce3086dcd.tar.gz
Add algorithm provider member function to Algorithm class
Diffstat (limited to 'poly1305.cpp')
-rw-r--r--poly1305.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/poly1305.cpp b/poly1305.cpp
index e23eef71..9836dcdd 100644
--- a/poly1305.cpp
+++ b/poly1305.cpp
@@ -12,6 +12,12 @@ NAMESPACE_BEGIN(CryptoPP)
#define CONSTANT_TIME_CARRY(a,b) ((a ^ ((a ^ b) | ((a - b) ^ b))) >> (sizeof(a) * 8 - 1))
template <class T>
+std::string Poly1305_Base<T>::AlgorithmProvider() const
+{
+ return m_cipher.AlgorithmProvider();
+}
+
+template <class T>
void Poly1305_Base<T>::UncheckedSetKey(const byte *key, unsigned int length, const NameValuePairs &params)
{
if (key && length)