RetroArch
Public Attributes | List of all members
mbedtls_md_info_t Struct Reference

#include <md_internal.h>

Public Attributes

mbedtls_md_type_t type
 
const char * name
 
int size
 
int block_size
 
void(* starts_func )(void *ctx)
 
void(* update_func )(void *ctx, const unsigned char *input, size_t ilen)
 
void(* finish_func )(void *ctx, unsigned char *output)
 
void(* 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)
 
void(* process_func )(void *ctx, const unsigned char *input)
 

Detailed Description

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

Member Data Documentation

◆ block_size

int mbedtls_md_info_t::block_size

Block length of the digest function in bytes

◆ clone_func

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

Clone state from a context

◆ ctx_alloc_func

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

Allocate a new context

◆ ctx_free_func

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

Free the given context

◆ digest_func

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

Generic digest function

◆ finish_func

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

Digest finalisation function

◆ name

const char* mbedtls_md_info_t::name

Name of the message digest

◆ process_func

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

Internal use only

◆ size

int mbedtls_md_info_t::size

Output length of the digest function in bytes

◆ starts_func

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

Digest initialisation function

◆ type

mbedtls_md_type_t mbedtls_md_info_t::type

Digest identifier

◆ update_func

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

Digest update function


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