| /optee_os/core/ |
| H A D | crypto.mk | 102 CFG_CRYPTO_SHA3_ARM_CE ?= $(call cfg-one-enabled, CFG_CRYPTO_SHA3_224 \ 165 cryp-dep-one = $(call cfg-depends-one,CFG_CRYPTO_$(strip $(1)),$(patsubst %, CFG_CRYPTO_%,$(strip $… 168 $(eval $(call cryp-dep-one, ECB, AES DES)) 169 $(eval $(call cryp-dep-one, CBC, AES DES)) 170 $(eval $(call cryp-dep-one, CTR, AES)) 173 $(eval $(call cryp-dep-one, XTS, AES)) 174 $(eval $(call cryp-dep-one, HMAC, AES DES)) 175 $(eval $(call cryp-dep-one, HMAC, MD5 SHA1 SHA224 SHA256 SHA384 SHA512)) 176 $(eval $(call cryp-dep-one, CMAC, AES)) 177 $(eval $(call cryp-dep-one, CBC_MAC, AES DES)) [all …]
|
| /optee_os/core/drivers/crypto/caam/ |
| H A D | sub.mk | 13 subdirs-$(call cfg-one-enabled, CFG_NXP_CAAM_HASH_DRV CFG_NXP_CAAM_HMAC_DRV) += hash 14 subdirs-$(call cfg-one-enabled, CFG_NXP_CAAM_CIPHER_DRV CFG_NXP_CAAM_CMAC_DRV) += cipher 15 subdirs-$(call cfg-one-enabled, CFG_NXP_CAAM_AE_CCM_DRV CFG_NXP_CAAM_AE_GCM_DRV) += ae
|
| H A D | crypto.mk | 184 ifeq ($(call cfg-one-enabled,CFG_NXP_CAAM_HMAC_DRV CFG_NXP_CAAM_CMAC_DRV),y) 194 ifeq ($(call cfg-one-enabled,CFG_NXP_CAAM_AE_CCM_DRV CFG_NXP_CAAM_AE_GCM_DRV),y) 224 ifeq ($(call cfg-one-enabled,CFG_CRYPTO_DRV_RSA CFG_CRYPTO_DRV_ECC \
|
| /optee_os/core/drivers/crypto/se050/ |
| H A D | crypto.mk | 70 se050-one-enabled = $(call cfg-one-enabled, \ 77 $(call force,CFG_NXP_SE05X_ACIPHER_DRV,$(call se050-one-enabled,RSA ECC)) 97 $(call force,CFG_NXP_SE05X_CIPHER_DRV,$(call se050-one-enabled,CTR))
|
| /optee_os/mk/ |
| H A D | checkconf.mk | 92 cfg-one-enabled = $(if $(filter y, $(foreach var,$(1),$($(var)))),y,n) 127 cfg-depends-one = \ 130 $(if $(filter y,$(call cfg-one-enabled,$(2))), \ 132 $(warning Warning: Disabling $(1) [requires (one of) $(strip $(2))]) \
|
| H A D | config.mk | 234 _CFG_WITH_SECURE_STORAGE := $(call cfg-one-enabled,CFG_REE_FS CFG_RPMB_FS) 364 _CFG_CORE_STACK_PROTECTOR := $(call cfg-one-enabled, CFG_CORE_STACK_PROTECTOR \ 367 _CFG_TA_STACK_PROTECTOR := $(call cfg-one-enabled, CFG_TA_STACK_PROTECTOR \ 465 CFG_CORE_BGET_BESTFIT ?= $(call cfg-one-enabled, CFG_WITH_PAGER CFG_LOCKDEP) 565 _CFG_USE_DTB_OVERLAY := $(call cfg-one-enabled,CFG_EXTERNAL_DTB_OVERLAY \ 841 $(eval $(call cfg-depends-one,CFG_SCMI_MSG_SMT_THREAD_ENTRY,CFG_SCMI_MSG_SMT CFG_SCMI_MSG_SHM_MSG)) 1036 ifeq (y-y,$(CFG_NS_VIRTUALIZATION)-$(call cfg-one-enabled, CFG_TA_BTI CFG_CORE_BTI)) 1062 $(eval $(call cfg-depends-one,CFG_PAN,CFG_ARM64_core CFG_RV64_core CFG_RV32_core))
|
| /optee_os/lib/libmbedtls/core/ |
| H A D | sub.mk | 4 srcs-$(call cfg-one-enabled, CFG_CRYPTO_MD5 CFG_CRYPTO_SHA1 CFG_CRYPTO_SHA224 \ 25 srcs-$(call cfg-one-enabled, CFG_CRYPTO_RSA CFG_CRYPTO_DH \
|
| H A D | ecc.c | 252 uint8_t one[1] = { 1 }; in ecc_verify() local 278 mbedtls_mpi_read_binary(&ecdsa.Q.Z, one, sizeof(one)); in ecc_verify() 318 uint8_t one[1] = { 1 }; in ecc_shared_secret() local 337 mbedtls_mpi_read_binary(&ecdh.ctx.mbed_ecdh.Qp.Z, one, sizeof(one)); in ecc_shared_secret()
|
| H 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/lib/libmbedtls/mbedtls/library/ |
| H A D | ecjpake.c | 549 mbedtls_mpi one; in ecjpake_ecp_add3() local 551 mbedtls_mpi_init(&one); in ecjpake_ecp_add3() 553 MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&one, 1)); in ecjpake_ecp_add3() 554 MBEDTLS_MPI_CHK(mbedtls_ecp_muladd(grp, R, &one, A, &one, B)); in ecjpake_ecp_add3() 555 MBEDTLS_MPI_CHK(mbedtls_ecp_muladd(grp, R, &one, R, &one, C)); in ecjpake_ecp_add3() 558 mbedtls_mpi_free(&one); in ecjpake_ecp_add3() 732 mbedtls_mpi m_xm2_s, one; in mbedtls_ecjpake_derive_k() local 735 mbedtls_mpi_init(&one); in mbedtls_ecjpake_derive_k() 737 MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&one, 1)); in mbedtls_ecjpake_derive_k() 747 &one, &ctx->Xp, in mbedtls_ecjpake_derive_k() [all …]
|
| H A D | net_sockets.c | 375 int one = 1; in mbedtls_net_accept() local 390 (const char *) &one, sizeof(one)) != 0) { in mbedtls_net_accept()
|
| /optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
| H A D | ecc_export_openssl.c | 23 unsigned long cofactor, one = 1; in ecc_export_openssl() local 107 LTC_SET_ASN1(seq_ecparams, 0, LTC_ASN1_SHORT_INTEGER, &one, 1UL); in ecc_export_openssl() 142 LTC_SET_ASN1(seq_priv, 0, LTC_ASN1_SHORT_INTEGER, &one, 1); in ecc_export_openssl()
|
| /optee_os/core/drivers/imx/mu/ |
| H A D | sub.mk | 2 srcs-$(call cfg-one-enabled,CFG_MX8ULP CFG_MX93 CFG_MX91 CFG_MX95 CFG_MX943) += imx_mu_8ulp_9x.c
|
| /optee_os/core/lib/libtomcrypt/ |
| H 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()
|
| H 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()
|
| H A D | sm2-pke.c | 29 uint8_t one[] = { 1 }; in sm2_uncompressed_bytes_to_point() local 49 mp_read_unsigned_bin(p->z, one, sizeof(one)); in sm2_uncompressed_bytes_to_point()
|
| /optee_os/ldelf/ |
| H A D | sub.mk | 8 srcs-$(call cfg-one-enabled,CFG_RV32_$(sm) CFG_RV64_$(sm)) += syscalls_rv.S
|
| /optee_os/core/drivers/crypto/stm32/ |
| H A D | crypto.mk | 13 ifeq ($(call cfg-one-enabled, CFG_STM32_CRYP CFG_STM32_SAES),y)
|
| /optee_os/core/arch/arm/plat-stm32mp1/ |
| H A D | conf.mk | 108 ifeq ($(call cfg-one-enabled,CFG_STM32MP15 CFG_STM32MP13),n) 112 $(error Only one of CFG_STM32MP15 CFG_STM32MP13 must be enabled) 274 ifeq ($(call cfg-one-enabled, CFG_STM32_CRYP \ 430 ifneq (y,$(call cfg-one-enabled,CFG_STM32MP15_HUK_BSEC_KEY CFG_STM32MP15_HUK_BSEC_DERIVE_UID)) 431 $(error CFG_STM32MP15_HUK mandates one of CFG_STM32MP15_HUK_BSEC_KEY CFG_STM32MP15_HUK_BSEC_DERIVE_…
|
| /optee_os/core/tee/ |
| H A D | sub.mk | 47 ifeq ($(call cfg-one-enabled,CFG_WITH_USER_TA _CFG_WITH_SECURE_STORAGE),y)
|
| /optee_os/core/lib/libtomcrypt/src/prngs/ |
| H A D | yarrow.c | 77 #error LTC_YARROW needs at least one CIPHER in yarrow_start() 108 #error LTC_YARROW needs at least one HASH in yarrow_start()
|
| /optee_os/scripts/ |
| H A D | checkpatch.sh | 61 only one of each given revision.
|
| /optee_os/core/arch/arm/plat-stm32mp2/ |
| H A D | conf.mk | 175 ifeq ($(call cfg-one-enabled, CFG_STM32_RISAB CFG_STM32_RIFSC),y)
|
| /optee_os/ta/mk/ |
| H A D | ta_dev_kit.mk | 13 $(error You must specify exactly one of BINARY, LIBNAME or SHLIBNAME)
|
| /optee_os/core/arch/arm/ |
| H A D | arm.mk | 154 _CFG_ARM_V3_OR_V4 := $(call cfg-one-enabled, CFG_ARM_GICV3 CFG_ARM_GICV4) 265 ifeq ($(call cfg-one-enabled, CFG_CORE_ASLR CFG_CORE_PHYS_RELOCATABLE),y)
|