Searched refs:vli_sub (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/crypto/ |
D | ecc.c | 310 u64 vli_sub(u64 *result, const u64 *left, const u64 *right, in vli_sub() function 328 EXPORT_SYMBOL(vli_sub); 502 vli_sub(result, result, mod, ndigits); in vli_mod_add() 511 u64 borrow = vli_sub(result, left, right, ndigits); in vli_mod_sub() 546 vli_sub(r, r, t, ndigits * 2); in vli_mmod_special() 596 vli_sub(r, r, qc, ndigits * 2); in vli_mmod_special2() 603 vli_sub(r, r, m, ndigits * 2); in vli_mmod_special2() 674 vli_sub(r, product, r, ndigits * 2); in vli_mmod_barrett() 679 carry = vli_sub(r, r, mod, ndigits); in vli_mmod_barrett() 710 carry -= vli_sub(result, result, curve_prime, ndigits); in vli_mmod_fast_192() [all …]
|
D | ecrdsa.c | 125 vli_sub(e, e, ctx->curve->n, ndigits); in ecrdsa_verify() 134 vli_sub(_r, ctx->curve->n, r, ndigits); in ecrdsa_verify() 141 vli_sub(cc.x, cc.x, ctx->curve->n, ndigits); in ecrdsa_verify()
|
D | ecdsa.c | 126 vli_sub(res.x, res.x, curve->n, ndigits); in _ecdsa_verify()
|
/linux-6.1.9/include/crypto/internal/ |
D | ecc.h | 182 u64 vli_sub(u64 *result, const u64 *left, const u64 *right,
|
/linux-6.1.9/drivers/crypto/keembay/ |
D | keembay-ocs-ecc.c | 476 vli_sub(res, curve->n, one, ndigits); in kmb_ecc_is_key_valid() 477 vli_sub(res, res, one, ndigits); in kmb_ecc_is_key_valid()
|