Lines Matching refs:curve_id
45 const struct ecc_curve *ecc_get_curve(unsigned int curve_id)
47 switch (curve_id) {
1428 int ecc_is_key_valid(unsigned int curve_id, unsigned int ndigits,
1432 const struct ecc_curve *curve = ecc_get_curve(curve_id);
1455 int ecc_gen_privkey(unsigned int curve_id, unsigned int ndigits, u64 *privkey)
1457 const struct ecc_curve *curve = ecc_get_curve(curve_id);
1496 int ecc_make_pub_key(unsigned int curve_id, unsigned int ndigits,
1502 const struct ecc_curve *curve = ecc_get_curve(curve_id);
1595 int crypto_ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits,
1604 const struct ecc_curve *curve = ecc_get_curve(curve_id);