Home
last modified time | relevance | path

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

/crypto/
Decc.c947 static void ecc_point_double_jacobian(u64 *x1, u64 *y1, u64 *z1, in ecc_point_double_jacobian() argument
954 if (vli_is_zero(z1, ndigits)) in ecc_point_double_jacobian()
964 vli_mod_mult_fast(y1, y1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
966 vli_mod_square_fast(z1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
969 vli_mod_add(x1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
971 vli_mod_add(z1, z1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
973 vli_mod_sub(z1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
975 vli_mod_mult_fast(x1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
978 vli_mod_add(z1, x1, x1, curve_prime, ndigits); in ecc_point_double_jacobian()
980 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()