Searched refs:vli_sub (Results 1 – 3 of 3) sorted by relevance
/crypto/ |
D | ecc.c | 296 u64 vli_sub(u64 *result, const u64 *left, const u64 *right, in vli_sub() function 314 EXPORT_SYMBOL(vli_sub); 488 vli_sub(result, result, mod, ndigits); in vli_mod_add() 497 u64 borrow = vli_sub(result, left, right, ndigits); in vli_mod_sub() 532 vli_sub(r, r, t, ndigits * 2); in vli_mmod_special() 582 vli_sub(r, r, qc, ndigits * 2); in vli_mmod_special2() 589 vli_sub(r, r, m, ndigits * 2); in vli_mmod_special2() 660 vli_sub(r, product, r, ndigits * 2); in vli_mmod_barrett() 665 carry = vli_sub(r, r, mod, ndigits); in vli_mmod_barrett() 696 carry -= vli_sub(result, result, curve_prime, ndigits); in vli_mmod_fast_192() [all …]
|
D | ecrdsa.c | 124 vli_sub(e, e, ctx->curve->n, ndigits); in ecrdsa_verify() 133 vli_sub(_r, ctx->curve->n, r, ndigits); in ecrdsa_verify() 140 vli_sub(cc.x, cc.x, ctx->curve->n, ndigits); in ecrdsa_verify()
|
D | ecc.h | 182 u64 vli_sub(u64 *result, const u64 *left, const u64 *right,
|