Lines Matching refs:ecc_point
84 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()
111 void ecc_free_point(struct ecc_point *p) in ecc_free_point()
1068 bool ecc_point_is_zero(const struct ecc_point *point) in ecc_point_is_zero()
1280 static void ecc_point_mult(struct ecc_point *result, in ecc_point_mult()
1281 const struct ecc_point *point, const u64 *scalar, in ecc_point_mult()
1340 static void ecc_point_add(const struct ecc_point *result, in ecc_point_add()
1341 const struct ecc_point *p, const struct ecc_point *q, in ecc_point_add()
1362 void ecc_point_mult_shamir(const struct ecc_point *result, in ecc_point_mult_shamir()
1363 const u64 *u1, const struct ecc_point *p, in ecc_point_mult_shamir()
1364 const u64 *u2, const struct ecc_point *q, in ecc_point_mult_shamir()
1373 struct ecc_point sum = ECC_POINT_INIT(sump[0], sump[1], ndigits); in ecc_point_mult_shamir()
1374 const struct ecc_point *points[4]; in ecc_point_mult_shamir()
1375 const struct ecc_point *point; in ecc_point_mult_shamir()
1514 struct ecc_point *pk; in ecc_make_pub_key()
1551 struct ecc_point *pk) in ecc_is_pubkey_valid_partial()
1584 struct ecc_point *pk) in ecc_is_pubkey_valid_full()
1586 struct ecc_point *nQ; in ecc_is_pubkey_valid_full()
1614 struct ecc_point *product, *pk; in crypto_ecdh_shared_secret()