Lines Matching refs:ltc_hashindex
29 static TEE_Result tee_algo_to_ltc_hashindex(uint32_t algo, int *ltc_hashindex) in tee_algo_to_ltc_hashindex() argument
37 *ltc_hashindex = find_hash("sha1"); in tee_algo_to_ltc_hashindex()
45 *ltc_hashindex = find_hash("md5"); in tee_algo_to_ltc_hashindex()
53 *ltc_hashindex = find_hash("sha224"); in tee_algo_to_ltc_hashindex()
61 *ltc_hashindex = find_hash("sha256"); in tee_algo_to_ltc_hashindex()
69 *ltc_hashindex = find_hash("sha384"); in tee_algo_to_ltc_hashindex()
77 *ltc_hashindex = find_hash("sha512"); in tee_algo_to_ltc_hashindex()
83 *ltc_hashindex = -1; in tee_algo_to_ltc_hashindex()
90 if (*ltc_hashindex < 0) in tee_algo_to_ltc_hashindex()
347 int ltc_hashindex, ltc_mgfindex, ltc_res, ltc_stat, ltc_rsa_algo; in sw_crypto_acipher_rsaes_decrypt() local
364 res = tee_algo_to_ltc_hashindex(algo, <c_hashindex); in sw_crypto_acipher_rsaes_decrypt()
403 ltc_mgfindex, ltc_hashindex, ltc_rsa_algo, in sw_crypto_acipher_rsaes_decrypt()
465 int ltc_hashindex, ltc_mgfindex, ltc_res, ltc_rsa_algo; in sw_crypto_acipher_rsaes_encrypt() local
481 res = tee_algo_to_ltc_hashindex(algo, <c_hashindex); in sw_crypto_acipher_rsaes_encrypt()
501 ltc_mgfindex, ltc_hashindex, ltc_rsa_algo, in sw_crypto_acipher_rsaes_encrypt()
536 int ltc_res, ltc_rsa_algo, ltc_hashindex; in sw_crypto_acipher_rsassa_sign() local
578 ltc_res = tee_algo_to_ltc_hashindex(algo, <c_hashindex); in sw_crypto_acipher_rsassa_sign()
607 ltc_hashindex, salt_len, <c_key); in sw_crypto_acipher_rsassa_sign()
637 int stat, ltc_hashindex, ltc_res, ltc_rsa_algo; in sw_crypto_acipher_rsassa_verify() local
671 res = tee_algo_to_ltc_hashindex(algo, <c_hashindex); in sw_crypto_acipher_rsassa_verify()
703 ltc_hashindex, salt_len, &stat, <c_key); in sw_crypto_acipher_rsassa_verify()