Lines Matching refs:ecc_point
84 static struct ecc_point *ecc_alloc_point(unsigned int ndigits) in ecc_alloc_point()
86 struct ecc_point *p = kmalloc(sizeof(*p), GFP_KERNEL); in ecc_alloc_point()
110 static void ecc_free_point(struct ecc_point *p) in ecc_free_point()
1065 static bool ecc_point_is_zero(const struct ecc_point *point) in ecc_point_is_zero()
1276 static void ecc_point_mult(struct ecc_point *result, in ecc_point_mult()
1277 const struct ecc_point *point, const u64 *scalar, in ecc_point_mult()
1336 static void ecc_point_add(const struct ecc_point *result, in ecc_point_add()
1337 const struct ecc_point *p, const struct ecc_point *q, in ecc_point_add()
1358 void ecc_point_mult_shamir(const struct ecc_point *result, in ecc_point_mult_shamir()
1359 const u64 *u1, const struct ecc_point *p, in ecc_point_mult_shamir()
1360 const u64 *u2, const struct ecc_point *q, in ecc_point_mult_shamir()
1369 struct ecc_point sum = ECC_POINT_INIT(sump[0], sump[1], ndigits); in ecc_point_mult_shamir()
1370 const struct ecc_point *points[4]; in ecc_point_mult_shamir()
1371 const struct ecc_point *point; in ecc_point_mult_shamir()
1508 struct ecc_point *pk; in ecc_make_pub_key()
1545 struct ecc_point *pk) in ecc_is_pubkey_valid_partial()
1578 struct ecc_point *pk) in ecc_is_pubkey_valid_full()
1580 struct ecc_point *nQ; in ecc_is_pubkey_valid_full()
1608 struct ecc_point *product, *pk; in crypto_ecdh_shared_secret()