Searched refs:curve_prime (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/crypto/ |
D | ecc.c | 676 const u64 *curve_prime, u64 *tmp) in vli_mmod_fast_192() argument 695 while (carry || vli_cmp(curve_prime, result, ndigits) != 1) in vli_mmod_fast_192() 696 carry -= vli_sub(result, result, curve_prime, ndigits); in vli_mmod_fast_192() 703 const u64 *curve_prime, u64 *tmp) in vli_mmod_fast_256() argument 770 carry += vli_add(result, result, curve_prime, ndigits); in vli_mmod_fast_256() 773 while (carry || vli_cmp(curve_prime, result, ndigits) != 1) in vli_mmod_fast_256() 774 carry -= vli_sub(result, result, curve_prime, ndigits); in vli_mmod_fast_256() 784 const u64 *curve_prime, unsigned int ndigits) in vli_mmod_fast() argument 789 if (curve_prime[0] != -1ull) { in vli_mmod_fast() 791 if (curve_prime[ndigits - 1] == -1ull) { in vli_mmod_fast() [all …]
|