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.
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. | |
int(* | starts_func )(void *ctx) |
Digest initialisation function. | |
int(* | update_func )(void *ctx, const unsigned char *input, size_t ilen) |
Digest update function. | |
int(* | finish_func )(void *ctx, unsigned char *output) |
Digest finalisation function. | |
int(* | 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. | |
int(* | 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 47 of file md_internal.h.
Field Documentation
int block_size |
Block length of the digest function in bytes.
Definition at line 59 of file md_internal.h.
void(* clone_func)(void *dst, const void *src) |
Clone state from a context.
Definition at line 81 of file md_internal.h.
void*(* ctx_alloc_func)(void) |
Allocate a new context.
Definition at line 75 of file md_internal.h.
void(* ctx_free_func)(void *ctx) |
Free the given context.
Definition at line 78 of file md_internal.h.
int(* digest_func)(const unsigned char *input, size_t ilen, unsigned char *output) |
Generic digest function.
Definition at line 71 of file md_internal.h.
int(* finish_func)(void *ctx, unsigned char *output) |
Digest finalisation function.
Definition at line 68 of file md_internal.h.
const char* name |
Name of the message digest.
Definition at line 53 of file md_internal.h.
int(* process_func)(void *ctx, const unsigned char *input) |
Internal use only.
Definition at line 84 of file md_internal.h.
int size |
Output length of the digest function in bytes.
Definition at line 56 of file md_internal.h.
int(* starts_func)(void *ctx) |
Digest initialisation function.
Definition at line 62 of file md_internal.h.
Digest identifier.
Definition at line 50 of file md_internal.h.
int(* update_func)(void *ctx, const unsigned char *input, size_t ilen) |
Digest update function.
Definition at line 65 of file md_internal.h.
Generated on Tue Jul 12 2022 12:22:47 by
