24 #ifndef MBEDTLS_RIPEMD160_H 25 #define MBEDTLS_RIPEMD160_H 27 #if !defined(MBEDTLS_CONFIG_FILE) 30 #include MBEDTLS_CONFIG_FILE 38 #define MBEDTLS_ERR_RIPEMD160_HW_ACCEL_FAILED -0x0031 44 #if !defined(MBEDTLS_RIPEMD160_ALT) 105 const unsigned char *input,
117 unsigned char output[20] );
128 const unsigned char data[64] );
130 #if !defined(MBEDTLS_DEPRECATED_REMOVED) 131 #if defined(MBEDTLS_DEPRECATED_WARNING) 132 #define MBEDTLS_DEPRECATED __attribute__((deprecated)) 134 #define MBEDTLS_DEPRECATED 157 const unsigned char *input,
170 unsigned char output[20] );
182 const unsigned char data[64] );
184 #undef MBEDTLS_DEPRECATED 198 unsigned char output[20] );
200 #if !defined(MBEDTLS_DEPRECATED_REMOVED) 201 #if defined(MBEDTLS_DEPRECATED_WARNING) 202 #define MBEDTLS_DEPRECATED __attribute__((deprecated)) 204 #define MBEDTLS_DEPRECATED 217 unsigned char output[20] );
219 #undef MBEDTLS_DEPRECATED int mbedtls_ripemd160_self_test(int verbose)
Checkup routine.
uint32_t state[5]
Definition: ripemd160.h:54
int mbedtls_ripemd160_ret(const unsigned char *input, size_t ilen, unsigned char output[20])
Output = RIPEMD-160( input buffer )
MBEDTLS_DEPRECATED void mbedtls_ripemd160_starts(mbedtls_ripemd160_context *ctx)
RIPEMD-160 context setup.
Configuration options (set of defines)
MBEDTLS_DEPRECATED void mbedtls_ripemd160_finish(mbedtls_ripemd160_context *ctx, unsigned char output[20])
RIPEMD-160 final digest.
RIPE MD-160 message digest.
int mbedtls_ripemd160_update_ret(mbedtls_ripemd160_context *ctx, const unsigned char *input, size_t ilen)
RIPEMD-160 process buffer.
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)
struct mbedtls_ripemd160_context mbedtls_ripemd160_context
RIPEMD-160 context structure.
#define MBEDTLS_DEPRECATED
Definition: ripemd160.h:204
int mbedtls_ripemd160_finish_ret(mbedtls_ripemd160_context *ctx, unsigned char output[20])
RIPEMD-160 final digest.
uint32_t total[2]
Definition: ripemd160.h:53
RIPEMD-160 context structure.
Definition: ripemd160.h:51
unsigned char buffer[64]
Definition: ripemd160.h:55
void mbedtls_ripemd160_clone(mbedtls_ripemd160_context *dst, const mbedtls_ripemd160_context *src)
Clone (the state of) an RIPEMD-160 context.
MBEDTLS_DEPRECATED void mbedtls_ripemd160_process(mbedtls_ripemd160_context *ctx, const unsigned char data[64])
RIPEMD-160 process data block (internal use only)
void mbedtls_ripemd160_init(mbedtls_ripemd160_context *ctx)
Initialize RIPEMD-160 context.
int mbedtls_ripemd160_starts_ret(mbedtls_ripemd160_context *ctx)
RIPEMD-160 context setup.
MBEDTLS_DEPRECATED void mbedtls_ripemd160_update(mbedtls_ripemd160_context *ctx, const unsigned char *input, size_t ilen)
RIPEMD-160 process buffer.
MBEDTLS_DEPRECATED void mbedtls_ripemd160(const unsigned char *input, size_t ilen, unsigned char output[20])
Output = RIPEMD-160( input buffer )