Lines Matching full:z1

1129 static void ecc_point_double_jacobian(u64 *x1, u64 *y1, u64 *z1,  in ecc_point_double_jacobian()  argument
1138 if (vli_is_zero(z1, ndigits)) in ecc_point_double_jacobian()
1147 /* t2 = y1*z1 = z3 */ in ecc_point_double_jacobian()
1148 vli_mod_mult_fast(y1, y1, z1, curve); in ecc_point_double_jacobian()
1149 /* t3 = z1^2 */ in ecc_point_double_jacobian()
1150 vli_mod_square_fast(z1, z1, curve); in ecc_point_double_jacobian()
1152 /* t1 = x1 + z1^2 */ in ecc_point_double_jacobian()
1153 vli_mod_add(x1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1154 /* t3 = 2*z1^2 */ in ecc_point_double_jacobian()
1155 vli_mod_add(z1, z1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1156 /* t3 = x1 - z1^2 */ in ecc_point_double_jacobian()
1157 vli_mod_sub(z1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1158 /* t1 = x1^2 - z1^4 */ in ecc_point_double_jacobian()
1159 vli_mod_mult_fast(x1, x1, z1, curve); in ecc_point_double_jacobian()
1161 /* t3 = 2*(x1^2 - z1^4) */ in ecc_point_double_jacobian()
1162 vli_mod_add(z1, x1, x1, curve_prime, ndigits); in ecc_point_double_jacobian()
1163 /* t1 = 3*(x1^2 - z1^4) */ in ecc_point_double_jacobian()
1164 vli_mod_add(x1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1173 /* t1 = 3/2*(x1^2 - z1^4) = B */ in ecc_point_double_jacobian()
1176 vli_mod_square_fast(z1, x1, curve); in ecc_point_double_jacobian()
1178 vli_mod_sub(z1, z1, t5, curve_prime, ndigits); in ecc_point_double_jacobian()
1180 vli_mod_sub(z1, z1, t5, curve_prime, ndigits); in ecc_point_double_jacobian()
1182 vli_mod_sub(t5, t5, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1188 vli_set(x1, z1, ndigits); in ecc_point_double_jacobian()
1189 vli_set(z1, y1, ndigits); in ecc_point_double_jacobian()