Searched refs:curve_prime (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/crypto/ |
D | ecc.c | 410 const u64 *curve_prime, u64 *tmp) in vli_mmod_fast_192() argument 429 while (carry || vli_cmp(curve_prime, result, ndigits) != 1) in vli_mmod_fast_192() 430 carry -= vli_sub(result, result, curve_prime, ndigits); in vli_mmod_fast_192() 437 const u64 *curve_prime, u64 *tmp) in vli_mmod_fast_256() argument 504 carry += vli_add(result, result, curve_prime, ndigits); in vli_mmod_fast_256() 507 while (carry || vli_cmp(curve_prime, result, ndigits) != 1) in vli_mmod_fast_256() 508 carry -= vli_sub(result, result, curve_prime, ndigits); in vli_mmod_fast_256() 516 const u64 *curve_prime, unsigned int ndigits) in vli_mmod_fast() argument 522 vli_mmod_fast_192(result, product, curve_prime, tmp); in vli_mmod_fast() 525 vli_mmod_fast_256(result, product, curve_prime, tmp); in vli_mmod_fast() [all …]
|