Home
last modified time | relevance | path

Searched defs:curve (Results 1 – 11 of 11) sorted by relevance

/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/cc312-rom/
Dcc3xx_ec.c30 static void set_modulus_to_curve_modulus(cc3xx_ec_curve_t *curve) in set_modulus_to_curve_modulus()
36 static void set_modulus_to_curve_order(cc3xx_ec_curve_t *curve) in set_modulus_to_curve_order()
42 static bool validate_point(cc3xx_ec_curve_t *curve, in validate_point()
69 static cc3xx_err_t allocate_point_from_data(cc3xx_ec_curve_t *curve, in allocate_point_from_data()
85 cc3xx_err_t cc3xx_lowlevel_ec_allocate_point_from_data(cc3xx_ec_curve_t *curve, in cc3xx_lowlevel_ec_allocate_point_from_data()
208 static bool validate_curve(cc3xx_ec_curve_t *curve) in validate_curve()
236 cc3xx_ec_curve_t *curve) in cc3xx_lowlevel_ec_init()
309 cc3xx_err_t cc3xx_lowlevel_ec_add_points(cc3xx_ec_curve_t *curve, in cc3xx_lowlevel_ec_add_points()
334 cc3xx_err_t cc3xx_lowlevel_ec_double_point(cc3xx_ec_curve_t *curve, in cc3xx_lowlevel_ec_double_point()
359 static cc3xx_err_t blind_scalar(cc3xx_ec_curve_t *curve, cc3xx_pka_reg_id_t scalar, in blind_scalar()
[all …]
Dcc3xx_ec_weierstrass.c18 bool cc3xx_lowlevel_ec_weierstrass_validate_point(cc3xx_ec_curve_t *curve, in cc3xx_lowlevel_ec_weierstrass_validate_point()
86 static void double_point(cc3xx_ec_curve_t *curve, cc3xx_ec_point_projective *p, in double_point()
134 cc3xx_err_t cc3xx_lowlevel_ec_weierstrass_double_point(cc3xx_ec_curve_t *curve, in cc3xx_lowlevel_ec_weierstrass_double_point()
158 static void add_points(cc3xx_ec_curve_t *curve, cc3xx_ec_point_projective *p, in add_points()
240 cc3xx_err_t cc3xx_lowlevel_ec_weierstrass_add_points(cc3xx_ec_curve_t *curve, in cc3xx_lowlevel_ec_weierstrass_add_points()
266 cc3xx_ec_curve_t *curve, in multipy_point_by_scalar_side_channel_protected()
395 cc3xx_ec_curve_t *curve, in shamir_multiply_points_by_scalars_and_add()
477 cc3xx_ec_curve_t *curve, in cc3xx_lowlevel_ec_weierstrass_multipy_point_by_scalar()
503 cc3xx_ec_curve_t *curve, in cc3xx_lowlevel_ec_weierstrass_shamir_multiply_points_by_scalars_and_add()
Dcc3xx_ec_projective_point.c48 void cc3xx_lowlevel_ec_affine_to_jacobian_with_random_z(cc3xx_ec_curve_t *curve, in cc3xx_lowlevel_ec_affine_to_jacobian_with_random_z()
80 void cc3xx_lowlevel_ec_affine_to_jacobian(cc3xx_ec_curve_t *curve, in cc3xx_lowlevel_ec_affine_to_jacobian()
90 cc3xx_err_t cc3xx_lowlevel_ec_jacobian_to_affine(cc3xx_ec_curve_t *curve, in cc3xx_lowlevel_ec_jacobian_to_affine()
Dcc3xx_ecdsa.c25 cc3xx_ec_curve_t curve; in cc3xx_lowlevel_ecdsa_genkey() local
68 cc3xx_ec_curve_t curve; in cc3xx_lowlevel_ecdsa_getpub() local
127 cc3xx_ec_curve_t curve; in cc3xx_lowlevel_ecdsa_verify() local
279 cc3xx_ec_curve_t curve; in cc3xx_lowlevel_ecdsa_sign() local
Dcc3xx_ecdh.c25 cc3xx_ec_curve_t curve; in cc3xx_lowlevel_ecdh() local
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_psa_key_agreement.c37 psa_ecc_family_t curve = PSA_KEY_TYPE_ECC_GET_FAMILY(key_type); in cc3xx_key_agreement() local
Dcc3xx_psa_key_generation.c72 psa_ecc_family_t curve = PSA_KEY_TYPE_ECC_GET_FAMILY(key_type); in cc3xx_internal_gen_ecc_wstr_keypair() local
375 psa_ecc_family_t curve = PSA_KEY_TYPE_ECC_GET_FAMILY(key_type); in cc3xx_export_public_key() local
Dcc3xx_internal_ecc_util.c257 psa_status_t cc3xx_ecc_psa_domain_to_cc_domain(psa_ecc_family_t curve, in cc3xx_ecc_psa_domain_to_cc_domain()
Dcc3xx_psa_asymmetric_signature.c74 psa_ecc_family_t curve = PSA_KEY_TYPE_ECC_GET_FAMILY(key_type); in cc3xx_internal_ecdsa_verify() local
146 psa_ecc_family_t curve; in cc3xx_internal_ecdsa_sign() local
/trusted-firmware-m-3.7.0/interface/include/psa/
Dcrypto_values.h559 #define PSA_KEY_TYPE_ECC_KEY_PAIR(curve) \ argument
570 #define PSA_KEY_TYPE_ECC_PUBLIC_KEY(curve) \ argument
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dcrypto.c2619 int32_t ECC_GetCurve(CRPT_T *crpt, E_ECC_CURVE ecc_curve, ECC_CURVE *curve) in ECC_GetCurve()