aboutsummaryrefslogtreecommitdiffstats
path: root/include/hash_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hash_id.h')
-rw-r--r--include/hash_id.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/hash_id.h b/include/hash_id.h
new file mode 100644
index 000000000..798e9579f
--- /dev/null
+++ b/include/hash_id.h
@@ -0,0 +1,22 @@
+/*************************************************
+* Hash Function Identification Header File *
+* (C) 1999-2006 The Botan Project *
+*************************************************/
+
+#ifndef BOTAN_HASHID_H__
+#define BOTAN_HASHID_H__
+
+#include <botan/secmem.h>
+#include <string>
+
+namespace Botan {
+
+/*************************************************
+* Return the values of various defined HashIDs *
+*************************************************/
+MemoryVector<byte> pkcs_hash_id(const std::string&);
+byte ieee1363_hash_id(const std::string&);
+
+}
+
+#endif