Searched refs:vli_sub (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/crypto/ |
D | ecc.c | 334 u64 vli_sub(u64 *result, const u64 *left, const u64 *right, in vli_sub() function 352 EXPORT_SYMBOL(vli_sub); 526 vli_sub(result, result, mod, ndigits); in vli_mod_add() 535 u64 borrow = vli_sub(result, left, right, ndigits); in vli_mod_sub() 570 vli_sub(r, r, t, ndigits * 2); in vli_mmod_special() 620 vli_sub(r, r, qc, ndigits * 2); in vli_mmod_special2() 627 vli_sub(r, r, m, ndigits * 2); in vli_mmod_special2() 698 vli_sub(r, product, r, ndigits * 2); in vli_mmod_barrett() 703 carry = vli_sub(r, r, mod, ndigits); in vli_mmod_barrett() 734 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 | 118 vli_sub(res.x, res.x, curve->n, ndigits); in _ecdsa_verify()
|
/linux-6.12.1/include/crypto/internal/ |
D | ecc.h | 197 u64 vli_sub(u64 *result, const u64 *left, const u64 *right,
|
/linux-6.12.1/drivers/crypto/intel/keembay/ |
D | keembay-ocs-ecc.c | 471 vli_sub(res, curve->n, one, ndigits); in kmb_ecc_is_key_valid() 472 vli_sub(res, res, one, ndigits); in kmb_ecc_is_key_valid()
|