#include "beecrypt/beecrypt.h"
Go to the source code of this file.
Data Structures | |
struct | ripemd320Param |
Holds all the parameters necessary for the RIPEMD-160 algorithm. More... | |
Functions | |
BEECRYPTAPI void | ripemd320Process (ripemd320Param *mp) |
This function performs the core of the RIPEMD-160 hash algorithm; it processes a block of 64 bytes. | |
BEECRYPTAPI int | ripemd320Reset (ripemd320Param *mp) |
This function resets the parameter block so that it's ready for a new hash. | |
BEECRYPTAPI int | ripemd320Update (ripemd320Param *mp, const byte *data, size_t size) |
This function should be used to pass successive blocks of data to be hashed. | |
BEECRYPTAPI int | ripemd320Digest (ripemd320Param *mp, byte *digest) |
This function finishes the current hash computation and copies the digest value into digest. | |
Variables | |
BEECRYPTAPI const hashFunction | ripemd320 |
Holds the full API description of the RIPEMD-160 algorithm. |
int ripemd320Digest | ( | ripemd320Param * | 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 ripemd320Process | ( | ripemd320Param * | mp | ) |
This function performs the core of the RIPEMD-160 hash algorithm; it processes a block of 64 bytes.
mp | The hash function's parameter block. |
int ripemd320Reset | ( | ripemd320Param * | 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 ripemd320Update | ( | ripemd320Param * | 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. |
Holds the full API description of the RIPEMD-160 algorithm.