BeeCrypt 4.2.1
ripemd160.h File Reference

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

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

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

Variables

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

Detailed Description

RIPEMD-160 hash function, headers.

Author
Jeff Johnson jbj@r.nosp@m.pm5..nosp@m.org
Bob Deblier bob.d.nosp@m.ebli.nosp@m.er@te.nosp@m.lene.nosp@m.t.be

Function Documentation

◆ ripemd160Digest()

int ripemd160Digest ( ripemd160Param * mp,
byte * digest )

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

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

◆ ripemd160Process()

void ripemd160Process ( ripemd160Param * mp)

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

Parameters
mpThe hash function's parameter block.

References BEECRYPTAPI.

◆ ripemd160Reset()

int ripemd160Reset ( ripemd160Param * mp)

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

Parameters
mpThe hash function's parameter block.
Return values
0on success.

References BEECRYPTAPI.

◆ ripemd160Update()

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
mpThe hash function's parameter block.
data
size
Return values
0on success.

References BEECRYPTAPI.

Variable Documentation

◆ ripemd160

const hashFunction ripemd160
extern

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