Searched refs:my_eph_key (Results 1 – 4 of 4) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | sm2-kep.c | 203 static TEE_Result sm2_kep_derive(ecc_key *my_key, ecc_key *my_eph_key, in sm2_kep_derive() argument 213 ecc_key *initiator_eph_key = p->is_initiator ? my_eph_key : in sm2_kep_derive() 216 my_eph_key; in sm2_kep_derive() 254 mp_to_unsigned_bin2(my_eph_key->pubkey.x, tmp, SM2_INT_SIZE_BYTES); in sm2_kep_derive() 261 ltc_res = mp_mulmod(x1bar, my_eph_key->k, n, tA); in sm2_kep_derive() 404 struct ecc_keypair *my_eph_key, in crypto_acipher_sm2_kep_derive() argument 420 res = ecc_populate_ltc_private_key(<c_my_eph_key, my_eph_key, in crypto_acipher_sm2_kep_derive()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | sm2-kep.c | 275 struct ecc_keypair *my_eph_key, in crypto_acipher_sm2_kep_derive() argument 305 extract_xy_from_keypair(&initiator_eph_key, my_eph_key); in crypto_acipher_sm2_kep_derive() 311 extract_xy_from_keypair(&responder_eph_key, my_eph_key); in crypto_acipher_sm2_kep_derive() 338 mres = mbedtls_mpi_write_binary((mbedtls_mpi *)my_eph_key->x, tmp, in crypto_acipher_sm2_kep_derive() 350 mres = mbedtls_mpi_mul_mpi(&tA, &x1bar, (mbedtls_mpi *)my_eph_key->d); in crypto_acipher_sm2_kep_derive()
|
/optee_os-3.20.0/core/include/crypto/ |
A D | crypto.h | 311 struct ecc_keypair *my_eph_key,
|
/optee_os-3.20.0/core/crypto/ |
A D | crypto.c | 794 struct ecc_keypair *my_eph_key in crypto_acipher_sm2_kep_derive()
|
Completed in 9 milliseconds