Main Page   Compound List   File List   Compound Members   File Members  

hasher_t Struct Reference

#include <hasher.h>

Collaboration diagram for hasher_t:

Collaboration graph
[legend]
List of all members.

Public Attributes

void(* init_ )(void *)
void(* update_ )(void *, const uns8 *, uns32)
void(* final_ )(uns8 *, void *)
void(* init )(hasher_t *H)
void(* update )(hasher_t *H, const uns8 *data, uns32 len)
void(* final )(hasher_t *H, uns8 *d)
void * ctx
int len
hash_t algo
hasher_retcode err

Member Data Documentation

hash_t hasher_t::algo
 

Algorithm being used for this hasher

void* hasher_t::ctx
 

The digest algorithm's context structure

hasher_retcode hasher_t::err
 

Stored error code

See also:
hasher_ret_msg

void(* hasher_t::final)(hasher_t *H, uns8 *d)
 

Finalizes the state and

See also:
hasher_final

void(* hasher_t::final_)(uns8*, void*)
 

Internal use only Finalize the digest context and output the result

See also:
md5_final , sha1_final , sha256_final , sha384_final , sha512_final , ripemd160_final

void(* hasher_t::init)(hasher_t *H)
 

Initialize the hasher pseudo-object

See also:
hasher_init

void(* hasher_t::init_)(void*)
 

Internal use only Initialize the digest context

See also:
md5_init , sha1_init , sha256_init , sha384_init , sha512_init , ripemd160_init

int hasher_t::len
 

Length of the final output

See also:
hasher_final

void(* hasher_t::update)(hasher_t *H, const uns8 *data, uns32 len)
 

Updates the hasher pseudo-object's state

See also:
hasher_update

void(* hasher_t::update_)(void*, const uns8*, uns32)
 

Internal use only Update the digest context with input data

See also:
md5_update , sha1_update , sha256_update , sha384_update , sha512_update , ripemd160_update


The documentation for this struct was generated from the following file:
GPL