Home
last modified time | relevance | path

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

/linux-5.19.10/include/crypto/internal/ !
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,
/linux-5.19.10/include/crypto/ !
Decc_curve.h16 struct ecc_point { struct
37 struct ecc_point g; argument
/linux-5.19.10/crypto/ !
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 *result, in ecc_point_mult_shamir()
1363 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-5.19.10/drivers/crypto/keembay/ !
Dkeembay-ocs-ecc.c226 struct ecc_point *result, in kmb_ecc_point_mult()
227 const struct ecc_point *point, in kmb_ecc_point_mult()
356 struct ecc_point *pk) in kmb_ocs_ecc_is_pubkey_valid_partial()
431 struct ecc_point *pk) in kmb_ocs_ecc_is_pubkey_valid_full()
433 struct ecc_point *nQ; in kmb_ocs_ecc_is_pubkey_valid_full()
588 struct ecc_point *pk, *result; in kmb_ecc_do_shared_secret()
668 struct ecc_point *pk; in kmb_ecc_do_public_key()