Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/core/
A Dsm2-kep.c294 mbedtls_ecp_point RB = { }; in crypto_acipher_sm2_kep_derive() local
324 mbedtls_ecp_point_init(&RB); in crypto_acipher_sm2_kep_derive()
365 mbedtls_mpi_copy(&RB.X, (mbedtls_mpi *)peer_eph_key->x); in crypto_acipher_sm2_kep_derive()
366 mbedtls_mpi_copy(&RB.Y, (mbedtls_mpi *)peer_eph_key->y); in crypto_acipher_sm2_kep_derive()
367 mbedtls_mpi_lset(&RB.Z, 1); in crypto_acipher_sm2_kep_derive()
368 mres = mbedtls_ecp_check_pubkey(&grp, &RB); in crypto_acipher_sm2_kep_derive()
399 mres = mbedtls_ecp_muladd(&grp, &U, &one, &PB, &x2bar, &RB); in crypto_acipher_sm2_kep_derive()
495 mbedtls_ecp_point_free(&RB); in crypto_acipher_sm2_kep_derive()

Completed in 2 milliseconds