30#if !defined(MBEDTLS_CONFIG_FILE)
33#include MBEDTLS_CONFIG_FILE
45#define MBEDTLS_ERR_MD4_HW_ACCEL_FAILED -0x002D
51#if !defined(MBEDTLS_MD4_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_md4_self_test(
int verbose );
Configuration options (set of defines)
int mbedtls_md4_ret(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD4( input buffer )
int mbedtls_md4_starts_ret(mbedtls_md4_context *ctx)
MD4 context setup.
void mbedtls_md4(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD4( input buffer )
void mbedtls_md4_free(mbedtls_md4_context *ctx)
Clear MD4 context.
void mbedtls_md4_starts(mbedtls_md4_context *ctx)
MD4 context setup.
void mbedtls_md4_update(mbedtls_md4_context *ctx, const unsigned char *input, size_t ilen)
MD4 process buffer.
int mbedtls_md4_update_ret(mbedtls_md4_context *ctx, const unsigned char *input, size_t ilen)
MD4 process buffer.
void mbedtls_md4_finish(mbedtls_md4_context *ctx, unsigned char output[16])
MD4 final digest.
void mbedtls_md4_process(mbedtls_md4_context *ctx, const unsigned char data[64])
MD4 process data block (internal use only)
int mbedtls_md4_finish_ret(mbedtls_md4_context *ctx, unsigned char output[16])
MD4 final digest.
void mbedtls_md4_init(mbedtls_md4_context *ctx)
Initialize MD4 context.
void mbedtls_md4_clone(mbedtls_md4_context *dst, const mbedtls_md4_context *src)
Clone (the state of) an MD4 context.
int mbedtls_internal_md4_process(mbedtls_md4_context *ctx, const unsigned char data[64])
MD4 process data block (internal use only)