22 #ifndef MBEDTLS_RIPEMD160_H
23 #define MBEDTLS_RIPEMD160_H
35 #if !defined(MBEDTLS_RIPEMD160_ALT)
42 typedef struct mbedtls_ripemd160_context
48 mbedtls_ripemd160_context;
51 #include "ripemd160_alt.h"
75 const mbedtls_ripemd160_context *src );
96 const unsigned char *input,
108 unsigned char output[20] );
119 const unsigned char data[64] );
132 unsigned char output[20] );
134 #if defined(MBEDTLS_SELF_TEST)
int mbedtls_ripemd160_self_test(int verbose)
Checkup routine.
#define MBEDTLS_PRIVATE(member)
int mbedtls_ripemd160_finish(mbedtls_ripemd160_context *ctx, unsigned char output[20])
RIPEMD-160 final digest.
void mbedtls_ripemd160_free(mbedtls_ripemd160_context *ctx)
Clear RIPEMD-160 context.
int mbedtls_internal_ripemd160_process(mbedtls_ripemd160_context *ctx, const unsigned char data[64])
RIPEMD-160 process data block (internal use only)
Macro wrapper for struct's memebrs.
Build-time configuration info.
int mbedtls_ripemd160_update(mbedtls_ripemd160_context *ctx, const unsigned char *input, size_t ilen)
RIPEMD-160 process buffer.
int mbedtls_ripemd160_starts(mbedtls_ripemd160_context *ctx)
RIPEMD-160 context setup.
void mbedtls_ripemd160_clone(mbedtls_ripemd160_context *dst, const mbedtls_ripemd160_context *src)
Clone (the state of) an RIPEMD-160 context.
void mbedtls_ripemd160_init(mbedtls_ripemd160_context *ctx)
Initialize RIPEMD-160 context.
int mbedtls_ripemd160(const unsigned char *input, size_t ilen, unsigned char output[20])
Output = RIPEMD-160( input buffer )