Lines Matching refs:y
119 p->y = ecc_alloc_digits_space(ndigits); in ecc_alloc_point()
120 if (!p->y) in ecc_alloc_point()
141 kfree_sensitive(p->y); in ecc_free_point()
1120 vli_is_zero(point->y, point->ndigits)); in ecc_point_is_zero()
1353 vli_set(ry[1], point->y, ndigits); in ecc_point_mult()
1378 vli_mod_mult_fast(z, z, point->y, curve); in ecc_point_mult()
1388 vli_set(result->y, ry[0], ndigits); in ecc_point_mult()
1402 vli_set(result->y, q->y, ndigits); in ecc_point_add()
1405 vli_set(py, p->y, ndigits); in ecc_point_add()
1406 xycz_add(px, py, result->x, result->y, curve); in ecc_point_add()
1408 apply_z(result->x, result->y, z, curve); in ecc_point_add()
1422 u64 *ry = result->y; in ecc_point_mult_shamir()
1444 vli_set(ry, point->y, ndigits); in ecc_point_mult_shamir()
1459 vli_set(ty, point->y, ndigits); in ecc_point_mult_shamir()
1593 ecc_swap_digits(pk->y, &public_key[ndigits], ndigits); in ecc_make_pub_key()
1618 if (vli_cmp(curve->p, pk->y, pk->ndigits) != 1) in ecc_is_pubkey_valid_partial()
1622 vli_mod_square_fast(yy, pk->y, curve); /* y^2 */ in ecc_is_pubkey_valid_partial()
1688 ecc_swap_digits(&public_key[ndigits], pk->y, ndigits); in crypto_ecdh_shared_secret()