Main Page   Compound List   File List   Compound Members   File Members  

sha2.h File Reference

#include "hashcom.h"

Include dependency graph for sha2.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  sha2_context

Defines

#define SHA2_SMALL   0
#define SHA2_DIGEST_SIZE   (8*sizeof(uns64))

Functions

void sha2_init (sha2_context *c)
void sha2_update (sha2_context *c, uns8 *input, unsigned int inLen)
void sha2_final (uns8 *digest, sha2_context *c)


Define Documentation

#define SHA2_DIGEST_SIZE   (8*sizeof(uns64))
 

#define SHA2_SMALL   0
 

reference: http://csrc.nist.gov/encryption/shs/dfips-180-2.pdf


Function Documentation

void sha2_final ( uns8 * digest,
sha2_context * c )
 

void sha2_init ( sha2_context * c )
 

void sha2_update ( sha2_context * c,
uns8 * input,
unsigned int inLen )
 



Confidential