28 #ifndef MBEDTLS_MD_WRAP_H 29 #define MBEDTLS_MD_WRAP_H 31 #if !defined(MBEDTLS_CONFIG_FILE) 34 #include MBEDTLS_CONFIG_FILE 65 int (*
update_func)(
void *ctx,
const unsigned char *input,
size_t ilen );
72 unsigned char *output );
75 void * (*ctx_alloc_func)( void );
87 #if defined(MBEDTLS_MD2_C) 90 #if defined(MBEDTLS_MD4_C) 93 #if defined(MBEDTLS_MD5_C) 96 #if defined(MBEDTLS_RIPEMD160_C) 99 #if defined(MBEDTLS_SHA1_C) 102 #if defined(MBEDTLS_SHA256_C) 106 #if defined(MBEDTLS_SHA512_C) const mbedtls_md_info_t mbedtls_sha256_info
Definition: md_wrap.c:472
int size
Definition: md_internal.h:56
void(* clone_func)(void *dst, const void *src)
Definition: md_internal.h:81
int(* finish_func)(void *ctx, unsigned char *output)
Definition: md_internal.h:68
Configuration options (set of defines)
const char * name
Definition: md_internal.h:53
const mbedtls_md_info_t mbedtls_sha224_info
Definition: md_wrap.c:446
void(* ctx_free_func)(void *ctx)
Definition: md_internal.h:78
int(* process_func)(void *ctx, const unsigned char *input)
Definition: md_internal.h:84
int(* digest_func)(const unsigned char *input, size_t ilen, unsigned char *output)
Definition: md_internal.h:71
int(* update_func)(void *ctx, const unsigned char *input, size_t ilen)
Definition: md_internal.h:65
This file contains the generic message-digest wrapper.
Definition: md_internal.h:47
mbedtls_md_type_t
Supported message digests.
Definition: md.h:58
int block_size
Definition: md_internal.h:59
int(* starts_func)(void *ctx)
Definition: md_internal.h:62
mbedtls_md_type_t type
Definition: md_internal.h:50