Searched refs:ecc_point (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/include/crypto/internal/ |
H A D | ecc.h | 42 #define ECC_POINT_INIT(x, y, ndigits) (struct ecc_point) { x, y, ndigits } 144 struct ecc_point *pk); 158 struct ecc_point *pk); 255 struct ecc_point *ecc_alloc_point(unsigned int ndigits); 262 void ecc_free_point(struct ecc_point *p); 271 bool ecc_point_is_zero(const struct ecc_point *point); 286 void ecc_point_mult_shamir(const struct ecc_point *result, 287 const u64 *x, const struct ecc_point *p, 288 const u64 *y, const struct ecc_point *q,
|
/openbmc/linux/include/crypto/ |
H A D | ecc_curve.h | 16 struct ecc_point { struct 37 struct ecc_point g; argument
|
/openbmc/linux/crypto/ |
H A D | ecc.c | 106 struct ecc_point *ecc_alloc_point(unsigned int ndigits) in ecc_alloc_point() 108 struct ecc_point *p = kmalloc(sizeof(*p), GFP_KERNEL); in ecc_alloc_point() 133 void ecc_free_point(struct ecc_point *p) in ecc_free_point() 1090 bool ecc_point_is_zero(const struct ecc_point *point) in ecc_point_is_zero() 1302 static void ecc_point_mult(struct ecc_point *result, in ecc_point_mult() 1303 const struct ecc_point *point, const u64 *scalar, in ecc_point_mult() 1362 static void ecc_point_add(const struct ecc_point *result, in ecc_point_add() 1363 const struct ecc_point *p, const struct ecc_point *q, in ecc_point_add() 1384 void ecc_point_mult_shamir(const struct ecc_point *result, in ecc_point_mult_shamir() 1385 const u64 *u1, const struct ecc_point *p, in ecc_point_mult_shamir() [all …]
|
H A D | ecrdsa.c | 43 struct ecc_point pub_key; 85 struct ecc_point cc = ECC_POINT_INIT(s, e, ndigits); /* reuse s, e */ in ecrdsa_verify()
|
H A D | ecdsa.c | 23 struct ecc_point pub_key; 90 struct ecc_point res = ECC_POINT_INIT(x1, y1, ndigits); in _ecdsa_verify()
|
/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-ecc.c | 221 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()
|