26 #if !defined(MBEDTLS_CONFIG_FILE)
29 #include MBEDTLS_CONFIG_FILE
34 #if !defined(MBEDTLS_MD2_ALT)
47 unsigned char cksum[16];
48 unsigned char state[48];
49 unsigned char buffer[16];
120 void mbedtls_md2(
const unsigned char *input,
size_t ilen,
unsigned char output[16] );
void mbedtls_md2(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD2( input buffer )
void mbedtls_md2_starts(mbedtls_md2_context *ctx)
MD2 context setup.
void mbedtls_md2_finish(mbedtls_md2_context *ctx, unsigned char output[16])
MD2 final digest.
Compatibility names (set of defines)
int mbedtls_md2_self_test(int verbose)
Checkup routine.
void mbedtls_md2_init(mbedtls_md2_context *ctx)
Initialize MD2 context.
void mbedtls_md2_clone(mbedtls_md2_context *dst, const mbedtls_md2_context *src)
Clone (the state of) an MD2 context.
void mbedtls_md2_update(mbedtls_md2_context *ctx, const unsigned char *input, size_t ilen)
MD2 process buffer.
void mbedtls_md2_free(mbedtls_md2_context *ctx)
Clear MD2 context.
void mbedtls_md2_process(mbedtls_md2_context *ctx)