Searched refs:ecc_curve (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/crypto/ |
D | ecrdsa_defs.h | 48 static struct ecc_curve gost_cp256a = { 81 static struct ecc_curve gost_cp256b = { 118 static struct ecc_curve gost_cp256c = { 167 static struct ecc_curve gost_tc512a = { 212 static struct ecc_curve gost_tc512b = {
|
D | ecc_curve_defs.h | 18 static struct ecc_curve nist_p192 = { 44 static struct ecc_curve nist_p256 = { 76 static struct ecc_curve nist_p384 = { 96 static const struct ecc_curve ecc_25519 = {
|
D | ecc.c | 47 const struct ecc_curve *ecc_get_curve25519(void) in ecc_get_curve25519() 53 const struct ecc_curve *ecc_get_curve(unsigned int curve_id) in ecc_get_curve() 911 const struct ecc_curve *curve) in vli_mmod_fast() 967 const struct ecc_curve *curve) in vli_mod_mult_fast() 977 const struct ecc_curve *curve) in vli_mod_square_fast() 1081 const struct ecc_curve *curve) in ecc_point_double_jacobian() 1145 static void apply_z(u64 *x1, u64 *y1, u64 *z, const struct ecc_curve *curve) in apply_z() 1157 u64 *p_initial_z, const struct ecc_curve *curve) in xycz_initial_double() 1183 const struct ecc_curve *curve) in xycz_add() 1226 const struct ecc_curve *curve) in xycz_add_c() [all …]
|
D | ecdsa.c | 18 const struct ecc_curve *curve; 27 const struct ecc_curve *curve; 96 const struct ecc_curve *curve = ctx->curve; in _ecdsa_verify()
|
D | ecrdsa.c | 38 const struct ecc_curve *curve; /* curve from oid */ 47 static const struct ecc_curve *get_curve_by_oid(enum OID oid) in get_curve_by_oid()
|
/linux-5.19.10/include/crypto/ |
D | ecc_curve.h | 35 struct ecc_curve { struct 51 const struct ecc_curve *ecc_get_curve(unsigned int curve_id); argument 58 const struct ecc_curve *ecc_get_curve25519(void);
|
/linux-5.19.10/include/crypto/internal/ |
D | ecc.h | 133 int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve, 147 int ecc_is_pubkey_valid_full(const struct ecc_curve *curve, 279 const struct ecc_curve *curve);
|
/linux-5.19.10/drivers/crypto/keembay/ |
D | keembay-ocs-ecc.c | 106 const struct ecc_curve *curve; 229 const struct ecc_curve *curve) in kmb_ecc_point_mult() 312 const struct ecc_curve *curve, in kmb_ecc_do_scalar_op() 355 const struct ecc_curve *curve, in kmb_ocs_ecc_is_pubkey_valid_partial() 430 const struct ecc_curve *curve, in kmb_ocs_ecc_is_pubkey_valid_full() 459 static int kmb_ecc_is_key_valid(const struct ecc_curve *curve, in kmb_ecc_is_key_valid() 496 static int kmb_ecc_gen_privkey(const struct ecc_curve *curve, u64 *privkey) in kmb_ecc_gen_privkey() 584 const struct ecc_curve *curve = tctx->curve; in kmb_ecc_do_shared_secret() 666 const struct ecc_curve *curve = tctx->curve; in kmb_ecc_do_public_key() 731 const struct ecc_curve *curve = tctx->curve; in kmb_ocs_ecdh_generate_public_key() [all …]
|
/linux-5.19.10/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 1259 const struct ecc_curve *curve = ecc_get_curve(ctx->curve_id); in hpre_ecdh_fill_curve() 1647 const struct ecc_curve *curve; in hpre_curve25519_fill_curve() 1827 const struct ecc_curve *curve; in hpre_curve25519_src_init()
|