Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_Gateway_Linker_fix BLE_Gateway
Fork of mbedtls by
mbedtls_md_info_t Struct Reference
Message digest information. More...
#include <md_internal.h>
| 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. | |
Detailed Description
Message digest information.
Allows message digest functions to be called in a generic way.
Definition at line 46 of file md_internal.h.
Field Documentation
| int block_size | 
Block length of the digest function in bytes.
Definition at line 58 of file md_internal.h.
| void(* clone_func)(void *dst, const void *src) | 
Clone state from a context.
Definition at line 80 of file md_internal.h.
| void*(* ctx_alloc_func)(void) | 
Allocate a new context.
Definition at line 74 of file md_internal.h.
| void(* ctx_free_func)(void *ctx) | 
Free the given context.
Definition at line 77 of file md_internal.h.
| void(* digest_func)(const unsigned char *input, size_t ilen, unsigned char *output) | 
Generic digest function.
Definition at line 70 of file md_internal.h.
| void(* finish_func)(void *ctx, unsigned char *output) | 
Digest finalisation function.
Definition at line 67 of file md_internal.h.
| const char* name | 
Name of the message digest.
Definition at line 52 of file md_internal.h.
| void(* process_func)(void *ctx, const unsigned char *input) | 
Internal use only.
Definition at line 83 of file md_internal.h.
| int size | 
Output length of the digest function in bytes.
Definition at line 55 of file md_internal.h.
| void(* starts_func)(void *ctx) | 
Digest initialisation function.
Definition at line 61 of file md_internal.h.
| mbedtls_md_type_t type | 
Digest identifier.
Definition at line 49 of file md_internal.h.
| void(* update_func)(void *ctx, const unsigned char *input, size_t ilen) | 
Digest update function.
Definition at line 64 of file md_internal.h.
Generated on Tue Jul 12 2022 13:49:52 by
 1.7.2
 1.7.2 
    