39 #if !defined(MBEDTLS_MD5_ALT)
51 typedef struct mbedtls_md5_context
99 const mbedtls_md5_context *src );
130 const unsigned char *input,
147 unsigned char output[16] );
163 const unsigned char data[64] );
181 unsigned char output[16] );
183 #if defined(MBEDTLS_SELF_TEST)
int mbedtls_md5_update(mbedtls_md5_context *ctx, const unsigned char *input, size_t ilen)
MD5 process buffer.
#define MBEDTLS_PRIVATE(member)
int mbedtls_md5(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD5( input buffer )
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)
void mbedtls_md5_clone(mbedtls_md5_context *dst, const mbedtls_md5_context *src)
Clone (the state of) an MD5 context.
int mbedtls_md5_finish(mbedtls_md5_context *ctx, unsigned char output[16])
MD5 final digest.
void mbedtls_md5_free(mbedtls_md5_context *ctx)
Clear MD5 context.
Macro wrapper for struct's memebrs.
int mbedtls_md5_starts(mbedtls_md5_context *ctx)
MD5 context setup.
Build-time configuration info.
int mbedtls_md5_self_test(int verbose)
Checkup routine.