Searched refs:vli_cmp (Results 1 – 3 of 3) sorted by relevance
/crypto/ |
D | ecrdsa.c | 116 vli_cmp(r, ctx->curve->n, ndigits) >= 0 || in ecrdsa_verify() 118 vli_cmp(s, ctx->curve->n, ndigits) >= 0) in ecrdsa_verify() 124 if (vli_cmp(e, ctx->curve->n, ndigits) >= 0) in ecrdsa_verify() 140 if (vli_cmp(cc.x, ctx->curve->n, ndigits) >= 0) in ecrdsa_verify() 144 if (!vli_cmp(cc.x, r, ndigits)) in ecrdsa_verify()
|
D | ecc.c | 204 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits) in vli_cmp() function 217 EXPORT_SYMBOL(vli_cmp); 487 if (carry || vli_cmp(result, mod, ndigits) >= 0) in vli_mod_add() 531 while (vli_cmp(r, t, ndigits * 2) >= 0) in vli_mmod_special() 588 while (vli_cmp(r, m, ndigits * 2) >= 0) in vli_mmod_special2() 662 vli_cmp(r, mod, ndigits) != -1) { in vli_mmod_barrett() 695 while (carry || vli_cmp(curve_prime, result, ndigits) != 1) in vli_mmod_fast_192() 773 while (carry || vli_cmp(curve_prime, result, ndigits) != 1) in vli_mmod_fast_256() 877 while ((cmp_result = vli_cmp(a, b, ndigits)) != 0) { in vli_mod_inv() 902 if (vli_cmp(u, v, ndigits) < 0) in vli_mod_inv() [all …]
|
D | ecc.h | 182 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits);
|