Home
last modified time | relevance | path

Searched refs:md_type (Results 1 – 3 of 3) sorted by relevance

/hostap-latest/port/mbedtls/
Dsupp_psa_api.c329 …ector_psa(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac, mbedtls_md_type_t md_type) in md_vector_psa() argument
338 supp_psa_get_hash_alg(md_type, &alg, &block_size); in md_vector_psa()
341 printk("md_vector unknown md type %d\r\n", md_type); in md_vector_psa()
368 mbedtls_md_type_t md_type) in hmac_vector_psa() argument
379 supp_psa_get_hash_alg(md_type, &alg, &block_size); in hmac_vector_psa()
382 printk("hmac_vector unknown md type %d\r\n", md_type); in hmac_vector_psa()
Dsupp_psa_api.h45 …ctor_psa(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac, mbedtls_md_type_t md_type);
53 mbedtls_md_type_t md_type);
/hostap-latest/src/crypto/
Dcrypto_mbedtls_alt.c242 size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac, mbedtls_md_type_t md_type) in md_vector() argument
245 return md_vector_psa(num_elem, addr, len, mac, md_type); in md_vector()
252 if (mbedtls_md_setup(&ctx, mbedtls_md_info_from_type(md_type), 0) != 0) in md_vector()
311 mbedtls_md_type_t md_type; in crypto_hash_init() local
318 md_type = MBEDTLS_MD_MD5; in crypto_hash_init()
321 md_type = MBEDTLS_MD_SHA1; in crypto_hash_init()
324 md_type = MBEDTLS_MD_SHA256; in crypto_hash_init()
327 md_type = MBEDTLS_MD_SHA384; in crypto_hash_init()
330 md_type = MBEDTLS_MD_SHA512; in crypto_hash_init()
343 md_info = mbedtls_md_info_from_type(md_type); in crypto_hash_init()
[all …]