Lines Matching refs:vli_cmp
218 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits) in vli_cmp() function
231 EXPORT_SYMBOL(vli_cmp);
501 if (carry || vli_cmp(result, mod, ndigits) >= 0) in vli_mod_add()
545 while (vli_cmp(r, t, ndigits * 2) >= 0) in vli_mmod_special()
602 while (vli_cmp(r, m, ndigits * 2) >= 0) in vli_mmod_special2()
676 vli_cmp(r, mod, ndigits) != -1) { in vli_mmod_barrett()
709 while (carry || vli_cmp(curve_prime, result, ndigits) != 1) in vli_mmod_fast_192()
787 while (carry || vli_cmp(curve_prime, result, ndigits) != 1) in vli_mmod_fast_256()
895 while (carry || vli_cmp(curve_prime, result, ndigits) != 1) in vli_mmod_fast_384()
1009 while ((cmp_result = vli_cmp(a, b, ndigits)) != 0) { in vli_mod_inv()
1034 if (vli_cmp(u, v, ndigits) < 0) in vli_mod_inv()
1048 if (vli_cmp(v, u, ndigits) < 0) in vli_mod_inv()
1430 if (vli_cmp(one, private_key, ndigits) != -1) in __ecc_is_key_valid()
1434 if (vli_cmp(res, private_key, ndigits) != 1) in __ecc_is_key_valid()
1561 if (vli_cmp(curve->p, pk->x, pk->ndigits) != 1) in ecc_is_pubkey_valid_partial()
1563 if (vli_cmp(curve->p, pk->y, pk->ndigits) != 1) in ecc_is_pubkey_valid_partial()
1573 if (vli_cmp(yy, w, pk->ndigits) != 0) /* Equation */ in ecc_is_pubkey_valid_partial()