From b74a6f444568e59a7766d1e286f82d2ce3086dcd Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 6 Jul 2018 09:23:37 -0400 Subject: Add algorithm provider member function to Algorithm class --- eax.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'eax.h') 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;} -- cgit v1.2.1