#include <md_internal.h>
Public Attributes | |
mbedtls_md_type_t | type |
const char * | name |
int | size |
int | block_size |
int(* | starts_func )(void *ctx) |
int(* | update_func )(void *ctx, const unsigned char *input, size_t ilen) |
int(* | finish_func )(void *ctx, unsigned char *output) |
int(* | digest_func )(const unsigned char *input, size_t ilen, unsigned char *output) |
void *(* | ctx_alloc_func )(void) |
void(* | ctx_free_func )(void *ctx) |
void(* | clone_func )(void *dst, const void *src) |
int(* | process_func )(void *ctx, const unsigned char *input) |
Message digest information. Allows message digest functions to be called in a generic way.
int mbedtls_md_info_t::block_size |
Block length of the digest function in bytes
void(* mbedtls_md_info_t::clone_func) (void *dst, const void *src) |
Clone state from a context
void*(* mbedtls_md_info_t::ctx_alloc_func) (void) |
Allocate a new context
void(* mbedtls_md_info_t::ctx_free_func) (void *ctx) |
Free the given context
int(* mbedtls_md_info_t::digest_func) (const unsigned char *input, size_t ilen, unsigned char *output) |
Generic digest function
int(* mbedtls_md_info_t::finish_func) (void *ctx, unsigned char *output) |
Digest finalisation function
const char* mbedtls_md_info_t::name |
Name of the message digest
int(* mbedtls_md_info_t::process_func) (void *ctx, const unsigned char *input) |
Internal use only
int mbedtls_md_info_t::size |
Output length of the digest function in bytes
int(* mbedtls_md_info_t::starts_func) (void *ctx) |
Digest initialisation function
mbedtls_md_type_t mbedtls_md_info_t::type |
Digest identifier
int(* mbedtls_md_info_t::update_func) (void *ctx, const unsigned char *input, size_t ilen) |
Digest update function