Searched refs:md_algo (Results 1 – 1 of 1) sorted by relevance
480 uint32_t md_algo = MBEDTLS_MD_NONE; in sw_crypto_acipher_rsaes_decrypt() local524 md_algo = tee_algo_to_mbedtls_hash_algo(algo); in sw_crypto_acipher_rsaes_decrypt()525 if (md_algo == MBEDTLS_MD_NONE) { in sw_crypto_acipher_rsaes_decrypt()529 if (md_algo != tee_algo_to_mbedtls_hash_algo(mgf_algo)) { in sw_crypto_acipher_rsaes_decrypt()536 mbedtls_rsa_set_padding(rsa, lmd_padding, md_algo); in sw_crypto_acipher_rsaes_decrypt()586 uint32_t md_algo = MBEDTLS_MD_NONE; in sw_crypto_acipher_rsaes_encrypt() local625 md_algo = tee_algo_to_mbedtls_hash_algo(algo); in sw_crypto_acipher_rsaes_encrypt()627 if (md_algo == MBEDTLS_MD_NONE || in sw_crypto_acipher_rsaes_encrypt()628 md_algo != tee_algo_to_mbedtls_hash_algo(mgf_algo)) { in sw_crypto_acipher_rsaes_encrypt()634 mbedtls_rsa_set_padding(rsa, lmd_padding, md_algo); in sw_crypto_acipher_rsaes_encrypt()[all …]