Home
last modified time | relevance | path

Searched refs:md_info (Results 1 – 2 of 2) sorted by relevance

/external/arm-trusted-firmware/drivers/auth/mbedtls/
Dmbedtls_crypto.c71 const mbedtls_md_info_t *md_info; in verify_signature() local
111 md_info = mbedtls_md_info_from_type(md_alg); in verify_signature()
112 if (md_info == NULL) { in verify_signature()
117 rc = mbedtls_md(md_info, p, data_len, hash); in verify_signature()
125 mbedtls_md_get_size(md_info), in verify_signature()
153 const mbedtls_md_info_t *md_info; in verify_hash() local
179 md_info = mbedtls_md_info_from_type(md_alg); in verify_hash()
180 if (md_info == NULL) { in verify_hash()
191 if (len != mbedtls_md_get_size(md_info)) { in verify_hash()
198 rc = mbedtls_md(md_info, p, data_len, data_hash); in verify_hash()
[all …]
/external/arm-trusted-firmware/tools/cert_create/src/
Dmain.c309 const EVP_MD *md_info; in main() local
421 md_info = EVP_sha384(); in main()
424 md_info = EVP_sha512(); in main()
427 md_info = EVP_sha256(); in main()
529 EXT_CRIT, md_info, md, in main()