Main Page   Compound List   File List   Compound Members   File Members  

sha2.h File Reference

#include "mainDefs.h"
#include "hashcom.h"
#include <string.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 COMMENT
#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 COMMENT
 

Value:

A contribution to the open-source movement. Jean-Luc Cooke <jlcooke@certainkey.com> CertainKey Inc. Ottawa Ontario Canada

Created: July 20th, 2001

The following program code is released under the GPL license http://www.gnu.org/copyleft/gpl.html

#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