Go to the source code of this file.
|
|
typedef struct RipeMd | RipeMd |
| |
|
| WOLFSSL_API int | wc_InitRipeMd (RipeMd *) |
| | This function initializes a ripemd structure by initializing ripemd’s digest, buffer, loLen and hiLen.
|
| |
| WOLFSSL_API int | wc_RipeMdUpdate (RipeMd *, const byte *, word32) |
| | This function generates the RipeMd digest of the data input and stores the result in the ripemd->digest buffer. After running wc_RipeMdUpdate, one should compare the generated ripemd->digest to a known authentication tag to verify the authenticity of a message.
|
| |
| WOLFSSL_API int | wc_RipeMdFinal (RipeMd *, byte *) |
| | This function copies the computed digest into hash. If there is a partial unhashed block, this method will pad the block with 0s, and include that block’s round in the digest before copying to hash. State of ripemd is reset.
|
| |
Initial value:{
#endif
enum {
RIPEMD = 3,
RIPEMD_BLOCK_SIZE = 64,
RIPEMD_DIGEST_SIZE = 20,
RIPEMD_PAD_SIZE = 56
}