Lines Matching refs:Y
32 BN_ULONG Y[P256_LIMBS]; member
38 BN_ULONG Y[P256_LIMBS]; member
132 is_equal(a->Y, b->Y) && \
208 ecp_sm2p256_add(R->Y, P->Y, P->Y); in ecp_sm2p256_point_double()
209 ecp_sm2p256_mul(R->Z, R->Y, P->Z); in ecp_sm2p256_point_double()
210 ecp_sm2p256_sqr(R->Y, R->Y); in ecp_sm2p256_point_double()
211 ecp_sm2p256_mul(tmp2, R->Y, P->X); in ecp_sm2p256_point_double()
212 ecp_sm2p256_sqr(R->Y, R->Y); in ecp_sm2p256_point_double()
213 ecp_sm2p256_div_by_2(R->Y, R->Y); in ecp_sm2p256_point_double()
219 ecp_sm2p256_sub(tmp1, tmp0, R->Y); in ecp_sm2p256_point_double()
220 memcpy(R->Y, tmp1, 32); in ecp_sm2p256_point_double()
237 R->Y[i] = Q->Y[i]; in ecp_sm2p256_point_add_affine()
248 ecp_sm2p256_mul(tmp1, tmp1, Q->Y); in ecp_sm2p256_point_add_affine()
250 ecp_sm2p256_sub(tmp1, tmp1, P->Y); in ecp_sm2p256_point_add_affine()
259 K.Y[i] = Q->Y[i]; in ecp_sm2p256_point_add_affine()
282 ecp_sm2p256_mul(tmp3, tmp3, P->Y); in ecp_sm2p256_point_add_affine()
283 ecp_sm2p256_sub(R->Y, tmp2, tmp3); in ecp_sm2p256_point_add_affine()
299 R->Y[i] = Q->Y[i]; in ecp_sm2p256_point_add()
307 R->Y[i] = P->Y[i]; in ecp_sm2p256_point_add()
321 ecp_sm2p256_mul(tmp1, tmp1, Q->Y); in ecp_sm2p256_point_add()
322 ecp_sm2p256_mul(R->Y, P->Y, Q->Z); in ecp_sm2p256_point_add()
325 ecp_sm2p256_mul(R->Y, tmp2, R->Y); in ecp_sm2p256_point_add()
329 ecp_sm2p256_sub(tmp1, tmp1, R->Y); in ecp_sm2p256_point_add()
339 ecp_sm2p256_mul(tmp0, tmp0, R->Y); in ecp_sm2p256_point_add()
340 ecp_sm2p256_sub(R->Y, tmp2, tmp0); in ecp_sm2p256_point_add()
359 memcpy(R->Y, ecp_sm2p256_precomputed + index + P256_LIMBS, 32); in ecp_sm2p256_point_G_mul_by_scalar()
370 memcpy(Q.Y, ecp_sm2p256_precomputed + index + P256_LIMBS, 32); in ecp_sm2p256_point_G_mul_by_scalar()
394 memcpy(precomputed[1].Y, P.Y, 32); in ecp_sm2p256_point_P_mul_by_scalar()
435 memcpy(R->Y, P->Y, 32); in ecp_sm2p256_point_get_affine()
443 ecp_sm2p256_mul(R->Y, P->Y, z_inv3); in ecp_sm2p256_point_get_affine()
450 && (bn_get_top(generator->Y) == P256_LIMBS) in ecp_sm2p256_is_affine_G()
452 && is_equal(bn_get_words(generator->Y), def_yG) in ecp_sm2p256_is_affine_G()
478 || ecp_sm2p256_bignum_field_elem(point_y, point->Y) <= 0 in ecp_sm2p256_get_affine()
548 || ecp_sm2p256_bignum_field_elem(p.p.Y, point[i]->Y) <= 0 in ecp_sm2p256_windowed_mul()
635 || !bn_set_words(r->Y, p.p.Y, P256_LIMBS) in ecp_sm2p256_points_mul()