Home
last modified time | relevance | path

Searched refs:ecc_public_key (Results 1 – 23 of 23) sorted by relevance

/optee_os/core/lib/libtomcrypt/
H A Dacipher_helpers.h43 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()
H A Decc.c16 static void _ltc_ecc_free_public_key(struct ecc_public_key *s) in _ltc_ecc_free_public_key()
219 struct ecc_public_key *key, in ecc_populate_ltc_public_key()
284 static TEE_Result _ltc_ecc_verify(uint32_t algo, struct ecc_public_key *key, in _ltc_ecc_verify()
316 struct ecc_public_key *public_key, in _ltc_ecc_shared_secret()
493 TEE_Result crypto_asym_alloc_ecc_public_key(struct ecc_public_key *s, in crypto_asym_alloc_ecc_public_key()
H A Dsm2-kep.c405 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()
H A Dsm2-dsa.c139 TEE_Result sm2_ltc_dsa_verify(uint32_t algo, struct ecc_public_key *key, in sm2_ltc_dsa_verify()
H A Dsm2-pke.c332 TEE_Result sm2_ltc_pke_encrypt(struct ecc_public_key *key, const uint8_t *src, in sm2_ltc_pke_encrypt()
/optee_os/core/include/crypto/
H A Dcrypto.h156 struct ecc_public_key { struct
204 TEE_Result crypto_acipher_alloc_ecc_public_key(struct ecc_public_key *s,
210 void crypto_acipher_free_ecc_public_key(struct ecc_public_key *s);
292 TEE_Result crypto_acipher_ecc_verify(uint32_t algo, struct ecc_public_key *key,
296 struct ecc_public_key *public_key,
302 TEE_Result crypto_acipher_sm2_pke_encrypt(struct ecc_public_key *key,
330 struct ecc_public_key *peer_key,
331 struct ecc_public_key *peer_eph_key,
H A Dcrypto_impl.h413 void (*free)(struct ecc_public_key *key);
414 TEE_Result (*verify)(uint32_t algo, struct ecc_public_key *key,
417 TEE_Result (*encrypt)(struct ecc_public_key *key, const uint8_t *src,
437 struct ecc_public_key *public_key,
450 TEE_Result crypto_asym_alloc_ecc_public_key(struct ecc_public_key *key,
458 crypto_asym_alloc_ecc_public_key(struct ecc_public_key *key __unused, in crypto_asym_alloc_ecc_public_key()
487 TEE_Result drvcrypt_asym_alloc_ecc_public_key(struct ecc_public_key *key,
495 drvcrypt_asym_alloc_ecc_public_key(struct ecc_public_key *key __unused, in drvcrypt_asym_alloc_ecc_public_key()
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Decc.c107 static void ecc_free_public_key(struct ecc_public_key *key) in ecc_free_public_key()
233 static TEE_Result ecc_verify(uint32_t algo, struct ecc_public_key *key, in ecc_verify()
292 struct ecc_public_key *public_key, in ecc_shared_secret()
350 static TEE_Result ecc_sm2_encrypt(struct ecc_public_key *key, in ecc_sm2_encrypt()
388 static TEE_Result ecc_encrypt(struct ecc_public_key *key, in ecc_encrypt()
553 TEE_Result drvcrypt_asym_alloc_ecc_public_key(struct ecc_public_key *key, in drvcrypt_asym_alloc_ecc_public_key()
/optee_os/lib/libmbedtls/core/
H A Dsm2-pke.h12 TEE_Result sm2_mbedtls_pke_encrypt(struct ecc_public_key *key,
H A Dsm2-dsa.h17 TEE_Result sm2_mbedtls_dsa_verify(uint32_t algo, struct ecc_public_key *key,
H A Decc.c38 static void ecc_free_public_key(struct ecc_public_key *s) in ecc_free_public_key()
243 static TEE_Result ecc_verify(uint32_t algo, struct ecc_public_key *key, in ecc_verify()
313 struct ecc_public_key *public_key, in ecc_shared_secret()
499 TEE_Result crypto_asym_alloc_ecc_public_key(struct ecc_public_key *s, in crypto_asym_alloc_ecc_public_key()
H A Dsm2-kep.c264 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()
H A Dsm2-dsa.c150 struct ecc_public_key *key, in sm2_mbedtls_dsa_verify()
H A Dsm2-pke.c302 TEE_Result sm2_mbedtls_pke_encrypt(struct ecc_public_key *key, in sm2_mbedtls_pke_encrypt()
/optee_os/core/drivers/crypto/se050/core/
H A Decc.c238 struct ecc_public_key *key, in se050_inject_public_key()
379 struct ecc_public_key *public_key, in shared_secret_fallback()
399 static TEE_Result verify_fallback(uint32_t algo, struct ecc_public_key *key, in verify_fallback()
425 struct ecc_public_key *public_key, in shared_secret()
566 static TEE_Result verify(uint32_t algo, struct ecc_public_key *key, in verify()
752 static TEE_Result do_alloc_publickey(struct ecc_public_key *s, uint32_t type, in do_alloc_publickey()
772 static void do_free_publickey(struct ecc_public_key *s) in do_free_publickey()
/optee_os/core/drivers/crypto/crypto_api/include/
H A Ddrvcrypt_acipher.h157 TEE_Result (*alloc_publickey)(struct ecc_public_key *key, uint32_t type,
160 void (*free_publickey)(struct ecc_public_key *key);
/optee_os/core/crypto/
H A Dcrypto.c710 TEE_Result crypto_acipher_alloc_ecc_public_key(struct ecc_public_key *key, in crypto_acipher_alloc_ecc_public_key()
746 void crypto_acipher_free_ecc_public_key(struct ecc_public_key *key) in crypto_acipher_free_ecc_public_key()
773 TEE_Result crypto_acipher_ecc_verify(uint32_t algo, struct ecc_public_key *key, in crypto_acipher_ecc_verify()
786 struct ecc_public_key *public_key, in crypto_acipher_ecc_shared_secret()
811 TEE_Result crypto_acipher_sm2_pke_encrypt(struct ecc_public_key *key, in crypto_acipher_sm2_pke_encrypt()
827 struct ecc_public_key *peer_key in crypto_acipher_sm2_kep_derive()
829 struct ecc_public_key *peer_eph_key in crypto_acipher_sm2_kep_derive()
/optee_os/core/drivers/crypto/versal/
H A Decc.c146 static TEE_Result verify(uint32_t algo, struct ecc_public_key *key, in verify()
324 struct ecc_public_key *public_key, in shared_secret()
393 static TEE_Result do_alloc_publickey(struct ecc_public_key *s, in do_alloc_publickey()
417 static void do_free_publickey(struct ecc_public_key *s) in do_free_publickey()
/optee_os/core/drivers/crypto/stm32/
H A Decc.c221 static TEE_Result verify(uint32_t algo, struct ecc_public_key *key, in verify()
325 static TEE_Result stm32_alloc_publickey(struct ecc_public_key *s, uint32_t type, in stm32_alloc_publickey()
351 static void stm32_free_publickey(struct ecc_public_key *s) in stm32_free_publickey()
387 struct ecc_public_key *public_key, in shared_secret()
/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_ecc.c64 const struct ecc_public_key *inkey, in do_keypub_conv()
199 static TEE_Result do_allocate_publickey(struct ecc_public_key *key, in do_allocate_publickey()
242 static void do_free_publickey(struct ecc_public_key *key) in do_free_publickey()
624 struct ecc_public_key *inkey = sdata->key; in do_verify()
785 struct ecc_public_key *inpubkey = sdata->key_pub; in do_shared_secret()
/optee_os/core/pta/veraison_attestation/
H A Dsign.c18 static struct ecc_public_key *pubkey;
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_ecc.c645 static TEE_Result hpre_ecc_alloc_publickey(struct ecc_public_key *key, in hpre_ecc_alloc_publickey()
674 static void hpre_ecc_free_publickey(struct ecc_public_key *key) in hpre_ecc_free_publickey()
756 struct ecc_public_key *pubkey) in hpre_ecc_dh_params_fill()
830 struct ecc_public_key *pubkey) in hpre_ecc_request_init()
964 struct ecc_public_key *pubkey = NULL; in hpre_ecc_do_shared_secret()
1295 struct ecc_public_key *ecc_key = sdata->key; in hpre_ecc_verify_params_fill()
1413 struct ecc_public_key *pub_key = NULL; in hpre_ecc_verify()
/optee_os/core/tee/
H A Dtee_svc_cryp.c350 RAW_DATA(struct ecc_public_key, x)
357 RAW_DATA(struct ecc_public_key, y)
364 RAW_DATA(struct ecc_public_key, curve)
404 RAW_DATA(struct ecc_public_key, x)
411 RAW_DATA(struct ecc_public_key, y)
619 sizeof(struct ecc_public_key),
627 sizeof(struct ecc_public_key),
635 sizeof(struct ecc_public_key),
643 sizeof(struct ecc_public_key),
651 sizeof(struct ecc_public_key),
[all …]