Lines Matching full:z1
1080 static void ecc_point_double_jacobian(u64 *x1, u64 *y1, u64 *z1, in ecc_point_double_jacobian() argument
1089 if (vli_is_zero(z1, ndigits)) in ecc_point_double_jacobian()
1098 /* t2 = y1*z1 = z3 */ in ecc_point_double_jacobian()
1099 vli_mod_mult_fast(y1, y1, z1, curve); in ecc_point_double_jacobian()
1100 /* t3 = z1^2 */ in ecc_point_double_jacobian()
1101 vli_mod_square_fast(z1, z1, curve); in ecc_point_double_jacobian()
1103 /* t1 = x1 + z1^2 */ in ecc_point_double_jacobian()
1104 vli_mod_add(x1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1105 /* t3 = 2*z1^2 */ in ecc_point_double_jacobian()
1106 vli_mod_add(z1, z1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1107 /* t3 = x1 - z1^2 */ in ecc_point_double_jacobian()
1108 vli_mod_sub(z1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1109 /* t1 = x1^2 - z1^4 */ in ecc_point_double_jacobian()
1110 vli_mod_mult_fast(x1, x1, z1, curve); in ecc_point_double_jacobian()
1112 /* t3 = 2*(x1^2 - z1^4) */ in ecc_point_double_jacobian()
1113 vli_mod_add(z1, x1, x1, curve_prime, ndigits); in ecc_point_double_jacobian()
1114 /* t1 = 3*(x1^2 - z1^4) */ in ecc_point_double_jacobian()
1115 vli_mod_add(x1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1124 /* t1 = 3/2*(x1^2 - z1^4) = B */ in ecc_point_double_jacobian()
1127 vli_mod_square_fast(z1, x1, curve); in ecc_point_double_jacobian()
1129 vli_mod_sub(z1, z1, t5, curve_prime, ndigits); in ecc_point_double_jacobian()
1131 vli_mod_sub(z1, z1, t5, curve_prime, ndigits); in ecc_point_double_jacobian()
1133 vli_mod_sub(t5, t5, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1139 vli_set(x1, z1, ndigits); in ecc_point_double_jacobian()
1140 vli_set(z1, y1, ndigits); in ecc_point_double_jacobian()