Searched refs:x2bar (Results 1 – 2 of 2) sorted by relevance
/optee_os/core/lib/libtomcrypt/ |
A D | sm2-kep.c | 224 void *x2bar = NULL; in sm2_kep_derive() local 235 ltc_res = mp_init_multi(&x1bar, &x2bar, &tA, &h, &htA, &mu, &ma, &one, in sm2_kep_derive() 280 mp_read_unsigned_bin(x2bar, tmp + SM2_INT_SIZE_BYTES / 2, in sm2_kep_derive() 303 x2bar, U, ma, peer_key->dp.prime); in sm2_kep_derive() 399 mp_clear_multi(x1bar, x2bar, tA, h, htA, mu, ma, one, NULL); in sm2_kep_derive()
|
/optee_os/lib/libmbedtls/core/ |
A D | sm2-kep.c | 297 mbedtls_mpi x2bar = { }; in crypto_acipher_sm2_kep_derive() local 317 mbedtls_mpi_init(&x2bar); in crypto_acipher_sm2_kep_derive() 379 mres = mbedtls_mpi_read_binary(&x2bar, tmp + SM2_INT_SIZE_BYTES / 2, in crypto_acipher_sm2_kep_derive() 399 mres = mbedtls_ecp_muladd(&grp, &U, &one, &PB, &x2bar, &RB); in crypto_acipher_sm2_kep_derive() 489 mbedtls_mpi_free(&x2bar); in crypto_acipher_sm2_kep_derive()
|
Completed in 4 milliseconds