BeeCrypt
4.2.1
|
RIPEMD-1128 hash function, headers. More...
#include "beecrypt/beecrypt.h"
Go to the source code of this file.
Data Structures | |
struct | ripemd128Param |
Holds all the parameters necessary for the RIPEMD-128 algorithm. More... | |
Functions | |
void | ripemd128Process (ripemd128Param *mp) |
This function performs the core of the RIPEMD-128 hash algorithm; it processes a block of 64 bytes. More... | |
int | ripemd128Reset (ripemd128Param *mp) |
This function resets the parameter block so that it's ready for a new hash. More... | |
int | ripemd128Update (ripemd128Param *mp, const byte *data, size_t size) |
This function should be used to pass successive blocks of data to be hashed. More... | |
int | ripemd128Digest (ripemd128Param *mp, byte *digest) |
This function finishes the current hash computation and copies the digest value into digest. More... | |
Variables | |
const hashFunction | ripemd128 |
Holds the full API description of the RIPEMD-128 algorithm. More... | |
RIPEMD-1128 hash function, headers.
int ripemd128Digest | ( | ripemd128Param * | mp, |
byte * | digest | ||
) |
This function finishes the current hash computation and copies the digest value into digest.
mp | The hash function's parameter block. |
digest | The place to store the 20-byte digest. |
0 | on success. |
void ripemd128Process | ( | ripemd128Param * | mp) |
This function performs the core of the RIPEMD-128 hash algorithm; it processes a block of 64 bytes.
mp | The hash function's parameter block. |
int ripemd128Reset | ( | ripemd128Param * | mp) |
This function resets the parameter block so that it's ready for a new hash.
mp | The hash function's parameter block. |
0 | on success. |
int ripemd128Update | ( | ripemd128Param * | mp, |
const byte * | data, | ||
size_t | size | ||
) |
This function should be used to pass successive blocks of data to be hashed.
mp | The hash function's parameter block. |
data | |
size |
0 | on success. |
ripemd128 |
Holds the full API description of the RIPEMD-128 algorithm.