include/beecrypt/sha224.h File Reference

SHA-224 hash function, headers. More...

#include "beecrypt/beecrypt.h"

Include dependency graph for sha224.h:

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

Go to the source code of this file.

Data Structures

struct  sha224Param
 Holds all the parameters necessary for the SHA-224 algorithm. More...

Functions

BEECRYPTAPI void sha224Process (sha224Param *sp)
 This function performs the core of the SHA-224 hash algorithm; it processes a block of 64 bytes.
BEECRYPTAPI int sha224Reset (sha224Param *sp)
 This function resets the parameter block so that it's ready for a new hash.
BEECRYPTAPI int sha224Update (sha224Param *sp, const byte *data, size_t size)
 This function should be used to pass successive blocks of data to be hashed.
BEECRYPTAPI int sha224Digest (sha224Param *sp, byte *digest)

Variables

BEECRYPTAPI const hashFunction sha224
 Holds the full API description of the SHA-224 algorithm.


Detailed Description

SHA-224 hash function, headers.

Author:
Bob Deblier <bob.deblier@telenet.be>

Function Documentation

BEECRYPTAPI int sha224Digest ( sha224Param sp,
byte digest 
)

void sha224Process ( sha224Param sp  ) 

This function performs the core of the SHA-224 hash algorithm; it processes a block of 64 bytes.

Parameters:
sp The hash function's parameter block.

int sha224Reset ( sha224Param sp  ) 

This function resets the parameter block so that it's ready for a new hash.

Parameters:
sp The hash function's parameter block.
Return values:
0 on success.

int sha224Update ( sha224Param sp,
const byte data,
size_t  size 
)

This function should be used to pass successive blocks of data to be hashed.

Parameters:
sp The hash function's parameter block.
data 
size 
Return values:
0 on success.


Variable Documentation

Holds the full API description of the SHA-224 algorithm.


Generated on Fri Jun 19 13:38:57 2009 for BeeCrypt by  doxygen 1.5.8