Home
last modified time | relevance | path

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

/Linux-v4.19/crypto/
Decc.c174 static int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits) in vli_cmp() function
385 if (carry || vli_cmp(result, mod, ndigits) >= 0) in vli_mod_add()
429 while (carry || vli_cmp(curve_prime, result, ndigits) != 1) in vli_mmod_fast_192()
507 while (carry || vli_cmp(curve_prime, result, ndigits) != 1) in vli_mmod_fast_256()
579 while ((cmp_result = vli_cmp(a, b, ndigits)) != 0) { in vli_mod_inv()
604 if (vli_cmp(u, v, ndigits) < 0) in vli_mod_inv()
618 if (vli_cmp(v, u, ndigits) < 0) in vli_mod_inv()
925 if (vli_cmp(curve->n, private_key, ndigits) != 1) in ecc_is_key_valid()
978 if (vli_cmp(curve->n, priv, ndigits) != 1) in ecc_gen_privkey()
1033 if (vli_cmp(curve->p, pk->x, pk->ndigits) != 1) in ecc_is_pubkey_valid_partial()
[all …]