Searched refs:ecc_point (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/crypto/ |
D | ecc.h | 43 struct ecc_point { struct 49 #define ECC_POINT_INIT(x, y, ndigits) (struct ecc_point) { x, y, ndigits } argument 66 struct ecc_point g; 148 struct ecc_point *pk); 241 void ecc_point_mult_shamir(const struct ecc_point *result, 242 const u64 *x, const struct ecc_point *p, 243 const u64 *y, const struct ecc_point *q,
|
D | ecc.c | 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() [all …]
|
D | ecrdsa.c | 42 struct ecc_point pub_key; 84 struct ecc_point cc = ECC_POINT_INIT(s, e, ndigits); /* reuse s, e */ in ecrdsa_verify()
|