include/beecrypt/ripemd160.h File Reference

RIPEMD-1160 hash function, headers. More...

#include "beecrypt/beecrypt.h"

Include dependency graph for ripemd160.h:

Go to the source code of this file.

Data Structures

struct  ripemd160Param
 Holds all the parameters necessary for the RIPEMD-160 algorithm. More...

Functions

BEECRYPTAPI void ripemd160Process (ripemd160Param *mp)
 This function performs the core of the RIPEMD-160 hash algorithm; it processes a block of 64 bytes.
BEECRYPTAPI int ripemd160Reset (ripemd160Param *mp)
 This function resets the parameter block so that it's ready for a new hash.
BEECRYPTAPI int ripemd160Update (ripemd160Param *mp, const byte *data, size_t size)
 This function should be used to pass successive blocks of data to be hashed.
BEECRYPTAPI int ripemd160Digest (ripemd160Param *mp, byte *digest)
 This function finishes the current hash computation and copies the digest value into digest.

Variables

BEECRYPTAPI const hashFunction ripemd160
 Holds the full API description of the RIPEMD-160 algorithm.


Detailed Description

RIPEMD-1160 hash function, headers.

Author:
Jeff Johnson <jbj@rpm5.org>

Bob Deblier <bob.deblier@telenet.be>


Function Documentation

int ripemd160Digest ( ripemd160Param mp,
byte digest 
)

This function finishes the current hash computation and copies the digest value into digest.

Parameters:
mp The hash function's parameter block.
digest The place to store the 20-byte digest.
Return values:
0 on success.

void ripemd160Process ( ripemd160Param mp  ) 

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

Parameters:
mp The hash function's parameter block.

int ripemd160Reset ( ripemd160Param mp  ) 

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

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

int ripemd160Update ( ripemd160Param mp,
const byte data,
size_t  size 
)

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

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


Variable Documentation

Holds the full API description of the RIPEMD-160 algorithm.


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