summaryrefslogtreecommitdiffstats
path: root/old/botan/build/botan/hash_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'old/botan/build/botan/hash_id.h')
-rw-r--r--old/botan/build/botan/hash_id.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/old/botan/build/botan/hash_id.h b/old/botan/build/botan/hash_id.h
new file mode 100644
index 0000000..847d910
--- /dev/null
+++ b/old/botan/build/botan/hash_id.h
@@ -0,0 +1,24 @@
+/*
+* Hash Function Identification
+* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
+
+#ifndef BOTAN_HASHID_H__
+#define BOTAN_HASHID_H__
+
+#include <botan/secmem.h>
+#include <string>
+
+namespace Botan {
+
+/*
+* Return the values of various defined HashIDs
+*/
+BOTAN_DLL MemoryVector<byte> pkcs_hash_id(const std::string&);
+BOTAN_DLL byte ieee1363_hash_id(const std::string&);
+
+}
+
+#endif