![]() |
mbed TLS
Version 2.6.0
SSL/TLS Library for the Embedded Space
|
Message digest information. More...
Data Fields | |
mbedtls_md_type_t | type |
Digest identifier. | |
const char * | name |
Name of the message digest. | |
int | size |
Output length of the digest function in bytes. | |
int | block_size |
Block length of the digest function in bytes. | |
void(* | starts_func )(void *ctx) |
Digest initialisation function. | |
void(* | update_func )(void *ctx, const unsigned char *input, size_t ilen) |
Digest update function. | |
void(* | finish_func )(void *ctx, unsigned char *output) |
Digest finalisation function. | |
void(* | digest_func )(const unsigned char *input, size_t ilen, unsigned char *output) |
Generic digest function. | |
void *(* | ctx_alloc_func )(void) |
Allocate a new context. | |
void(* | ctx_free_func )(void *ctx) |
Free the given context. | |
void(* | clone_func )(void *dst, const void *src) |
Clone state from a context. | |
void(* | process_func )(void *ctx, const unsigned char *input) |
Internal use only. | |
Message digest information.
Opaque struct defined in md_internal.h.
Allows message digest functions to be called in a generic way.