ReactOS  0.4.15-dev-3173-g40ee59d
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 72 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 84 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 106 of file md_internal.h.

◆ ctx_alloc_func

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

Allocate a new context

Definition at line 100 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 103 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 96 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 93 of file md_internal.h.

◆ name

const char* mbedtls_md_info_t::name

Name of the message digest

Definition at line 78 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 109 of file md_internal.h.

◆ size

int mbedtls_md_info_t::size

Output length of the digest function in bytes

Definition at line 81 of file md_internal.h.

◆ starts_func

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

Digest initialisation function

Definition at line 87 of file md_internal.h.

◆ type

mbedtls_md_type_t mbedtls_md_info_t::type

Digest identifier

Definition at line 75 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 90 of file md_internal.h.


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