Home
last modified time | relevance | path

Searched refs:one (Results 1 – 25 of 35) sorted by relevance

12

/optee_os/core/
H A Dcrypto.mk102 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 Dsub.mk13 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 Dcrypto.mk184 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 Dcrypto.mk70 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 Dcheckconf.mk92 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 Dconfig.mk151 # This is the default FS when enabled (i.e., the one used when
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 \
398 # To use this feature, set EARLY_TA_PATHS to the paths to one or more TA ELF
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))
996 # is that the one making products based on OP-TEE should override this flag in
1036 ifeq (y-y,$(CFG_NS_VIRTUALIZATION)-$(call cfg-one
[all...]
/optee_os/lib/libmbedtls/core/
H A Dsub.mk4 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 Decc.c252 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 Dsm2-kep.c301 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 Decjpake.c549 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 Dnet_sockets.c375 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 Decc_export_openssl.c23 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 Dsub.mk2 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 Dsm2-kep.c231 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 Decc.c224 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 Dsm2-pke.c29 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 Dsub.mk8 srcs-$(call cfg-one-enabled,CFG_RV32_$(sm) CFG_RV64_$(sm)) += syscalls_rv.S
/optee_os/core/drivers/crypto/stm32/
H A Dcrypto.mk13 ifeq ($(call cfg-one-enabled, CFG_STM32_CRYP CFG_STM32_SAES),y)
/optee_os/core/arch/arm/plat-stm32mp1/
H A Dconf.mk108 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 \
425 ifneq (y,$(call cfg-one-enabled,CFG_STM32MP15_HUK_BSEC_KEY CFG_STM32MP15_HUK_BSEC_DERIVE_UID))
426 $(error CFG_STM32MP15_HUK mandates one of CFG_STM32MP15_HUK_BSEC_KEY CFG_STM32MP15_HUK_BSEC_DERIVE_…
/optee_os/core/tee/
H A Dsub.mk47 ifeq ($(call cfg-one-enabled,CFG_WITH_USER_TA _CFG_WITH_SECURE_STORAGE),y)
/optee_os/core/lib/libtomcrypt/src/prngs/
H A Dyarrow.c77 #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 Dcheckpatch.sh61 only one of each given revision.
/optee_os/core/arch/arm/plat-stm32mp2/
H A Dconf.mk175 ifeq ($(call cfg-one-enabled, CFG_STM32_RISAB CFG_STM32_RIFSC),y)
/optee_os/ta/mk/
H A Dta_dev_kit.mk13 $(error You must specify exactly one of BINARY, LIBNAME or SHLIBNAME)
/optee_os/core/lib/qcbor/
H A DREADME.md159 treats this similar to entering an array with one item. This is
392 From the table above, one can see that the amount of code pulled in
428 If QCBOR is installed as a shared library, then of course only one
512 protocol is one that involves decoding a lot of maps or maps that
514 because the general purpose spiffy decode map processor is the one

12