Searched refs:lmd_res (Results 1 – 3 of 3) sorted by relevance
/optee_os/lib/libmbedtls/core/ |
A D | rsa.c | 22 switch (lmd_res) { in get_tee_result() 206 int lmd_res = 0; in crypto_acipher_gen_rsa_key() local 218 if (lmd_res != 0) { in crypto_acipher_gen_rsa_key() 248 int lmd_res = 0; in crypto_acipher_rsanopad_encrypt() local 272 if (lmd_res != 0) { in crypto_acipher_rsanopad_encrypt() 306 int lmd_res = 0; in crypto_acipher_rsanopad_decrypt() local 325 if (lmd_res != 0) { in crypto_acipher_rsanopad_decrypt() 357 int lmd_res = 0; in crypto_acipher_rsaes_decrypt() local 446 int lmd_res = 0; in crypto_acipher_rsaes_encrypt() local 515 int lmd_res = 0; in crypto_acipher_rsassa_sign() local [all …]
|
A D | ecc.c | 26 switch (lmd_res) { in get_tee_result() 122 int lmd_res = 0; in ecc_generate_keypair() local 140 if (lmd_res != 0) { in ecc_generate_keypair() 179 int lmd_res = 0; in ecc_sign() local 199 if (lmd_res != 0) { in ecc_sign() 219 if (lmd_res == 0) { in ecc_sign() 248 int lmd_res = 0; in ecc_verify() local 268 if (lmd_res != 0) { in ecc_verify() 295 if (lmd_res != 0) { in ecc_verify() 314 int lmd_res = 0; in ecc_shared_secret() local [all …]
|
A D | dh.c | 50 int lmd_res = 0; in crypto_acipher_gen_dh_key() local 77 lmd_res = mbedtls_dhm_make_public(&dhm, (int)xbytes, buf, in crypto_acipher_gen_dh_key() 79 if (lmd_res != 0) { in crypto_acipher_gen_dh_key() 80 FMSG("mbedtls_dhm_make_public err, return is 0x%x", -lmd_res); in crypto_acipher_gen_dh_key() 101 int lmd_res = 0; in crypto_acipher_dh_shared_secret() local 123 lmd_res = mbedtls_dhm_calc_secret(&dhm, buf, dhm.len, in crypto_acipher_dh_shared_secret() 125 if (lmd_res != 0) { in crypto_acipher_dh_shared_secret() 126 FMSG("mbedtls_dhm_calc_secret failed, ret is 0x%x", -lmd_res); in crypto_acipher_dh_shared_secret()
|
Completed in 5 milliseconds