Lines Matching refs:ecc_point
73 static struct ecc_point *ecc_alloc_point(unsigned int ndigits) in ecc_alloc_point()
75 struct ecc_point *p = kmalloc(sizeof(*p), GFP_KERNEL); in ecc_alloc_point()
99 static void ecc_free_point(struct ecc_point *p) in ecc_free_point()
936 static bool ecc_point_is_zero(const struct ecc_point *point) in ecc_point_is_zero()
1142 static void ecc_point_mult(struct ecc_point *result, in ecc_point_mult()
1143 const struct ecc_point *point, const u64 *scalar, in ecc_point_mult()
1206 static void ecc_point_add(const struct ecc_point *result, in ecc_point_add()
1207 const struct ecc_point *p, const struct ecc_point *q, in ecc_point_add()
1228 void ecc_point_mult_shamir(const struct ecc_point *result, in ecc_point_mult_shamir()
1229 const u64 *u1, const struct ecc_point *p, in ecc_point_mult_shamir()
1230 const u64 *u2, const struct ecc_point *q, in ecc_point_mult_shamir()
1239 struct ecc_point sum = ECC_POINT_INIT(sump[0], sump[1], ndigits); in ecc_point_mult_shamir()
1240 const struct ecc_point *points[4]; in ecc_point_mult_shamir()
1241 const struct ecc_point *point; in ecc_point_mult_shamir()
1389 struct ecc_point *pk; in ecc_make_pub_key()
1424 struct ecc_point *pk) in ecc_is_pubkey_valid_partial()
1460 struct ecc_point *product, *pk; in crypto_ecdh_shared_secret()