Main Page   Compound List   File List   Compound Members   File Members  

sha256.h File Reference

#include "hashcom.h"

Include dependency graph for sha256.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  sha256_context

Defines

#define SHA256_SMALL   0
#define SHA256_DIGEST_SIZE   (8*sizeof(uns32))

Functions

void sha256_init (sha256_context *c)
void sha256_update (sha256_context *c, uns8 *input, unsigned int inLen)
void sha256_final (uns8 *digest, sha256_context *c)


Define Documentation

#define SHA256_DIGEST_SIZE   (8*sizeof(uns32))
 

#define SHA256_SMALL   0
 

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


Function Documentation

void sha256_final ( uns8 * digest,
sha256_context * c )
 

void sha256_init ( sha256_context * c )
 

void sha256_update ( sha256_context * c,
uns8 * input,
unsigned int inLen )
 



OpenSource