Searched refs:ecc_curve (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/drivers/crypto/intel/keembay/ |
D | keembay-ocs-ecc.c | 101 const struct ecc_curve *curve; 224 const struct ecc_curve *curve) in kmb_ecc_point_mult() 307 const struct ecc_curve *curve, in kmb_ecc_do_scalar_op() 350 const struct ecc_curve *curve, in kmb_ocs_ecc_is_pubkey_valid_partial() 425 const struct ecc_curve *curve, in kmb_ocs_ecc_is_pubkey_valid_full() 454 static int kmb_ecc_is_key_valid(const struct ecc_curve *curve, in kmb_ecc_is_key_valid() 491 static int kmb_ecc_gen_privkey(const struct ecc_curve *curve, u64 *privkey) in kmb_ecc_gen_privkey() 579 const struct ecc_curve *curve = tctx->curve; in kmb_ecc_do_shared_secret() 661 const struct ecc_curve *curve = tctx->curve; in kmb_ecc_do_public_key() 726 const struct ecc_curve *curve = tctx->curve; in kmb_ocs_ecdh_generate_public_key() [all …]
|
/linux-6.6.21/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 1280 const struct ecc_curve *curve = ecc_get_curve(ctx->curve_id); in hpre_ecdh_fill_curve() 1680 const struct ecc_curve *curve; in hpre_curve25519_fill_curve() 1860 const struct ecc_curve *curve; in hpre_curve25519_src_init()
|