/optee_os/core/ |
A D | crypto.mk | 113 cryp-dep-one = $(call cfg-depends-one,CFG_CRYPTO_$(strip $(1)),$(patsubst %, CFG_CRYPTO_%,$(strip $… 116 $(eval $(call cryp-dep-one, ECB, AES DES)) 117 $(eval $(call cryp-dep-one, CBC, AES DES)) 118 $(eval $(call cryp-dep-one, CTR, AES)) 121 $(eval $(call cryp-dep-one, XTS, AES)) 124 $(eval $(call cryp-dep-one, CMAC, AES)) 126 $(eval $(call cryp-dep-one, CCM, AES)) 127 $(eval $(call cryp-dep-one, GCM, AES)) 131 $(eval $(call cryp-dep-one, DES, ECB CBC)) 133 $(eval $(call cryp-dep-one, SM2_PKE, ECC)) [all …]
|
/optee_os/core/drivers/crypto/se050/ |
A D | crypto.mk | 51 se050-one-enabled = $(call cfg-one-enabled, \ 56 $(call force,CFG_NXP_SE05X_ACIPHER_DRV,$(call se050-one-enabled,RSA ECC)) 77 $(call force,CFG_NXP_SE05X_CIPHER_DRV,$(call se050-one-enabled,CTR))
|
/optee_os/core/arch/arm/plat-imx/ |
A D | crypto_conf.mk | 94 cryphw-one-enabled = $(call cfg-one-enabled, \ 118 $(call force, CFG_NXP_CAAM_ACIPHER_DRV, $(call cryphw-one-enabled, RSA ECC DH DSA)) 119 $(call force, CFG_CRYPTO_DRV_MAC, $(call cryphw-one-enabled, HMAC CMAC))
|
/optee_os/mk/ |
A D | checkconf.mk | 101 cfg-one-enabled = $(if $(filter y, $(foreach var,$(1),$($(var)))),y,n) 136 cfg-depends-one = \ 139 $(if $(filter y,$(call cfg-one-enabled,$(2))), \ 141 $(warning Warning: Disabling $(1) [requires (one of) $(strip $(2))]) \
|
A D | config.mk | 216 _CFG_WITH_SECURE_STORAGE := $(call cfg-one-enabled,CFG_REE_FS CFG_RPMB_FS) 392 CFG_CORE_BGET_BESTFIT ?= $(call cfg-one-enabled, CFG_WITH_PAGER CFG_LOCKDEP) 456 _CFG_USE_DTB_OVERLAY := $(call cfg-one-enabled,CFG_EXTERNAL_DTB_OVERLAY \ 767 ifeq (y-y,$(CFG_VIRTUALIZATION)-$(call cfg-one-enabled, CFG_TA_BTI CFG_CORE_BTI))
|
/optee_os/core/arch/arm/plat-ls/ |
A D | crypto_conf.mk | 119 cryphw-one-enabled = $(call cfg-one-enabled, \ 138 $(call force, CFG_NXP_CAAM_ACIPHER_DRV, $(call cryphw-one-enabled, RSA ECC DH DSA)) 139 $(call force, CFG_CRYPTO_DRV_MAC, $(call cryphw-one-enabled, HMAC CMAC))
|
/optee_os/core/drivers/crypto/caam/ |
A D | sub.mk | 11 subdirs-$(call cfg-one-enabled, CFG_NXP_CAAM_HASH_DRV CFG_NXP_CAAM_HMAC_DRV) += hash 12 subdirs-$(call cfg-one-enabled, CFG_NXP_CAAM_CIPHER_DRV CFG_NXP_CAAM_CMAC_DRV) += cipher
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | ecjpake.c | 552 mbedtls_mpi one; in ecjpake_ecp_add3() local 554 mbedtls_mpi_init( &one ); in ecjpake_ecp_add3() 556 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &one, 1 ) ); in ecjpake_ecp_add3() 557 MBEDTLS_MPI_CHK( mbedtls_ecp_muladd( grp, R, &one, A, &one, B ) ); in ecjpake_ecp_add3() 558 MBEDTLS_MPI_CHK( mbedtls_ecp_muladd( grp, R, &one, R, &one, C ) ); in ecjpake_ecp_add3() 561 mbedtls_mpi_free( &one ); in ecjpake_ecp_add3() 750 mbedtls_mpi m_xm2_s, one; in mbedtls_ecjpake_derive_secret() local 765 mbedtls_mpi_init( &one ); in mbedtls_ecjpake_derive_secret() 767 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &one, 1 ) ); in mbedtls_ecjpake_derive_secret() 777 &one, &ctx->Xp, in mbedtls_ecjpake_derive_secret() [all …]
|
A D | net_sockets.c | 403 int one = 1; in mbedtls_net_accept() local 417 (const char *) &one, sizeof( one ) ) != 0 ) in mbedtls_net_accept()
|
/optee_os/lib/libmbedtls/core/ |
A D | ecc.c | 251 uint8_t one[1] = { 1 }; in ecc_verify() local 275 mbedtls_mpi_read_binary(&ecdsa.Q.Z, one, sizeof(one)); in ecc_verify() 315 uint8_t one[1] = { 1 }; in ecc_shared_secret() local 330 mbedtls_mpi_read_binary(&ecdh.Qp.Z, one, sizeof(one)); in ecc_shared_secret()
|
A D | sub.mk | 3 srcs-$(call cfg-one-enabled, CFG_CRYPTO_MD5 CFG_CRYPTO_SHA1 CFG_CRYPTO_SHA224 \ 24 srcs-$(call cfg-one-enabled, CFG_CRYPTO_RSA CFG_CRYPTO_DH \
|
A D | sm2-kep.c | 301 mbedtls_mpi one = { }; in crypto_acipher_sm2_kep_derive() local 321 mbedtls_mpi_init(&one); in crypto_acipher_sm2_kep_derive() 395 mres = mbedtls_mpi_lset(&one, 1); in crypto_acipher_sm2_kep_derive() 399 mres = mbedtls_ecp_muladd(&grp, &U, &one, &PB, &x2bar, &RB); in crypto_acipher_sm2_kep_derive() 493 mbedtls_mpi_free(&one); in crypto_acipher_sm2_kep_derive()
|
/optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_export_openssl.c | 30 unsigned long cofactor, one = 1; in ecc_export_openssl() local 121 LTC_SET_ASN1(seq_ecparams, 0, LTC_ASN1_SHORT_INTEGER, &one, 1UL); in ecc_export_openssl() 148 LTC_SET_ASN1(seq_priv, 0, LTC_ASN1_SHORT_INTEGER, &one, 1); in ecc_export_openssl()
|
/optee_os/core/lib/libtomcrypt/ |
A D | sm2-kep.c | 231 void *one = NULL; in sm2_kep_derive() local 235 ltc_res = mp_init_multi(&x1bar, &x2bar, &tA, &h, &htA, &mu, &ma, &one, in sm2_kep_derive() 298 ltc_res = mp_set_int(one, 1); in sm2_kep_derive() 302 ltc_res = ltc_ecc_mul2add(&peer_key->pubkey, one, &peer_eph_key->pubkey, in sm2_kep_derive() 399 mp_clear_multi(x1bar, x2bar, tA, h, htA, mu, ma, one, NULL); in sm2_kep_derive()
|
A D | ecc.c | 224 uint8_t one[1] = { 1 }; in ecc_populate_ltc_public_key() local 240 mp_read_unsigned_bin(ltc_key->pubkey.z, one, sizeof(one)); in ecc_populate_ltc_public_key()
|
A D | sm2-pke.c | 28 uint8_t one[] = { 1 }; in sm2_uncompressed_bytes_to_point() local 48 mp_read_unsigned_bin(p->z, one, sizeof(one)); in sm2_uncompressed_bytes_to_point()
|
/optee_os/core/lib/libtomcrypt/src/ciphers/ |
A D | sub.mk | 1 subdirs-$(call cfg-one-enabled, _CFG_CORE_LTC_AES _CFG_CORE_LTC_AES_DESC) += aes
|
/optee_os/core/tee/ |
A D | sub.mk | 45 ifeq ($(call cfg-one-enabled,CFG_WITH_USER_TA _CFG_WITH_SECURE_STORAGE),y)
|
/optee_os/core/lib/libtomcrypt/src/prngs/ |
A D | yarrow.c | 84 #error LTC_YARROW needs at least one CIPHER in yarrow_start() 115 #error LTC_YARROW needs at least one HASH in yarrow_start()
|
/optee_os/core/arch/arm/plat-stm32mp1/ |
A D | conf.mk | 97 ifeq ($(call cfg-one-enabled, CFG_STM32_CRYP),y)
|
/optee_os/ta/mk/ |
A D | ta_dev_kit.mk | 11 $(error You must specify exactly one of BINARY, LIBNAME or SHLIBNAME)
|
/optee_os/out/arm/export-ta_arm32/mk/ |
A D | ta_dev_kit.mk | 11 $(error You must specify exactly one of BINARY, LIBNAME or SHLIBNAME)
|
/optee_os/out/arm/export-ta_arm64/mk/ |
A D | ta_dev_kit.mk | 11 $(error You must specify exactly one of BINARY, LIBNAME or SHLIBNAME)
|
/optee_os/lib/libmbedtls/mbedtls/ |
A D | ChangeLog | 17 * Implement one-shot cipher functions, psa_cipher_encrypt and 141 could not be triggered by code that constructed A with one of the 143 those always built an mpi object with at least one limb. 195 now writing an empty string where it previously wrote one or more 434 * Fix an off-by-one error in the additional data length check for 1115 updated to one that is SHA-256 signed. Fix contributed by 3253 of one of them failed 3560 of one of them failed 4186 * Fixed incorrect handling of one single negative input 4207 one way hash functions with the PKCS#1 v1.5 signing and [all …]
|
/optee_os/ |
A D | CHANGELOG.md | 371 the previous one (2.6.0). 488 the previous one (2.5.0). 604 the previous one (2.4.0). 731 the previous one (2.3.0). 733 Please note: this release is API-compatible with the previous one, but the 842 the previous one (2.2.0). 844 Please note: this release is API-compatible with the previous one, but the 970 the previous one (2.1.0). 972 Please note: this release is API-compatible with the previous one, but the
|