Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_is_point_at_infinity.c15 void *x3, *y2; in ltc_ecc_is_point_at_infinity() local
30 if ((err = mp_init_multi(&x3, &y2, LTC_NULL)) != CRYPT_OK) goto done; in ltc_ecc_is_point_at_infinity()
33 if ((err = mp_mulmod(P->y, P->y, modulus, y2)) != CRYPT_OK) goto cleanup; in ltc_ecc_is_point_at_infinity()
41 if ((mp_cmp(x3, y2) == LTC_MP_EQ) && !mp_iszero(y2)) { in ltc_ecc_is_point_at_infinity()
48 mp_clear_multi(x3, y2, LTC_NULL); in ltc_ecc_is_point_at_infinity()

Completed in 2 milliseconds