Data Structures | Typedefs | Functions | Variables
ripemd.h File Reference

Go to the source code of this file.

Data Structures

struct  RipeMd
 

Typedefs

typedef struct RipeMd RipeMd
 

Functions

WOLFSSL_API int wc_InitRipeMd (RipeMd *)
 This function initializes a ripemd structure by initializing ripemd’s digest, buffer, loLen and hiLen. More...
 
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. More...
 
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. More...
 

Variables

 C
 

Variable Documentation

◆ C

C
Initial value:
{
#endif
enum {
RIPEMD = 3,
RIPEMD_BLOCK_SIZE = 64,
RIPEMD_DIGEST_SIZE = 20,
RIPEMD_PAD_SIZE = 56
}