Lines Matching refs:private_key
1418 const u64 *private_key, unsigned int ndigits) in __ecc_is_key_valid() argument
1423 if (!private_key) in __ecc_is_key_valid()
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()
1441 const u64 *private_key, unsigned int private_key_len) in ecc_is_key_valid() argument
1451 return __ecc_is_key_valid(curve, private_key, ndigits); in ecc_is_key_valid()
1509 const u64 *private_key, u64 *public_key) in ecc_make_pub_key() argument
1516 if (!private_key || !curve || ndigits > ARRAY_SIZE(priv)) { in ecc_make_pub_key()
1521 ecc_swap_digits(private_key, priv, ndigits); in ecc_make_pub_key()
1608 const u64 *private_key, const u64 *public_key, in crypto_ecdh_shared_secret() argument
1618 if (!private_key || !public_key || !curve || in crypto_ecdh_shared_secret()
1640 ecc_swap_digits(private_key, priv, ndigits); in crypto_ecdh_shared_secret()