29#if !defined(MBEDTLS_CONFIG_FILE)
32#include MBEDTLS_CONFIG_FILE
44#define MBEDTLS_ERR_MD5_HW_ACCEL_FAILED -0x002F
50#if !defined(MBEDTLS_MD5_ALT)
141 const unsigned char *input,
158 unsigned char output[16] );
174 const unsigned char data[64] );
176#if !defined(MBEDTLS_DEPRECATED_REMOVED)
177#if defined(MBEDTLS_DEPRECATED_WARNING)
178#define MBEDTLS_DEPRECATED __attribute__((deprecated))
180#define MBEDTLS_DEPRECATED
211 const unsigned char *input,
228 unsigned char output[16] );
244 const unsigned char data[64] );
246#undef MBEDTLS_DEPRECATED
265 unsigned char output[16] );
267#if !defined(MBEDTLS_DEPRECATED_REMOVED)
268#if defined(MBEDTLS_DEPRECATED_WARNING)
269#define MBEDTLS_DEPRECATED __attribute__((deprecated))
271#define MBEDTLS_DEPRECATED
289 unsigned char output[16] );
291#undef MBEDTLS_DEPRECATED
294#if defined(MBEDTLS_SELF_TEST)
306int mbedtls_md5_self_test(
int verbose );
Configuration options (set of defines)
void mbedtls_md5_starts(mbedtls_md5_context *ctx)
MD5 context setup.
void mbedtls_md5(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD5( input buffer )
void mbedtls_md5_clone(mbedtls_md5_context *dst, const mbedtls_md5_context *src)
Clone (the state of) an MD5 context.
int mbedtls_internal_md5_process(mbedtls_md5_context *ctx, const unsigned char data[64])
MD5 process data block (internal use only)
void mbedtls_md5_process(mbedtls_md5_context *ctx, const unsigned char data[64])
MD5 process data block (internal use only)
void mbedtls_md5_free(mbedtls_md5_context *ctx)
Clear MD5 context.
int mbedtls_md5_ret(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD5( input buffer )
int mbedtls_md5_starts_ret(mbedtls_md5_context *ctx)
MD5 context setup.
void mbedtls_md5_finish(mbedtls_md5_context *ctx, unsigned char output[16])
MD5 final digest.
void mbedtls_md5_init(mbedtls_md5_context *ctx)
Initialize MD5 context.
int mbedtls_md5_update_ret(mbedtls_md5_context *ctx, const unsigned char *input, size_t ilen)
MD5 process buffer.
void mbedtls_md5_update(mbedtls_md5_context *ctx, const unsigned char *input, size_t ilen)
MD5 process buffer.
int mbedtls_md5_finish_ret(mbedtls_md5_context *ctx, unsigned char output[16])
MD5 final digest.
MD5 message digest algorithm (hash function)