summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers/tomcrypt_hash.h
blob: 417e4812440da86b9feebf50cfe6549effb23c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ---- 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, ...);

int hash_get_oid(int hash, oid_st* st);