ReactOS  0.4.15-dev-2701-g34593d9
mbedtls_md_info_t Struct Reference

#include <md_internal.h>

Collaboration diagram for mbedtls_md_info_t:

Public Attributes

mbedtls_md_type_t type
const charname
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)

Detailed Description

Message digest information. Allows message digest functions to be called in a generic way.

Definition at line 74 of file md_internal.h.

Member Data Documentation

◆ block_size

int mbedtls_md_info_t::block_size

Block length of the digest function in bytes

Definition at line 86 of file md_internal.h.

◆ clone_func

void(* mbedtls_md_info_t::clone_func) (void *dst, const void *src)

Clone state from a context

Definition at line 108 of file md_internal.h.

◆ ctx_alloc_func

void*(* mbedtls_md_info_t::ctx_alloc_func) (void)

Allocate a new context

Definition at line 102 of file md_internal.h.

◆ ctx_free_func

void(* mbedtls_md_info_t::ctx_free_func) (void *ctx)

Free the given context

Definition at line 105 of file md_internal.h.

◆ digest_func

int(* mbedtls_md_info_t::digest_func) (const unsigned char *input, size_t ilen, unsigned char *output)

Generic digest function

Definition at line 98 of file md_internal.h.

◆ finish_func

int(* mbedtls_md_info_t::finish_func) (void *ctx, unsigned char *output)

Digest finalisation function

Definition at line 95 of file md_internal.h.

◆ name

const char* mbedtls_md_info_t::name

Name of the message digest

Definition at line 80 of file md_internal.h.

◆ process_func

int(* mbedtls_md_info_t::process_func) (void *ctx, const unsigned char *input)

Internal use only

Definition at line 111 of file md_internal.h.

◆ size

int mbedtls_md_info_t::size

Output length of the digest function in bytes

Definition at line 83 of file md_internal.h.

◆ starts_func

int(* mbedtls_md_info_t::starts_func) (void *ctx)

Digest initialisation function

Definition at line 89 of file md_internal.h.

◆ type

mbedtls_md_type_t mbedtls_md_info_t::type

Digest identifier

Definition at line 77 of file md_internal.h.

◆ update_func

int(* mbedtls_md_info_t::update_func) (void *ctx, const unsigned char *input, size_t ilen)

Digest update function

Definition at line 92 of file md_internal.h.

The documentation for this struct was generated from the following file: