Lines Matching refs:curve_id
53 const struct ecc_curve *ecc_get_curve(unsigned int curve_id)
55 switch (curve_id) {
1442 int ecc_is_key_valid(unsigned int curve_id, unsigned int ndigits,
1446 const struct ecc_curve *curve = ecc_get_curve(curve_id);
1469 int ecc_gen_privkey(unsigned int curve_id, unsigned int ndigits, u64 *privkey)
1471 const struct ecc_curve *curve = ecc_get_curve(curve_id);
1510 int ecc_make_pub_key(unsigned int curve_id, unsigned int ndigits,
1516 const struct ecc_curve *curve = ecc_get_curve(curve_id);
1609 int crypto_ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits,
1618 const struct ecc_curve *curve = ecc_get_curve(curve_id);