49#ifndef MBEDTLS_RIPEMD160_H
50#define MBEDTLS_RIPEMD160_H
52#if !defined(MBEDTLS_CONFIG_FILE)
55#include MBEDTLS_CONFIG_FILE
63#define MBEDTLS_ERR_RIPEMD160_HW_ACCEL_FAILED -0x0031
69#if !defined(MBEDTLS_RIPEMD160_ALT)
130 const unsigned char *
input,
142 unsigned char output[20] );
153 const unsigned char data[64] );
155#if !defined(MBEDTLS_DEPRECATED_REMOVED)
156#if defined(MBEDTLS_DEPRECATED_WARNING)
157#define MBEDTLS_DEPRECATED __attribute__((deprecated))
159#define MBEDTLS_DEPRECATED
182 const unsigned char *
input,
195 unsigned char output[20] );
207 const unsigned char data[64] );
209#undef MBEDTLS_DEPRECATED
223 unsigned char output[20] );
225#if !defined(MBEDTLS_DEPRECATED_REMOVED)
226#if defined(MBEDTLS_DEPRECATED_WARNING)
227#define MBEDTLS_DEPRECATED __attribute__((deprecated))
229#define MBEDTLS_DEPRECATED
242 unsigned char output[20] );
244#undef MBEDTLS_DEPRECATED
247#if defined(MBEDTLS_SELF_TEST)
254int mbedtls_ripemd160_self_test(
int verbose );
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum GLenum GLenum input
RIPE MD-160 message digest.
MBEDTLS_DEPRECATED void mbedtls_ripemd160(const unsigned char *input, size_t ilen, unsigned char output[20])
Output = RIPEMD-160( input buffer )
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_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_internal_ripemd160_process(mbedtls_ripemd160_context *ctx, const unsigned char data[64])
RIPEMD-160 process data block (internal use only)
void mbedtls_ripemd160_free(mbedtls_ripemd160_context *ctx)
Clear RIPEMD-160 context.
MBEDTLS_DEPRECATED void mbedtls_ripemd160_starts(mbedtls_ripemd160_context *ctx)
RIPEMD-160 context setup.
int mbedtls_ripemd160_update_ret(mbedtls_ripemd160_context *ctx, const unsigned char *input, size_t ilen)
RIPEMD-160 process buffer.
int mbedtls_ripemd160_ret(const unsigned char *input, size_t ilen, unsigned char output[20])
Output = RIPEMD-160( input buffer )
int mbedtls_ripemd160_finish_ret(mbedtls_ripemd160_context *ctx, unsigned char output[20])
RIPEMD-160 final digest.
MBEDTLS_DEPRECATED void mbedtls_ripemd160_finish(mbedtls_ripemd160_context *ctx, unsigned char output[20])
RIPEMD-160 final digest.
#define MBEDTLS_DEPRECATED
MBEDTLS_DEPRECATED void mbedtls_ripemd160_update(mbedtls_ripemd160_context *ctx, const unsigned char *input, size_t ilen)
RIPEMD-160 process buffer.
int mbedtls_ripemd160_starts_ret(mbedtls_ripemd160_context *ctx)
RIPEMD-160 context setup.
RIPEMD-160 context structure.