Home
last modified time | relevance | path

Searched refs:ecc_curve (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/crypto/
H A Decc_curve_defs.h18 static struct ecc_curve nist_p192 = {
45 static struct ecc_curve nist_p256 = {
78 static struct ecc_curve nist_p384 = {
123 static struct ecc_curve nist_p521 = {
144 static const struct ecc_curve ecc_25519 = {
H A Decrdsa_defs.h48 static struct ecc_curve gost_cp256a = {
82 static struct ecc_curve gost_cp256b = {
120 static struct ecc_curve gost_cp256c = {
170 static struct ecc_curve gost_tc512a = {
216 static struct ecc_curve gost_tc512b = {
H A Decc.c47 const struct ecc_curve *ecc_get_curve25519(void) in ecc_get_curve25519()
957 const struct ecc_curve *curve) in vli_mmod_fast()
1016 const struct ecc_curve *curve) in vli_mod_mult_fast()
1026 const struct ecc_curve *curve) in vli_mod_square_fast()
1130 const struct ecc_curve *curve) in ecc_point_double_jacobian()
1206 u64 *p_initial_z, const struct ecc_curve *curve) in xycz_initial_double()
1232 const struct ecc_curve *curve) in xycz_add()
1275 const struct ecc_curve *curve) in xycz_add_c()
1331 u64 *initial_z, const struct ecc_curve *curve, in ecc_point_mult()
1394 const struct ecc_curve *curve) in ecc_point_add()
[all …]
H A Decrdsa.c37 const struct ecc_curve *curve; /* curve from oid */
46 static const struct ecc_curve *get_curve_by_oid(enum OID oid) in get_curve_by_oid()
H A Decdsa.c15 const struct ecc_curve *curve;
25 const struct ecc_curve *curve = ctx->curve; in _ecdsa_verify()
/linux-6.15/include/crypto/
H A Decc_curve.h36 struct ecc_curve { struct
53 const struct ecc_curve *ecc_get_curve(unsigned int curve_id); argument
60 const struct ecc_curve *ecc_get_curve25519(void);
/linux-6.15/include/crypto/internal/
H A Decc.h160 int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve,
174 int ecc_is_pubkey_valid_full(const struct ecc_curve *curve,
306 const struct ecc_curve *curve);
/linux-6.15/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c101 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.15/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c1289 const struct ecc_curve *curve = ecc_get_curve(ctx->curve_id); in hpre_ecdh_fill_curve()
1692 const struct ecc_curve *curve; in hpre_curve25519_fill_curve()
1872 const struct ecc_curve *curve; in hpre_curve25519_src_init()