TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tomcrypt_hash.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  Hash_state
 
struct  ltc_hash_descriptor
 

Macros

#define HASH_PROCESS(func_name, compress_name, state_var, block_size)
 

Typedefs

typedef union Hash_state hash_state
 

Functions

int find_hash (const char *name)
 
int find_hash_id (unsigned char ID)
 
int find_hash_oid (const unsigned long *ID, unsigned long IDlen)
 
int find_hash_any (const char *name, int digestlen)
 
int register_hash (const struct ltc_hash_descriptor *hash)
 
int unregister_hash (const struct ltc_hash_descriptor *hash)
 
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_filehandle (int hash, FILE *in, unsigned char *out, unsigned long *outlen)
 
int hash_file (int hash, const char *fname, unsigned char *out, unsigned long *outlen)
 

Variables

struct ltc_hash_descriptor hash_descriptor []
 

Macro Definition Documentation

#define HASH_PROCESS (   func_name,
  compress_name,
  state_var,
  block_size 
)

Typedef Documentation

typedef union Hash_state hash_state

Function Documentation

int find_hash ( const char *  name)
int find_hash_any ( const char *  name,
int  digestlen 
)
int find_hash_id ( unsigned char  ID)
int find_hash_oid ( const unsigned long *  ID,
unsigned long  IDlen 
)
int hash_file ( int  hash,
const char *  fname,
unsigned char *  out,
unsigned long *  outlen 
)
int hash_filehandle ( int  hash,
FILE *  in,
unsigned char *  out,
unsigned long *  outlen 
)
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 register_hash ( const struct ltc_hash_descriptor hash)
int unregister_hash ( const struct ltc_hash_descriptor hash)

Variable Documentation

struct ltc_hash_descriptor hash_descriptor[]