30#if !defined(MBEDTLS_CONFIG_FILE)
33#include MBEDTLS_CONFIG_FILE
44#define MBEDTLS_ERR_MD2_HW_ACCEL_FAILED -0x002B
50#if !defined(MBEDTLS_MD2_ALT)
142 const unsigned char *input,
159 unsigned char output[16] );
175#if !defined(MBEDTLS_DEPRECATED_REMOVED)
176#if defined(MBEDTLS_DEPRECATED_WARNING)
177#define MBEDTLS_DEPRECATED __attribute__((deprecated))
179#define MBEDTLS_DEPRECATED
210 const unsigned char *input,
227 unsigned char output[16] );
243#undef MBEDTLS_DEPRECATED
260 unsigned char output[16] );
262#if !defined(MBEDTLS_DEPRECATED_REMOVED)
263#if defined(MBEDTLS_DEPRECATED_WARNING)
264#define MBEDTLS_DEPRECATED __attribute__((deprecated))
266#define MBEDTLS_DEPRECATED
284 unsigned char output[16] );
286#undef MBEDTLS_DEPRECATED
289#if defined(MBEDTLS_SELF_TEST)
301int mbedtls_md2_self_test(
int verbose );
Configuration options (set of defines)
void mbedtls_md2_finish(mbedtls_md2_context *ctx, unsigned char output[16])
MD2 final digest.
void mbedtls_md2_init(mbedtls_md2_context *ctx)
Initialize MD2 context.
void mbedtls_md2_starts(mbedtls_md2_context *ctx)
MD2 context setup.
void mbedtls_md2_process(mbedtls_md2_context *ctx)
MD2 process data block (internal use only)
void mbedtls_md2_update(mbedtls_md2_context *ctx, const unsigned char *input, size_t ilen)
MD2 process buffer.
void mbedtls_md2_clone(mbedtls_md2_context *dst, const mbedtls_md2_context *src)
Clone (the state of) an MD2 context.
int mbedtls_internal_md2_process(mbedtls_md2_context *ctx)
MD2 process data block (internal use only)
int mbedtls_md2_finish_ret(mbedtls_md2_context *ctx, unsigned char output[16])
MD2 final digest.
void mbedtls_md2_free(mbedtls_md2_context *ctx)
Clear MD2 context.
int mbedtls_md2_ret(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD2( input buffer )
int mbedtls_md2_starts_ret(mbedtls_md2_context *ctx)
MD2 context setup.
void mbedtls_md2(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD2( input buffer )
int mbedtls_md2_update_ret(mbedtls_md2_context *ctx, const unsigned char *input, size_t ilen)
MD2 process buffer.