Home
last modified time | relevance | path

Searched refs:ecc_keypair (Results 1 – 22 of 22) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/
A Dacipher_helpers.h40 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 Decc.c135 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 Dsm2-kep.c403 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 Dsm2-dsa.c21 TEE_Result sm2_ltc_dsa_sign(uint32_t algo, struct ecc_keypair *key, in sm2_ltc_dsa_sign()
A Dsm2-pke.c109 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 Dse050_utils.h38 struct ecc_keypair;
41 uint32_t se050_ecc_keypair_from_nvm(struct ecc_keypair *key);
/optee_os-3.20.0/core/include/crypto/
A Dcrypto.h163 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 Dcrypto_impl.h352 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 Dsm2-pke.h16 TEE_Result sm2_mbedtls_pke_decrypt(struct ecc_keypair *key, const uint8_t *src,
A Dsm2-dsa.h13 TEE_Result sm2_mbedtls_dsa_sign(uint32_t algo, struct ecc_keypair *key,
A Decc.c146 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 Dsm2-kep.c256 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 Dsm2-dsa.c25 TEE_Result sm2_mbedtls_dsa_sign(uint32_t algo __unused, struct ecc_keypair *key, in sm2_mbedtls_dsa_sign()
A Dsm2-pke.c110 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 Decc.c315 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 Decc.c119 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 Ddrvcrypt_acipher.h141 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 Decc.c239 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 Dcrypto.c697 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 Dcaam_ecc.c95 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 Dutils.c140 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 Dtee_svc_cryp.c369 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 …]

Completed in 30 milliseconds