57#if !defined(MBEDTLS_CONFIG_FILE)
60#include MBEDTLS_CONFIG_FILE
66#define MBEDTLS_ERR_MD2_HW_ACCEL_FAILED -0x002B
72#if !defined(MBEDTLS_MD2_ALT)
164 const unsigned char *
input,
181 unsigned char output[16] );
197#if !defined(MBEDTLS_DEPRECATED_REMOVED)
198#if defined(MBEDTLS_DEPRECATED_WARNING)
199#define MBEDTLS_DEPRECATED __attribute__((deprecated))
201#define MBEDTLS_DEPRECATED
232 const unsigned char *
input,
249 unsigned char output[16] );
265#undef MBEDTLS_DEPRECATED
282 unsigned char output[16] );
284#if !defined(MBEDTLS_DEPRECATED_REMOVED)
285#if defined(MBEDTLS_DEPRECATED_WARNING)
286#define MBEDTLS_DEPRECATED __attribute__((deprecated))
288#define MBEDTLS_DEPRECATED
306 unsigned char output[16] );
308#undef MBEDTLS_DEPRECATED
311#if defined(MBEDTLS_SELF_TEST)
323int mbedtls_md2_self_test(
int verbose );
GLenum GLenum GLenum input
void mbedtls_md2_init(mbedtls_md2_context *ctx)
Initialize MD2 context.
MBEDTLS_DEPRECATED void mbedtls_md2_finish(mbedtls_md2_context *ctx, unsigned char output[16])
MD2 final digest.
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.
MBEDTLS_DEPRECATED void mbedtls_md2_process(mbedtls_md2_context *ctx)
MD2 process data block (internal use only)
void mbedtls_md2_free(mbedtls_md2_context *ctx)
Clear MD2 context.
#define MBEDTLS_DEPRECATED
MBEDTLS_DEPRECATED void mbedtls_md2(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD2( input buffer )
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.
int mbedtls_md2_update_ret(mbedtls_md2_context *ctx, const unsigned char *input, size_t ilen)
MD2 process buffer.
MBEDTLS_DEPRECATED void mbedtls_md2_starts(mbedtls_md2_context *ctx)
MD2 context setup.
MBEDTLS_DEPRECATED void mbedtls_md2_update(mbedtls_md2_context *ctx, const unsigned char *input, size_t ilen)
MD2 process buffer.