Home
last modified time | relevance | path

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

/third_party/openssl/crypto/ec/
Decp_smpl.c320 point->Z_is_one = 0; in ec_GFp_simple_point_init()
343 point->Z_is_one = 0; in ec_GFp_simple_point_clear_finish()
354 dest->Z_is_one = src->Z_is_one; in ec_GFp_simple_point_copy()
363 point->Z_is_one = 0; in ec_GFp_simple_point_set_to_infinity()
403 int Z_is_one; in ec_GFp_simple_set_Jprojective_coordinates_GFp() local
407 Z_is_one = BN_is_one(point->Z); in ec_GFp_simple_set_Jprojective_coordinates_GFp()
409 if (Z_is_one && (group->meth->field_set_to_one != 0)) { in ec_GFp_simple_set_Jprojective_coordinates_GFp()
418 point->Z_is_one = Z_is_one; in ec_GFp_simple_set_Jprojective_coordinates_GFp()
655 if (b->Z_is_one) { in ec_GFp_simple_add()
677 if (a->Z_is_one) { in ec_GFp_simple_add()
[all …]
Dec2_smpl.c242 point->Z_is_one = 0; in ec_GF2m_simple_point_clear_finish()
257 dest->Z_is_one = src->Z_is_one; in ec_GF2m_simple_point_copy()
270 point->Z_is_one = 0; in ec_GF2m_simple_point_set_to_infinity()
300 point->Z_is_one = 1; in ec_GF2m_simple_point_set_affine_coordinates()
386 if (a->Z_is_one) { in ec_GF2m_simple_add()
395 if (b->Z_is_one) { in ec_GF2m_simple_add()
510 if (!point->Z_is_one) in ec_GF2m_simple_is_on_curve()
574 if (a->Z_is_one && b->Z_is_one) { in ec_GF2m_simple_cmp()
612 if (point->Z_is_one || EC_POINT_is_at_infinity(group, point)) in ec_GF2m_simple_make_affine()
635 point->Z_is_one = 1; in ec_GF2m_simple_make_affine()
[all …]
Dec_mult.c143 int i, cardinality_bits, group_top, kbit, pbit, Z_is_one; in ec_scalar_mul_ladder() local
264 if (!p->Z_is_one && !EC_POINT_make_affine(group, p, ctx)) { in ec_scalar_mul_ladder()
282 t = ((a)->Z_is_one ^ (b)->Z_is_one) & (c); \ in ec_scalar_mul_ladder()
283 (a)->Z_is_one ^= (t); \ in ec_scalar_mul_ladder()
284 (b)->Z_is_one ^= (t); \ in ec_scalar_mul_ladder()
347 EC_POINT_CSWAP(kbit, r, s, group_top, Z_is_one); in ec_scalar_mul_ladder()
361 EC_POINT_CSWAP(pbit, r, s, group_top, Z_is_one); in ec_scalar_mul_ladder()
Decp_nistz256.c941 out->Z_is_one = 1; in ecp_nistz256_set_from_affine()
1159 r->Z_is_one = is_one(r->Z) & 1; in ecp_nistz256_points_mul()
Dec_local.h307 int Z_is_one; /* enable optimized point arithmetics for member