Home
last modified time | relevance | path

Searched refs:ecc_curve (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/crypto/
H A Decc.h55 * struct ecc_curve - definition of elliptic curve
67 struct ecc_curve { struct
97 const struct ecc_curve *ecc_get_curve(unsigned int curve_id);
173 int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve,
187 int ecc_is_pubkey_valid_full(const struct ecc_curve *curve,
284 const struct ecc_curve *curve);
H A Decrdsa_defs.h48 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 = {
H A Decc_curve_defs.h18 static struct ecc_curve nist_p192 = {
44 static struct ecc_curve nist_p256 = {
76 static struct ecc_curve nist_p384 = {
H A Decc.c45 const struct ecc_curve *ecc_get_curve(unsigned int curve_id) in ecc_get_curve()
900 const struct ecc_curve *curve) in vli_mmod_fast()
956 const struct ecc_curve *curve) in vli_mod_mult_fast()
966 const struct ecc_curve *curve) in vli_mod_square_fast()
1069 const struct ecc_curve *curve) in ecc_point_double_jacobian()
1133 static void apply_z(u64 *x1, u64 *y1, u64 *z, const struct ecc_curve *curve) in apply_z()
1145 u64 *p_initial_z, const struct ecc_curve *curve) in xycz_initial_double()
1171 const struct ecc_curve *curve) in xycz_add()
1214 const struct ecc_curve *curve) in xycz_add_c()
1270 u64 *initial_z, const struct ecc_curve *curv in ecc_point_mult()
[all...]
H A Decdsa.c18 const struct ecc_curve *curve;
27 const struct ecc_curve *curve;
96 const struct ecc_curve *curve = ctx->curve; in _ecdsa_verify()
H A Decrdsa.c38 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()
/kernel/linux/linux-6.6/include/crypto/
H A Decc_curve.h23 * struct ecc_curve - definition of elliptic curve
35 struct ecc_curve { struct
51 const struct ecc_curve *ecc_get_curve(unsigned int curve_id);
58 const struct ecc_curve *ecc_get_curve25519(void);
/kernel/linux/linux-6.6/include/crypto/internal/
H A Decc.h29 #include <crypto/ecc_curve.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);
/kernel/linux/linux-6.6/crypto/
H A Decrdsa_defs.h48 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 = {
H A Decc_curve_defs.h18 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 = {
H A Decc.c27 #include <crypto/ecc_curve.h>
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 *curv in xycz_add()
[all...]
H A Decdsa.c18 const struct ecc_curve *curve;
27 const struct ecc_curve *curve;
96 const struct ecc_curve *curve = ctx->curve; in _ecdsa_verify()
H A Decrdsa.c38 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()
/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c10 #include <crypto/ecc_curve.h>
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 *curv in kmb_ecc_do_public_key()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c6 #include <crypto/ecc_curve.h>
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()

Completed in 17 milliseconds