Home
last modified time | relevance | path

Searched refs:ecc_point (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/crypto/
Decc.h42 #define ECC_POINT_INIT(x, y, ndigits) (struct ecc_point) { x, y, ndigits }
134 struct ecc_point *pk);
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,
Decc.c84 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()
[all …]
Decrdsa.c43 struct ecc_point pub_key;
85 struct ecc_point cc = ECC_POINT_INIT(s, e, ndigits); /* reuse s, e */ in ecrdsa_verify()
Decdsa.c23 struct ecc_point pub_key;
103 struct ecc_point res = ECC_POINT_INIT(x1, y1, ndigits); in _ecdsa_verify()
/Linux-v5.15/include/crypto/
Decc_curve.h16 struct ecc_point { struct
37 struct ecc_point g; argument