Main Page   Compound List   File List   Compound Members   File Members  

sha1.h File Reference

#include "hashcom.h"

Include dependency graph for sha1.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

struct  sha1_context

Defines

#define SHA1_SMALL   0
#define SHA1_DIGEST_SIZE   20

Functions

void sha1_init (sha1_context *c)
void sha1_update (sha1_context *c, uns8 *input, unsigned int inLen)
void sha1_final (uns8 *digest, sha1_context *c)


Define Documentation

#define SHA1_DIGEST_SIZE   20
 

#define SHA1_SMALL   0
 

reference: http://csrc.nist.gov/publications/fips/fips180-1/fips180-1.pdf


Function Documentation

void sha1_final uns8   digest,
sha1_context   c
 

void sha1_init sha1_context   c
 

void sha1_update sha1_context   c,
uns8   input,
unsigned int    inLen
 

GPL