Home
last modified time | relevance | path

Searched refs:ecc_point (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/include/crypto/internal/
H A 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);
245 struct ecc_point *ecc_alloc_point(unsigned int ndigits);
252 void ecc_free_point(struct ecc_point *p);
261 bool ecc_point_is_zero(const struct ecc_point *point);
276 void ecc_point_mult_shamir(const struct ecc_point *result,
277 const u64 *x, const struct ecc_point *p,
278 const u64 *y, const struct ecc_point *q,
/kernel/linux/linux-5.10/crypto/
H A Decc.h40 * struct ecc_point - elliptic curve point in affine coordinates
46 struct ecc_point { struct
52 #define ECC_POINT_INIT(x, y, ndigits) (struct ecc_point) { x, y, ndigits }
69 struct ecc_point g;
174 struct ecc_point *pk);
188 struct ecc_point *pk);
281 void ecc_point_mult_shamir(const struct ecc_point *result,
282 const u64 *x, const struct ecc_point *p,
283 const u64 *y, const struct ecc_point *q,
H A Decc.c76 static struct ecc_point *ecc_alloc_point(unsigned int ndigits) in ecc_alloc_point()
78 struct ecc_point *p = kmalloc(sizeof(*p), GFP_KERNEL); in ecc_alloc_point()
102 static void ecc_free_point(struct ecc_point *p) in ecc_free_point()
1057 static bool ecc_point_is_zero(const struct ecc_point *point) in ecc_point_is_zero()
1268 static void ecc_point_mult(struct ecc_point *result, in ecc_point_mult()
1269 const struct ecc_point *point, const u64 *scalar, in ecc_point_mult()
1328 static void ecc_point_add(const struct ecc_point *result, in ecc_point_add()
1329 const struct ecc_point *p, const struct ecc_point *q, in ecc_point_add()
1350 void ecc_point_mult_shamir(const struct ecc_point *resul
[all...]
H A Decrdsa.c43 struct ecc_point pub_key;
85 struct ecc_point cc = ECC_POINT_INIT(s, e, ndigits); /* reuse s, e */ in ecrdsa_verify()
H A Decdsa.c23 struct ecc_point pub_key;
103 struct ecc_point res = ECC_POINT_INIT(x1, y1, ndigits); in _ecdsa_verify()
/kernel/linux/linux-6.6/include/crypto/
H A Decc_curve.h10 * struct ecc_point - elliptic curve point in affine coordinates
16 struct ecc_point { struct
37 struct ecc_point g;
/kernel/linux/linux-6.6/crypto/
H A Decc.c84 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 *resul
[all...]
H A Decdsa.c23 struct ecc_point pub_key;
103 struct ecc_point res = ECC_POINT_INIT(x1, y1, ndigits); in _ecdsa_verify()
H A Decrdsa.c43 struct ecc_point pub_key;
85 struct ecc_point cc = ECC_POINT_INIT(s, e, ndigits); /* reuse s, e */ in ecrdsa_verify()
/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c221 struct ecc_point *result, in kmb_ecc_point_mult()
222 const struct ecc_point *point, in kmb_ecc_point_mult()
351 struct ecc_point *pk) in kmb_ocs_ecc_is_pubkey_valid_partial()
426 struct ecc_point *pk) in kmb_ocs_ecc_is_pubkey_valid_full()
428 struct ecc_point *nQ; in kmb_ocs_ecc_is_pubkey_valid_full()
583 struct ecc_point *pk, *result; in kmb_ecc_do_shared_secret()
663 struct ecc_point *pk; in kmb_ecc_do_public_key()

Completed in 10 milliseconds