summaryrefslogtreecommitdiff
path: root/eax.h
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 /eax.h
parent6d9047b444731175e6ea9a447a3f0002685804be (diff)
downloadcryptopp-git-b74a6f444568e59a7766d1e286f82d2ce3086dcd.tar.gz
Add algorithm provider member function to Algorithm class
Diffstat (limited to 'eax.h')
-rw-r--r--eax.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/eax.h b/eax.h
index e3576363..9d4edfaa 100644
--- a/eax.h
+++ b/eax.h
@@ -21,6 +21,8 @@ public:
// AuthenticatedSymmetricCipher
std::string AlgorithmName() const
{return GetMAC().GetCipher().AlgorithmName() + std::string("/EAX");}
+ std::string AlgorithmProvider() const
+ {return GetMAC().GetCipher().AlgorithmProvider();}
size_t MinKeyLength() const
{return GetMAC().MinKeyLength();}
size_t MaxKeyLength() const
@@ -76,6 +78,8 @@ class EAX_Final : public EAX_Base
public:
static std::string StaticAlgorithmName()
{return T_BlockCipher::StaticAlgorithmName() + std::string("/EAX");}
+ std::string AlgorithmProvider() const
+ {return m_cmac.AlgorithmProvider();}
bool IsForwardTransformation() const
{return T_IsEncryption;}