aboutsummaryrefslogtreecommitdiffstats
path: root/src/aead/aead.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/aead/aead.h')
-rw-r--r--src/aead/aead.h5
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