Home
last modified time | relevance | path

Searched refs:z1 (Results 1 – 2 of 2) sorted by relevance

/crypto/
Decc.c1076 static void ecc_point_double_jacobian(u64 *x1, u64 *y1, u64 *z1, in ecc_point_double_jacobian() argument
1085 if (vli_is_zero(z1, ndigits)) in ecc_point_double_jacobian()
1095 vli_mod_mult_fast(y1, y1, z1, curve); in ecc_point_double_jacobian()
1097 vli_mod_square_fast(z1, z1, curve); in ecc_point_double_jacobian()
1100 vli_mod_add(x1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1102 vli_mod_add(z1, z1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1104 vli_mod_sub(z1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1106 vli_mod_mult_fast(x1, x1, z1, curve); in ecc_point_double_jacobian()
1109 vli_mod_add(z1, x1, x1, curve_prime, ndigits); in ecc_point_double_jacobian()
1111 vli_mod_add(x1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
[all …]
Decrdsa.c83 u64 z1[ECRDSA_MAX_DIGITS]; in ecrdsa_verify() local
133 vli_mod_mult_slow(z1, s, v, ctx->curve->n, ndigits); in ecrdsa_verify()
138 ecc_point_mult_shamir(&cc, z1, &ctx->curve->g, z2, &ctx->pub_key, in ecrdsa_verify()