Home
last modified time | relevance | path

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

12

/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_montgomery.c226 hpre_montgomery_params_fill(const struct hpre_mgm_curve *curve, in hpre_montgomery_params_fill()
273 hpre_montgomery_request_init(const struct hpre_mgm_curve *curve, in hpre_montgomery_request_init()
394 const struct hpre_mgm_curve *curve = NULL; in hpre_montgomery_gen_keypair() local
438 const struct hpre_mgm_curve *curve = NULL; in hpre_montgomery_do_shared_secret() local
H A Dhpre_ecc.c754 hpre_ecc_dh_params_fill(const struct hpre_ecc_curve *curve, in hpre_ecc_dh_params_fill()
827 static TEE_Result hpre_ecc_request_init(const struct hpre_ecc_curve *curve, in hpre_ecc_request_init()
908 const struct hpre_ecc_curve *curve = NULL; in hpre_ecc_gen_keypair() local
963 const struct hpre_ecc_curve *curve = NULL; in hpre_ecc_do_shared_secret() local
1016 hpre_ecc_sign_params_fill(const struct hpre_ecc_curve *curve, in hpre_ecc_sign_params_fill()
1113 hpre_ecc_sign_request_init(const struct hpre_ecc_curve *curve, in hpre_ecc_sign_request_init()
1146 const struct hpre_ecc_curve *curve) in hpre_ecdsa_param_check()
1171 const struct hpre_ecc_curve *curve = NULL; in hpre_ecc_sign() local
1291 hpre_ecc_verify_params_fill(const struct hpre_ecc_curve *curve, in hpre_ecc_verify_params_fill()
1381 hpre_ecc_verify_request_init(const struct hpre_ecc_curve *curve, in hpre_ecc_verify_request_init()
[all …]
/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_ecc.c258 enum caam_ecc_curve curve = CAAM_ECC_UNKNOWN; in do_gen_keypair() local
440 enum caam_ecc_curve curve = CAAM_ECC_UNKNOWN; in do_sign() local
623 enum caam_ecc_curve curve = CAAM_ECC_UNKNOWN; in do_verify() local
783 enum caam_ecc_curve curve = CAAM_ECC_UNKNOWN; in do_shared_secret() local
/optee_os/core/include/crypto/
H A Dcrypto.h159 uint32_t curve; /* Curve type */ member
167 uint32_t curve; /* Curve type */ member
179 uint32_t curve; member
184 uint32_t curve; member
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Decc.c17 static size_t get_ecc_key_size_bytes(uint32_t curve) in get_ecc_key_size_bytes()
47 static size_t get_ecc_key_size_bits(uint32_t curve) in get_ecc_key_size_bits()
72 static bool algo_is_valid(uint32_t curve, uint32_t algo) in algo_is_valid()
/optee_os/core/drivers/crypto/caam/mp/
H A Dcaam_mp.c35 uint8_t curve; /* Protocol Data Block curve selection */ member
329 uint8_t curve = 0; in caam_mp_init() local
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Decc_set_curve_internal.c18 const ltc_ecc_curve *curve; in s_ecc_oid_lookup() local
H A Decc_import_pkcs8.c49 const ltc_ecc_curve *curve; in ecc_import_pkcs8() local
H A Decc_import_openssl.c14 const ltc_ecc_curve *curve; in s_ecc_import_private_with_oid() local
H A Decc_import_x509.c13 const ltc_ecc_curve *curve; in s_ecc_import_x509_with_oid() local
/optee_os/core/drivers/crypto/se050/core/
H A Decc.c74 static uint32_t cipher_tee2se050(uint32_t curve) in cipher_tee2se050()
89 static uint32_t curve_tee2se050(uint32_t curve) in curve_tee2se050()
108 static uint32_t curve_se0502tee(uint32_t curve) in curve_se0502tee()
134 static TEE_Result ecc_get_key_size(uint32_t curve, uint32_t algo, in ecc_get_key_size()
/optee_os/ta/pkcs11/src/
H A Dprocessing_ec.c302 const struct supported_ecc_curve *curve = ec_curve_param + idx; in get_curve() local
318 const struct supported_ecc_curve *curve = get_curve(ec_params, size); in ec_params2tee_keysize() local
333 const struct supported_ecc_curve *curve = get_curve(ec_params, size); in ec_params2tee_curve() local
/optee_os/lib/libmbedtls/core/
H A Decc.c47 static TEE_Result ecc_get_keysize(uint32_t curve, uint32_t algo, in ecc_get_keysize()
87 static mbedtls_ecp_group_id curve_to_group_id(uint32_t curve) in curve_to_group_id()
/optee_os/core/drivers/crypto/versal/include/
H A Dipi.h28 uint32_t curve; member
36 uint32_t curve; member
/optee_os/core/lib/libtomcrypt/
H A Decc.c31 static TEE_Result ecc_get_curve_info(uint32_t curve, uint32_t algo, in ecc_get_curve_info()
116 const ltc_ecc_curve *curve = NULL; in ecc_set_curve_from_name() local
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpk_internal.h94 psa_ecc_family_t curve; in mbedtls_pk_get_ec_group_id() local
H A Dpsa_crypto_ecp.c324 psa_ecc_family_t curve = PSA_KEY_TYPE_ECC_GET_FAMILY( in mbedtls_psa_ecp_generate_key() local
544 psa_ecc_family_t curve = mbedtls_ecc_group_to_psa(ecp->grp.id, &bits); in mbedtls_psa_key_agreement_ecdh() local
H A Dpk_wrap.c539 psa_ecc_family_t curve, size_t curve_bits, in ecdsa_verify_psa()
611 psa_ecc_family_t curve; in ecdsa_opaque_verify_wrap() local
639 psa_ecc_family_t curve = pk->ec_family; in ecdsa_verify_wrap() local
657 psa_ecc_family_t curve = mbedtls_ecc_group_to_psa(ctx->grp.id, &curve_bits); in ecdsa_verify_wrap() local
766 psa_ecc_family_t curve = in ecdsa_sign_wrap() local
966 const psa_ecc_family_t curve = in eckey_check_pair_psa() local
H A Decjpake.c96 mbedtls_ecp_group_id curve, in mbedtls_ecjpake_setup()
H A Dpsa_crypto.c4006 psa_ecc_family_t curve = PSA_KEY_TYPE_ECC_GET_FAMILY(attributes->type); in mbedtls_psa_sign_hash_start() local
4226 psa_ecc_family_t curve = PSA_KEY_TYPE_ECC_GET_FAMILY(attributes->type); in mbedtls_psa_verify_hash_start() local
6396 psa_ecc_family_t curve = PSA_KEY_TYPE_ECC_GET_FAMILY( in psa_generate_derived_ecc_key_weierstrass_helper() local
6576 psa_ecc_family_t curve = PSA_KEY_TYPE_ECC_GET_FAMILY(slot->attr.type); in psa_generate_derived_key_internal() local
/optee_os/core/drivers/crypto/versal/
H A Decc.c84 static TEE_Result ecc_get_key_size(uint32_t curve, size_t *bytes, size_t *bits) in ecc_get_key_size()
110 static void crypto_bignum_bn2bin_eswap(uint32_t curve, in crypto_bignum_bn2bin_eswap()
/optee_os/core/drivers/crypto/se050/adaptors/include/
H A Dse050_apdu_apis.h62 uint32_t curve; member
/optee_os/core/drivers/crypto/stm32/
H A Decc.c43 static TEE_Result curve_to_pka_cid(uint32_t curve, in curve_to_pka_cid()
/optee_os/lib/libmbedtls/mbedtls/include/psa/
H A Dcrypto_values.h559 #define PSA_KEY_TYPE_ECC_KEY_PAIR(curve) \ argument
570 #define PSA_KEY_TYPE_ECC_PUBLIC_KEY(curve) \ argument
/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_desc_defines.h389 #define PROT_MP_CURVE(curve) SHIFT_U32((curve) & 0xF, 17) argument
730 #define PDB_ECC_ECDSEL(curve) SHIFT_U32((curve) & 0x3F, 7) argument

12