/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | acipher_helpers.h | 43 struct ecc_public_key *key, 59 TEE_Result sm2_ltc_dsa_verify(uint32_t algo, struct ecc_public_key *key, 72 sm2_ltc_dsa_verify(uint32_t algo __unused, struct ecc_public_key *key __unused, in sm2_ltc_dsa_verify() 84 TEE_Result sm2_ltc_pke_encrypt(struct ecc_public_key *key, const uint8_t *src, 98 sm2_ltc_pke_encrypt(struct ecc_public_key *key __unused, in sm2_ltc_pke_encrypt()
|
A D | ecc.c | 16 static void _ltc_ecc_free_public_key(struct ecc_public_key *s) in _ltc_ecc_free_public_key() 224 struct ecc_public_key *key, in ecc_populate_ltc_public_key() 289 static TEE_Result _ltc_ecc_verify(uint32_t algo, struct ecc_public_key *key, in _ltc_ecc_verify() 321 struct ecc_public_key *public_key, in _ltc_ecc_shared_secret() 498 TEE_Result crypto_asym_alloc_ecc_public_key(struct ecc_public_key *s, in crypto_asym_alloc_ecc_public_key()
|
A D | sm2-kep.c | 405 struct ecc_public_key *peer_key, in crypto_acipher_sm2_kep_derive() 406 struct ecc_public_key *peer_eph_key, in crypto_acipher_sm2_kep_derive()
|
A D | sm2-dsa.c | 139 TEE_Result sm2_ltc_dsa_verify(uint32_t algo, struct ecc_public_key *key, in sm2_ltc_dsa_verify()
|
A D | sm2-pke.c | 332 TEE_Result sm2_ltc_pke_encrypt(struct ecc_public_key *key, const uint8_t *src, in sm2_ltc_pke_encrypt()
|
/optee_os-3.20.0/core/include/crypto/ |
A D | crypto.h | 156 struct ecc_public_key { struct 199 TEE_Result crypto_acipher_alloc_ecc_public_key(struct ecc_public_key *s, 205 void crypto_acipher_free_ecc_public_key(struct ecc_public_key *s); 278 TEE_Result crypto_acipher_ecc_verify(uint32_t algo, struct ecc_public_key *key, 282 struct ecc_public_key *public_key, 288 TEE_Result crypto_acipher_sm2_pke_encrypt(struct ecc_public_key *key, 312 struct ecc_public_key *peer_key, 313 struct ecc_public_key *peer_eph_key,
|
A D | crypto_impl.h | 333 void (*free)(struct ecc_public_key *key); 334 TEE_Result (*verify)(uint32_t algo, struct ecc_public_key *key, 337 TEE_Result (*encrypt)(struct ecc_public_key *key, const uint8_t *src, 357 struct ecc_public_key *public_key, 370 TEE_Result crypto_asym_alloc_ecc_public_key(struct ecc_public_key *key, 378 crypto_asym_alloc_ecc_public_key(struct ecc_public_key *key __unused, in crypto_asym_alloc_ecc_public_key() 407 TEE_Result drvcrypt_asym_alloc_ecc_public_key(struct ecc_public_key *key, 415 drvcrypt_asym_alloc_ecc_public_key(struct ecc_public_key *key __unused, in drvcrypt_asym_alloc_ecc_public_key()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | sm2-pke.h | 12 TEE_Result sm2_mbedtls_pke_encrypt(struct ecc_public_key *key,
|
A D | sm2-dsa.h | 17 TEE_Result sm2_mbedtls_dsa_verify(uint32_t algo, struct ecc_public_key *key,
|
A D | ecc.c | 38 static void ecc_free_public_key(struct ecc_public_key *s) in ecc_free_public_key() 283 static TEE_Result ecc_verify(uint32_t algo, struct ecc_public_key *key, in ecc_verify() 353 struct ecc_public_key *public_key, in ecc_shared_secret() 538 TEE_Result crypto_asym_alloc_ecc_public_key(struct ecc_public_key *s, in crypto_asym_alloc_ecc_public_key()
|
A D | sm2-kep.c | 264 const struct ecc_public_key *from) in extract_xy_from_public_key() 276 struct ecc_public_key *peer_key, in crypto_acipher_sm2_kep_derive() 277 struct ecc_public_key *peer_eph_key, in crypto_acipher_sm2_kep_derive()
|
A D | sm2-dsa.c | 150 struct ecc_public_key *key, in sm2_mbedtls_dsa_verify()
|
A D | sm2-pke.c | 302 TEE_Result sm2_mbedtls_pke_encrypt(struct ecc_public_key *key, in sm2_mbedtls_pke_encrypt()
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/ |
A D | ecc.c | 100 static void ecc_free_public_key(struct ecc_public_key *key) in ecc_free_public_key() 226 static TEE_Result ecc_verify(uint32_t algo, struct ecc_public_key *key, in ecc_verify() 285 struct ecc_public_key *public_key, in ecc_shared_secret() 386 TEE_Result drvcrypt_asym_alloc_ecc_public_key(struct ecc_public_key *key, in drvcrypt_asym_alloc_ecc_public_key()
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/include/ |
A D | drvcrypt_acipher.h | 143 TEE_Result (*alloc_publickey)(struct ecc_public_key *key, 146 void (*free_publickey)(struct ecc_public_key *key);
|
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | ecc.c | 259 struct ecc_public_key *key, in se050_inject_public_key() 400 struct ecc_public_key *public_key, in shared_secret_fallback() 420 static TEE_Result verify_fallback(uint32_t algo, struct ecc_public_key *key, in verify_fallback() 446 struct ecc_public_key *public_key, in shared_secret() 587 static TEE_Result verify(uint32_t algo, struct ecc_public_key *key, in verify() 761 static TEE_Result do_alloc_publickey(struct ecc_public_key *s, in do_alloc_publickey() 776 static void do_free_publickey(struct ecc_public_key *s) in do_free_publickey()
|
/optee_os-3.20.0/core/crypto/ |
A D | crypto.c | 679 TEE_Result crypto_acipher_alloc_ecc_public_key(struct ecc_public_key *key, in crypto_acipher_alloc_ecc_public_key() 715 void crypto_acipher_free_ecc_public_key(struct ecc_public_key *key) in crypto_acipher_free_ecc_public_key() 742 TEE_Result crypto_acipher_ecc_verify(uint32_t algo, struct ecc_public_key *key, in crypto_acipher_ecc_verify() 755 struct ecc_public_key *public_key, in crypto_acipher_ecc_shared_secret() 780 TEE_Result crypto_acipher_sm2_pke_encrypt(struct ecc_public_key *key, in crypto_acipher_sm2_pke_encrypt() 796 struct ecc_public_key *peer_key in crypto_acipher_sm2_kep_derive() 798 struct ecc_public_key *peer_eph_key in crypto_acipher_sm2_kep_derive()
|
/optee_os-3.20.0/core/drivers/crypto/versal/ |
A D | ecc.c | 165 static TEE_Result verify(uint32_t algo, struct ecc_public_key *key, in verify() 333 struct ecc_public_key *public_key, in shared_secret() 392 static TEE_Result do_alloc_publickey(struct ecc_public_key *s, size_t size_bits) in do_alloc_publickey() 406 static void do_free_publickey(struct ecc_public_key *s) in do_free_publickey()
|
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/ |
A D | caam_ecc.c | 60 const struct ecc_public_key *inkey, in do_keypub_conv() 184 static TEE_Result do_allocate_publickey(struct ecc_public_key *key, in do_allocate_publickey() 217 static void do_free_publickey(struct ecc_public_key *key) in do_free_publickey() 467 struct ecc_public_key *inkey = sdata->key; in do_verify() 602 struct ecc_public_key *inpubkey = sdata->key_pub; in do_shared_secret()
|
/optee_os-3.20.0/core/tee/ |
A D | tee_svc_cryp.c | 346 RAW_DATA(struct ecc_public_key, x) 353 RAW_DATA(struct ecc_public_key, y) 360 RAW_DATA(struct ecc_public_key, curve) 400 RAW_DATA(struct ecc_public_key, x) 407 RAW_DATA(struct ecc_public_key, y) 568 sizeof(struct ecc_public_key), 576 sizeof(struct ecc_public_key), 584 sizeof(struct ecc_public_key), 592 sizeof(struct ecc_public_key), 600 sizeof(struct ecc_public_key), [all …]
|