| /optee_os/core/drivers/crypto/crypto_api/acipher/ |
| H A D | ecc.c | 5 * Crypto ECC interface implementation to enable HW driver. 13 * Returns the key size in bytes for the given ECC curve 15 * @curve ECC Curve ID 42 * Returns the key size in bits for the given ECC curve 44 * @curve ECC Curve ID 67 * the ECC curve 69 * @curve ECC curve 103 * Free an ECC public key 109 struct drvcrypt_ecc *ecc = NULL; in ecc_free_public_key() local 112 ecc = drvcrypt_get_ops(CRYPTO_ECC); in ecc_free_public_key() [all …]
|
| /optee_os/core/drivers/crypto/caam/acipher/ |
| H A D | caam_ecc.c | 5 * Implementation of ECC functions 36 * Definition of the local ECC Keypair 46 * Free local ECC keypair 48 * @key ECC keypair 57 * Convert Crypto ECC Key to local ECC Public Key 71 ECC_TRACE("ECC Convert Public Key size %zu bytes", size_sec); in do_keypub_conv() 91 * Convert Crypto ECC Key to local ECC Keypair Key 104 ECC_TRACE("ECC Convert Keypair size %zu bytes", size_sec); in do_keypair_conv() 120 * Convert TEE ECC Curve to CAAM ECC Curve 122 * @tee_curve TEE ECC Curve [all …]
|
| /optee_os/core/drivers/crypto/crypto_api/include/ |
| H A D | drvcrypt_acipher.h | 150 * Crypto ECC driver operations 153 /* Allocates the ECC keypair */ 156 /* Allocates the ECC public key */ 159 /* Free ECC public key */ 161 /* Generates the ECC keypair */ 163 /* ECC Sign a message and returns the signature */ 165 /* ECC Verify a message's signature */ 167 /* ECC Shared Secret */ 169 /* ECC Encrypt */ 171 /* ECC Decrypt */ [all …]
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | sub.mk | 319 # ECC 521 bits is the max supported key size 321 srcs-$(_CFG_CORE_LTC_ECC) += ecc.c 322 srcs-$(_CFG_CORE_LTC_ECC) += src/pk/ecc/ecc.c 323 srcs-$(_CFG_CORE_LTC_ECC) += src/pk/ecc/ecc_find_curve.c 324 srcs-$(_CFG_CORE_LTC_ECC) += src/pk/ecc/ecc_free.c 325 srcs-$(_CFG_CORE_LTC_ECC) += src/pk/ecc/ecc_get_oid_str.c 326 srcs-$(_CFG_CORE_LTC_ECC) += src/pk/ecc/ecc_make_key.c 327 srcs-$(_CFG_CORE_LTC_ECC) += src/pk/ecc/ecc_set_curve.c 328 srcs-$(_CFG_CORE_LTC_ECC) += src/pk/ecc/ecc_set_curve_internal.c 329 srcs-$(_CFG_CORE_LTC_ECC) += src/pk/ecc/ecc_shared_secret.c [all …]
|
| /optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
| H A D | ecc_find_curve.c | 14 "1.3.132.0.6", { "SECP112R1", "ECC-112", NULL } 24 "1.3.132.0.28", { "SECP128R1", "ECC-128", NULL } 34 "1.3.132.0.8", { "SECP160R1", "ECC-160", NULL } 49 "1.2.840.10045.3.1.1", { "SECP192R1", "NISTP192", "PRIME192V1", "ECC-192", "P-192", NULL } 69 "1.3.132.0.33", { "SECP224R1", "NISTP224", "ECC-224", "P-224", NULL } 79 "1.2.840.10045.3.1.7", { "SECP256R1", "NISTP256", "PRIME256V1", "ECC-256", "P-256", NULL } 89 "1.3.132.0.34", { "SECP384R1", "NISTP384", "ECC-384", "P-384", NULL } 94 "1.3.132.0.35", { "SECP521R1", "NISTP521", "ECC-521", "P-521", NULL }
|
| H A D | ecc_shared_secret.c | 8 ECC Crypto, Tom St Denis 14 Create an ECC shared secret between two keys 15 @param private_key The private ECC key
|
| H A D | ecc_decrypt_key.c | 8 ECC Crypto, Tom St Denis 14 Decrypt an ECC encrypted key 19 @param key The corresponding private ECC key 81 /* import ECC key from packet */ in ecc_decrypt_key()
|
| H A D | ltc_ecc_points.c | 8 ECC Crypto, Tom St Denis 14 Allocate a new ECC point 32 /** Free an ECC point from memory
|
| H A D | ecc_get_size.c | 8 ECC Crypto, Tom St Denis 14 Get the size of an ECC key
|
| H A D | ecc_make_key.c | 8 ECC Crypto, Tom St Denis 14 Make a new ECC key 46 …/* ECC key pair generation according to FIPS-186-4 (B.4.2 Key Pair Generation by Testing Candidate… in ecc_generate_key()
|
| H A D | ecc_ansi_x963_export.c | 8 ECC Crypto, Tom St Denis 13 /** ECC X9.63 (Sec. 4.3.6) uncompressed export
|
| H A D | ecc_get_oid_str.c | 8 /** Extract OID as a string from ECC key 11 @param key The ECC key
|
| H A D | ecc_free.c | 8 ECC Crypto, Tom St Denis 14 Free an ECC key from memory
|
| H A D | ecc_import.c | 8 ECC Crypto, Tom St Denis 14 Import an ECC key from a binary packet 26 …Import an ECC key from a binary packet, using user supplied domain params rather than one of the N…
|
| H A D | ecc_encrypt_key.c | 8 ECC Crypto, Tom St Denis 14 Encrypt a symmetric key with ECC 22 @param key The ECC key you want to encrypt to
|
| H A D | ecc_export.c | 8 ECC Crypto, Tom St Denis 14 Export an ECC key as a binary packet
|
| H A D | ltc_ecc_map.c | 8 ECC Crypto, Tom St Denis 16 @param modulus The modulus of the field the ECC curve is in
|
| H A D | ltc_ecc_mulmod_timing.c | 8 ECC Crypto, Tom St Denis 20 @param a ECC curve parameter a 21 @param modulus The modulus of the field the ECC curve is in
|
| /optee_os/core/drivers/crypto/caam/ |
| H A D | crypto.mk | 19 # DBG_ECC BIT32(12) // ECC trace 43 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM 53 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM 64 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM 71 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM 79 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM 93 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM 115 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM 208 # Enable ECC crypto driver 226 $(call force, CFG_CRYPTO_DRV_ACIPHER,y,Mandated by CFG_CRYPTO_DRV_{RSA|ECC|DSA|DH})
|
| /optee_os/core/ |
| H A D | crypto.mk | 60 # ECC includes ECDSA and ECDH 184 # SM2 is Elliptic Curve Cryptography, it uses some generic ECC functions 185 $(eval $(call cryp-dep-one, SM2_PKE, ECC)) 186 $(eval $(call cryp-dep-one, SM2_DSA, ECC)) 187 $(eval $(call cryp-dep-one, SM2_KEP, ECC)) 214 core-ltc-vars += RSA DSA DH ECC 297 _CFG_CORE_LTC_ACIPHER := $(call ltc-one-enabled, RSA DSA DH ECC) 308 _CFG_CORE_LTC_ASN1 := $(call ltc-one-enabled, RSA DSA ECC)
|
| /optee_os/core/include/drivers/ |
| H A D | bcm_sotp.h | 17 * @sotp_add_ecc: ecc memory support flag 27 * @sotp_add_ecc: ecc memory support flag
|
| /optee_os/core/drivers/crypto/caam/include/ |
| H A D | caam_trace.h | 40 #define DBG_TRACE_ECC BIT32(12) /* ECC trace */ 193 /* ECC */ 194 #if CAAM_DBG_TRACE(ECC) 196 #if CAAM_DBG_DESC(ECC) 199 ECC_TRACE("ECC Descriptor"); \ 205 #if CAAM_DBG_BUF(ECC)
|
| /optee_os/core/drivers/crypto/hisilicon/ |
| H A D | hpre_ecc.c | 4 * Kunpeng hardware accelerator hpre ecc algorithm implementation. 470 EMSG("Fail to transfer ecc dh rx from hpre_bin to crypto_bin"); in ecc_dh_out_to_crypto_bin() 477 EMSG("Fail to transfer ecc dh ry from hpre_bin to crypto_bin"); in ecc_dh_out_to_crypto_bin() 492 EMSG("Fail to transfer ecc sign r from hpre_bin to crypto_bin"); in ecc_sign_out_to_crypto_bin() 499 EMSG("Fail to transfer ecc sign s from hpre_bin to crypto_bin"); in ecc_sign_out_to_crypto_bin() 553 EMSG("HPRE do ecc fail! done=0x%"PRIX16", etype=0x%"PRIX16 in hpre_ecc_parse_sqe() 563 EMSG("HPRE qm transfer ecc out fail."); in hpre_ecc_parse_sqe() 577 EMSG("Fail to create ecc qp"); in hpre_do_ecc_task() 640 EMSG("Hpre ecc alloc key pair fail."); in hpre_ecc_alloc_keypair() 669 EMSG("Hpre ecc alloc publickey fail."); in hpre_ecc_alloc_publickey() [all …]
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | psa_crypto_ecp.h | 153 * \param[in] attributes The attributes of the ECC key to use for the 155 * \param[in] key_buffer The buffer containing the ECC key context. 171 * \p alg) where \c key_bits is the bit-size of the ECC key. 192 * \param[in] attributes The attributes of the ECC key to use for the 194 * \param[in] key_buffer The buffer containing the ECC key context.
|
| /optee_os/core/drivers/ |
| H A D | bcm_sotp.c | 91 /* ROWS does not support ECC */ in bcm_iproc_sotp_mem_read() 129 /* No ECC check till SOTP_NO_ECC_ROWS */ in bcm_iproc_sotp_mem_read() 132 EMSG("SOTP ECC ERROR Detected ROW %"PRIu32, row_addr); in bcm_iproc_sotp_mem_read() 245 /* Set SOTP ECC and error bits */ in bcm_iproc_sotp_mem_write()
|