22#ifndef MBEDTLS_RIPEMD160_H
23#define MBEDTLS_RIPEMD160_H
25#if !defined(MBEDTLS_CONFIG_FILE)
28#include MBEDTLS_CONFIG_FILE
43#define MBEDTLS_ERR_RIPEMD160_HW_ACCEL_FAILED -0x0031
49#if !defined(MBEDTLS_RIPEMD160_ALT)
65#include "ripemd160_alt.h"
110 const unsigned char *input,
122 unsigned char output[20] );
133 const unsigned char data[64] );
135#if !defined(MBEDTLS_DEPRECATED_REMOVED)
136#if defined(MBEDTLS_DEPRECATED_WARNING)
137#define MBEDTLS_DEPRECATED __attribute__((deprecated))
139#define MBEDTLS_DEPRECATED
162 const unsigned char *input,
175 unsigned char output[20] );
187 const unsigned char data[64] );
189#undef MBEDTLS_DEPRECATED
203 unsigned char output[20] );
205#if !defined(MBEDTLS_DEPRECATED_REMOVED)
206#if defined(MBEDTLS_DEPRECATED_WARNING)
207#define MBEDTLS_DEPRECATED __attribute__((deprecated))
209#define MBEDTLS_DEPRECATED
222 unsigned char output[20] );
224#undef MBEDTLS_DEPRECATED
227#if defined(MBEDTLS_SELF_TEST)
234int mbedtls_ripemd160_self_test(
int verbose );
Configuration options (set of defines)
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_update(mbedtls_ripemd160_context *ctx, const unsigned char *input, size_t ilen)
RIPEMD-160 process buffer.
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_starts(mbedtls_ripemd160_context *ctx)
RIPEMD-160 context setup.
void 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_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.
void mbedtls_ripemd160(const unsigned char *input, size_t ilen, unsigned char output[20])
Output = RIPEMD-160( input buffer )
int mbedtls_ripemd160_starts_ret(mbedtls_ripemd160_context *ctx)
RIPEMD-160 context setup.
RIPEMD-160 context structure.