summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers/tomcrypt_hash.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-06 13:00:59 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-06 13:00:59 +0200
commitd12ecf68276ab0e57ea578d763f23b2143e57ed8 (patch)
tree9ddf4b21c9a918e4d97679a259ea6dcd9de742c7 /libtomcrypt/headers/tomcrypt_hash.h
parentb6d0f4da862e17344fca35db8d9ed0dce39e757f (diff)
downloadcryptodev-linux-d12ecf68276ab0e57ea578d763f23b2143e57ed8.tar.gz
cryptodev-linux-d12ecf68276ab0e57ea578d763f23b2143e57ed8.tar.xz
cryptodev-linux-d12ecf68276ab0e57ea578d763f23b2143e57ed8.zip
Added libtomcrypt
Diffstat (limited to 'libtomcrypt/headers/tomcrypt_hash.h')
-rw-r--r--libtomcrypt/headers/tomcrypt_hash.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libtomcrypt/headers/tomcrypt_hash.h b/libtomcrypt/headers/tomcrypt_hash.h
new file mode 100644
index 0000000..9c7af13
--- /dev/null
+++ b/libtomcrypt/headers/tomcrypt_hash.h
@@ -0,0 +1,13 @@
+/* ---- HASH FUNCTIONS ---- */
+
+int hash_is_valid(int idx);
+
+int hash_memory(int hash,
+ const unsigned char *in, unsigned long inlen,
+ unsigned char *out, unsigned long *outlen);
+int hash_memory_multi(int hash, unsigned char *out, unsigned long *outlen,
+ const unsigned char *in, unsigned long inlen, ...);
+
+/* $Source: /cvs/libtom/libtomcrypt/src/headers/tomcrypt_hash.h,v $ */
+/* $Revision: 1.22 $ */
+/* $Date: 2007/05/12 14:32:35 $ */