Home
last modified time | relevance | path

Searched refs:my_eph_key (Results 1 – 4 of 4) sorted by relevance

/optee_os/core/lib/libtomcrypt/
A Dsm2-kep.c203 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(&ltc_my_eph_key, my_eph_key, in crypto_acipher_sm2_kep_derive()
/optee_os/lib/libmbedtls/core/
A Dsm2-kep.c275 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/core/include/crypto/
A Dcrypto.h271 struct ecc_keypair *my_eph_key,
/optee_os/core/crypto/
A Dcrypto.c791 struct ecc_keypair *my_eph_key in crypto_acipher_sm2_kep_derive()

Completed in 8 milliseconds