Home
last modified time | relevance | path

Searched refs:vli_sub (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/crypto/
H A Decc.c310 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 …]
H A Decrdsa.c125 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()
H A Decdsa.c126 vli_sub(res.x, res.x, curve->n, ndigits); in _ecdsa_verify()
/openbmc/linux/include/crypto/internal/
H A Decc.h182 u64 vli_sub(u64 *result, const u64 *left, const u64 *right,
/openbmc/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c471 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()