/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | acipher_helpers.h | 40 struct ecc_keypair *key, 55 TEE_Result sm2_ltc_dsa_sign(uint32_t algo, struct ecc_keypair *key, 64 sm2_ltc_dsa_sign(uint32_t algo __unused, struct ecc_keypair *key __unused, in sm2_ltc_dsa_sign() 81 TEE_Result sm2_ltc_pke_decrypt(struct ecc_keypair *key, const uint8_t *src, 88 static inline TEE_Result sm2_ltc_pke_decrypt(struct ecc_keypair *key __unused, in sm2_ltc_pke_decrypt()
|
A D | ecc.c | 135 static TEE_Result _ltc_ecc_generate_keypair(struct ecc_keypair *key, in _ltc_ecc_generate_keypair() 194 struct ecc_keypair *key, in ecc_populate_ltc_private_key() 250 static TEE_Result _ltc_ecc_sign(uint32_t algo, struct ecc_keypair *key, in _ltc_ecc_sign() 320 static TEE_Result _ltc_ecc_shared_secret(struct ecc_keypair *private_key, in _ltc_ecc_shared_secret() 420 TEE_Result crypto_asym_alloc_ecc_keypair(struct ecc_keypair *s, in crypto_asym_alloc_ecc_keypair()
|
A D | sm2-kep.c | 403 TEE_Result crypto_acipher_sm2_kep_derive(struct ecc_keypair *my_key, in crypto_acipher_sm2_kep_derive() 404 struct ecc_keypair *my_eph_key, in crypto_acipher_sm2_kep_derive()
|
A D | sm2-dsa.c | 21 TEE_Result sm2_ltc_dsa_sign(uint32_t algo, struct ecc_keypair *key, in sm2_ltc_dsa_sign()
|
A D | sm2-pke.c | 109 TEE_Result sm2_ltc_pke_decrypt(struct ecc_keypair *key, const uint8_t *src, in sm2_ltc_pke_decrypt()
|
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/include/ |
A D | se050_utils.h | 38 struct ecc_keypair; 41 uint32_t se050_ecc_keypair_from_nvm(struct ecc_keypair *key);
|
/optee_os-3.20.0/core/include/crypto/ |
A D | crypto.h | 163 struct ecc_keypair { struct 202 TEE_Result crypto_acipher_alloc_ecc_keypair(struct ecc_keypair *s, 218 TEE_Result crypto_acipher_gen_ecc_key(struct ecc_keypair *key, size_t key_size); 275 TEE_Result crypto_acipher_ecc_sign(uint32_t algo, struct ecc_keypair *key, 281 TEE_Result crypto_acipher_ecc_shared_secret(struct ecc_keypair *private_key, 285 TEE_Result crypto_acipher_sm2_pke_decrypt(struct ecc_keypair *key, 310 TEE_Result crypto_acipher_sm2_kep_derive(struct ecc_keypair *my_key, 311 struct ecc_keypair *my_eph_key,
|
A D | crypto_impl.h | 352 TEE_Result (*generate)(struct ecc_keypair *key, size_t key_size_bits); 353 TEE_Result (*sign)(uint32_t algo, struct ecc_keypair *key, 356 TEE_Result (*shared_secret)(struct ecc_keypair *private_key, 359 TEE_Result (*decrypt)(struct ecc_keypair *key, const uint8_t *src, 373 TEE_Result crypto_asym_alloc_ecc_keypair(struct ecc_keypair *key, 398 crypto_asym_alloc_ecc_keypair(struct ecc_keypair *key __unused, in crypto_asym_alloc_ecc_keypair() 410 TEE_Result drvcrypt_asym_alloc_ecc_keypair(struct ecc_keypair *key, 423 drvcrypt_asym_alloc_ecc_keypair(struct ecc_keypair *key __unused, in drvcrypt_asym_alloc_ecc_keypair()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | sm2-pke.h | 16 TEE_Result sm2_mbedtls_pke_decrypt(struct ecc_keypair *key, const uint8_t *src,
|
A D | sm2-dsa.h | 13 TEE_Result sm2_mbedtls_dsa_sign(uint32_t algo, struct ecc_keypair *key,
|
A D | ecc.c | 146 static TEE_Result ecc_generate_keypair(struct ecc_keypair *key, size_t key_size) in ecc_generate_keypair() 204 static TEE_Result ecc_sign(uint32_t algo, struct ecc_keypair *key, in ecc_sign() 352 static TEE_Result ecc_shared_secret(struct ecc_keypair *private_key, in ecc_shared_secret() 438 TEE_Result crypto_asym_alloc_ecc_keypair(struct ecc_keypair *s, in crypto_asym_alloc_ecc_keypair()
|
A D | sm2-kep.c | 256 const struct ecc_keypair *pair) in extract_xy_from_keypair() 274 TEE_Result crypto_acipher_sm2_kep_derive(struct ecc_keypair *my_key, in crypto_acipher_sm2_kep_derive() 275 struct ecc_keypair *my_eph_key, in crypto_acipher_sm2_kep_derive()
|
A D | sm2-dsa.c | 25 TEE_Result sm2_mbedtls_dsa_sign(uint32_t algo __unused, struct ecc_keypair *key, in sm2_mbedtls_dsa_sign()
|
A D | sm2-pke.c | 110 TEE_Result sm2_mbedtls_pke_decrypt(struct ecc_keypair *key, const uint8_t *src, in sm2_mbedtls_pke_decrypt()
|
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | ecc.c | 315 struct ecc_keypair *key, in se050_inject_keypair() 390 static TEE_Result gen_fallback(struct ecc_keypair *key, size_t len) in gen_fallback() 399 static TEE_Result shared_secret_fallback(struct ecc_keypair *private_key, in shared_secret_fallback() 431 static TEE_Result sign_fallback(uint32_t algo, struct ecc_keypair *key, in sign_fallback() 445 static TEE_Result shared_secret(struct ecc_keypair *private_key, in shared_secret() 510 static TEE_Result sign(uint32_t algo, struct ecc_keypair *key, in sign() 646 static TEE_Result gen_keypair(struct ecc_keypair *key, size_t key_size) in gen_keypair() 710 static TEE_Result do_gen_keypair(struct ecc_keypair *key, size_t size_bytes) in do_gen_keypair() 743 static TEE_Result do_alloc_keypair(struct ecc_keypair *s, in do_alloc_keypair()
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/ |
A D | ecc.c | 119 static TEE_Result ecc_generate_keypair(struct ecc_keypair *key, in ecc_generate_keypair() 154 static TEE_Result ecc_sign(uint32_t algo, struct ecc_keypair *key, in ecc_sign() 284 static TEE_Result ecc_shared_secret(struct ecc_keypair *private_key, in ecc_shared_secret() 349 TEE_Result drvcrypt_asym_alloc_ecc_keypair(struct ecc_keypair *key, in drvcrypt_asym_alloc_ecc_keypair()
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/include/ |
A D | drvcrypt_acipher.h | 141 TEE_Result (*alloc_keypair)(struct ecc_keypair *key, size_t size_bits); 148 TEE_Result (*gen_keypair)(struct ecc_keypair *key, size_t size_bytes);
|
/optee_os-3.20.0/core/drivers/crypto/versal/ |
A D | ecc.c | 239 static TEE_Result sign(uint32_t algo, struct ecc_keypair *key, in sign() 245 struct ecc_keypair ephemeral = { }; in sign() 332 static TEE_Result shared_secret(struct ecc_keypair *private_key, in shared_secret() 368 static TEE_Result do_gen_keypair(struct ecc_keypair *s, size_t size_bits) in do_gen_keypair() 378 static TEE_Result do_alloc_keypair(struct ecc_keypair *s, size_t size_bits) in do_alloc_keypair()
|
/optee_os-3.20.0/core/crypto/ |
A D | crypto.c | 697 TEE_Result crypto_acipher_alloc_ecc_keypair(struct ecc_keypair *key, in crypto_acipher_alloc_ecc_keypair() 722 TEE_Result crypto_acipher_gen_ecc_key(struct ecc_keypair *key, in crypto_acipher_gen_ecc_key() 730 TEE_Result crypto_acipher_ecc_sign(uint32_t algo, struct ecc_keypair *key, in crypto_acipher_ecc_sign() 754 TEE_Result crypto_acipher_ecc_shared_secret(struct ecc_keypair *private_key, in crypto_acipher_ecc_shared_secret() 768 TEE_Result crypto_acipher_sm2_pke_decrypt(struct ecc_keypair *key, in crypto_acipher_sm2_pke_decrypt() 793 TEE_Result crypto_acipher_sm2_kep_derive(struct ecc_keypair *my_key __unused, in crypto_acipher_sm2_kep_derive() 794 struct ecc_keypair *my_eph_key in crypto_acipher_sm2_kep_derive()
|
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/ |
A D | caam_ecc.c | 95 const struct ecc_keypair *inkey, in do_keypair_conv() 145 static TEE_Result do_allocate_keypair(struct ecc_keypair *key, size_t size_bits) in do_allocate_keypair() 229 static TEE_Result do_gen_keypair(struct ecc_keypair *key, size_t key_size) in do_gen_keypair() 333 struct ecc_keypair *inkey = sdata->key; in do_sign() 601 struct ecc_keypair *inprivkey = sdata->key_priv; in do_shared_secret()
|
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/utils/ |
A D | utils.c | 140 uint32_t se050_ecc_keypair_from_nvm(struct ecc_keypair *key) in se050_ecc_keypair_from_nvm()
|
/optee_os-3.20.0/core/tee/ |
A D | tee_svc_cryp.c | 369 RAW_DATA(struct ecc_keypair, d) 376 RAW_DATA(struct ecc_keypair, x) 383 RAW_DATA(struct ecc_keypair, y) 416 RAW_DATA(struct ecc_keypair, d) 423 RAW_DATA(struct ecc_keypair, x) 430 RAW_DATA(struct ecc_keypair, y) 572 sizeof(struct ecc_keypair), 580 sizeof(struct ecc_keypair), 588 sizeof(struct ecc_keypair), 596 sizeof(struct ecc_keypair), [all …]
|