mbedtls_md_info_from_type() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...

mbedtls_md_info_from_type() function

This function returns the message-digest information associated with the given digest type.

Syntax

const mbedtls_md_info_t *mbedtls_md_info_from_type( mbedtls_md_type_t md_type );
Implemented in md.c:136

Arguments

md_type

The type of digest to search for.

Return value

The message-digest information associated with \p md_type. NULL if the associated message-digest information is not found.

References

LocationReferrerText
md.c:136
const mbedtls_md_info_t *mbedtls_md_info_from_type( mbedtls_md_type_t md_type )
md.h:128
const mbedtls_md_info_t *mbedtls_md_info_from_type( mbedtls_md_type_t md_type );
md.c:123mbedtls_md_info_from_string()
return mbedtls_md_info_from_type( MBEDTLS_MD_SHA224 );
md.c:125mbedtls_md_info_from_string()
return mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 );
md.c:129mbedtls_md_info_from_string()
return mbedtls_md_info_from_type( MBEDTLS_MD_SHA384 );
md.c:131mbedtls_md_info_from_string()
return mbedtls_md_info_from_type( MBEDTLS_MD_SHA512 );
pk.c:206pk_hashlen_helper()
if( ( md_info = mbedtls_md_info_from_type( md_alg ) ) == NULL )
ssl_tls.c:510tls_prf_generic()
if( ( md_info = mbedtls_md_info_from_type( md_type ) ) == NULL )
ssl_tls.c:639mbedtls_ssl_derive_keys()
md_info = mbedtls_md_info_from_type( transform->ciphersuite_info->mac );
ssl_tls.c:9738mbedtls_ssl_get_key_exchange_md_tls1_2()
const mbedtls_md_info_t *md_info = mbedtls_md_info_from_type( md_alg );
x509_crt.c:1897x509_crt_check_signature()
md_info = mbedtls_md_info_from_type( child->sig_md );

Call Tree

Type of mbedtls_md_info_from_type()
mbedtls_md_info_from_type()
all items filtered out