diff options
Diffstat (limited to 'src/aead/aead.h')
-rw-r--r-- | src/aead/aead.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/aead/aead.h b/src/aead/aead.h index e0e07e8ab..1daa67f59 100644 --- a/src/aead/aead.h +++ b/src/aead/aead.h @@ -94,6 +94,11 @@ class AEAD_Mode : public SymmetricAlgorithm virtual ~AEAD_Mode() {} }; +/** +* Get an AEAD mode by name (eg "AES-128/GCM" or "Serpent/EAX") +*/ +BOTAN_DLL AEAD_Mode* get_aead(const std::string& name, Cipher_Dir direction); + } #endif |