31 #if !defined(MBEDTLS_CONFIG_FILE) 34 #include MBEDTLS_CONFIG_FILE 41 #define MBEDTLS_ERR_MD5_HW_ACCEL_FAILED -0x002F 47 #if !defined(MBEDTLS_MD5_ALT) 138 const unsigned char *input,
155 unsigned char output[16] );
171 const unsigned char data[64] );
173 #if !defined(MBEDTLS_DEPRECATED_REMOVED) 174 #if defined(MBEDTLS_DEPRECATED_WARNING) 175 #define MBEDTLS_DEPRECATED __attribute__((deprecated)) 177 #define MBEDTLS_DEPRECATED 208 const unsigned char *input,
225 unsigned char output[16] );
241 const unsigned char data[64] );
243 #undef MBEDTLS_DEPRECATED 262 unsigned char output[16] );
264 #if !defined(MBEDTLS_DEPRECATED_REMOVED) 265 #if defined(MBEDTLS_DEPRECATED_WARNING) 266 #define MBEDTLS_DEPRECATED __attribute__((deprecated)) 268 #define MBEDTLS_DEPRECATED 286 unsigned char output[16] );
288 #undef MBEDTLS_DEPRECATED MBEDTLS_DEPRECATED void mbedtls_md5_finish(mbedtls_md5_context *ctx, unsigned char output[16])
MD5 final digest.
Configuration options (set of defines)
uint32_t state[4]
Definition: md5.h:62
void mbedtls_md5_init(mbedtls_md5_context *ctx)
Initialize MD5 context.
int mbedtls_internal_md5_process(mbedtls_md5_context *ctx, const unsigned char data[64])
MD5 process data block (internal use only)
#define MBEDTLS_DEPRECATED
Definition: md5.h:268
MBEDTLS_DEPRECATED void mbedtls_md5_update(mbedtls_md5_context *ctx, const unsigned char *input, size_t ilen)
MD5 process buffer.
void mbedtls_md5_clone(mbedtls_md5_context *dst, const mbedtls_md5_context *src)
Clone (the state of) an MD5 context.
int mbedtls_md5_update_ret(mbedtls_md5_context *ctx, const unsigned char *input, size_t ilen)
MD5 process buffer.
unsigned char buffer[64]
Definition: md5.h:63
void mbedtls_md5_free(mbedtls_md5_context *ctx)
Clear MD5 context.
int mbedtls_md5_starts_ret(mbedtls_md5_context *ctx)
MD5 context setup.
MD5 context structure.
Definition: md5.h:59
int mbedtls_md5_finish_ret(mbedtls_md5_context *ctx, unsigned char output[16])
MD5 final digest.
MBEDTLS_DEPRECATED void mbedtls_md5(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD5( input buffer )
int mbedtls_md5_self_test(int verbose)
Checkup routine.
int mbedtls_md5_ret(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD5( input buffer )
MBEDTLS_DEPRECATED void mbedtls_md5_starts(mbedtls_md5_context *ctx)
MD5 context setup.
MBEDTLS_DEPRECATED void mbedtls_md5_process(mbedtls_md5_context *ctx, const unsigned char data[64])
MD5 process data block (internal use only)
uint32_t total[2]
Definition: md5.h:61
struct mbedtls_md5_context mbedtls_md5_context
MD5 context structure.