32 #if !defined(MBEDTLS_CONFIG_FILE) 35 #include MBEDTLS_CONFIG_FILE 41 #define MBEDTLS_ERR_MD2_HW_ACCEL_FAILED -0x002B 47 #if !defined(MBEDTLS_MD2_ALT) 139 const unsigned char *input,
156 unsigned char output[16] );
172 #if !defined(MBEDTLS_DEPRECATED_REMOVED) 173 #if defined(MBEDTLS_DEPRECATED_WARNING) 174 #define MBEDTLS_DEPRECATED __attribute__((deprecated)) 176 #define MBEDTLS_DEPRECATED 207 const unsigned char *input,
224 unsigned char output[16] );
240 #undef MBEDTLS_DEPRECATED 257 unsigned char output[16] );
259 #if !defined(MBEDTLS_DEPRECATED_REMOVED) 260 #if defined(MBEDTLS_DEPRECATED_WARNING) 261 #define MBEDTLS_DEPRECATED __attribute__((deprecated)) 263 #define MBEDTLS_DEPRECATED 281 unsigned char output[16] );
283 #undef MBEDTLS_DEPRECATED MBEDTLS_DEPRECATED void mbedtls_md2(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD2( input buffer )
size_t left
Definition: md2.h:64
MBEDTLS_DEPRECATED void mbedtls_md2_starts(mbedtls_md2_context *ctx)
MD2 context setup.
unsigned char cksum[16]
Definition: md2.h:61
int mbedtls_md2_update_ret(mbedtls_md2_context *ctx, const unsigned char *input, size_t ilen)
MD2 process buffer.
Configuration options (set of defines)
MBEDTLS_DEPRECATED void mbedtls_md2_update(mbedtls_md2_context *ctx, const unsigned char *input, size_t ilen)
MD2 process buffer.
int mbedtls_md2_self_test(int verbose)
Checkup routine.
void mbedtls_md2_init(mbedtls_md2_context *ctx)
Initialize MD2 context.
MBEDTLS_DEPRECATED void mbedtls_md2_finish(mbedtls_md2_context *ctx, unsigned char output[16])
MD2 final digest.
int mbedtls_internal_md2_process(mbedtls_md2_context *ctx)
MD2 process data block (internal use only)
int mbedtls_md2_ret(const unsigned char *input, size_t ilen, unsigned char output[16])
Output = MD2( input buffer )
unsigned char buffer[16]
Definition: md2.h:63
void mbedtls_md2_clone(mbedtls_md2_context *dst, const mbedtls_md2_context *src)
Clone (the state of) an MD2 context.
struct mbedtls_md2_context mbedtls_md2_context
MD2 context structure.
int mbedtls_md2_finish_ret(mbedtls_md2_context *ctx, unsigned char output[16])
MD2 final digest.
unsigned char state[48]
Definition: md2.h:62
int mbedtls_md2_starts_ret(mbedtls_md2_context *ctx)
MD2 context setup.
#define MBEDTLS_DEPRECATED
Definition: md2.h:263
MD2 context structure.
Definition: md2.h:59
MBEDTLS_DEPRECATED void mbedtls_md2_process(mbedtls_md2_context *ctx)
MD2 process data block (internal use only)
void mbedtls_md2_free(mbedtls_md2_context *ctx)
Clear MD2 context.