Home
last modified time | relevance | path

Searched refs:static_assert (Results 1 – 25 of 38) sorted by relevance

12

/optee_os/core/drivers/
H A Dstm32mp15_huk.c158 static_assert(CFG_STM32MP15_HUK_BSEC_KEY_0 < STM32MP1_OTP_MAX_ID); in get_otp_pos()
159 static_assert(CFG_STM32MP15_HUK_BSEC_KEY_1 < STM32MP1_OTP_MAX_ID); in get_otp_pos()
160 static_assert(CFG_STM32MP15_HUK_BSEC_KEY_2 < STM32MP1_OTP_MAX_ID); in get_otp_pos()
161 static_assert(CFG_STM32MP15_HUK_BSEC_KEY_3 < STM32MP1_OTP_MAX_ID); in get_otp_pos()
193 static_assert(sizeof(otp_key) == HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()
H A Dzynqmp_huk.c119 static_assert(sizeof(device_dna) == ZYNQMP_GCM_IV_SIZE); in tee_otp_get_hw_unique_key()
/optee_os/lib/libutils/isoc/include/
H A Dassert.h59 #define static_assert _Static_assert macro
74 #define static_assert(...) \ macro
/optee_os/core/include/kernel/
H A Duser_access.h173 static_assert(sizeof(_x) == sizeof(*__p)); \
183 static_assert(sizeof(_x) == sizeof(*__p)); \
/optee_os/core/arch/arm/plat-d06/
H A Dcore_pos_a64.S39 static_assert(0);
/optee_os/core/arch/arm/plat-sam/nsec-service/
H A Dsm_platform_handler.c24 static_assert(CFG_TEE_CORE_NB_CORE == 1); in sam_sip_handler()
/optee_os/core/arch/arm/plat-rcar/
H A Dmain.c76 static_assert(!IS_ENABLED(CFG_WITH_SOFTWARE_PRNG));
/optee_os/core/kernel/
H A Dpanic.c16 static_assert(!IS_ENABLED(CFG_MULTI_CORE_HALTING) ||
H A Dscall.c197 static_assert(ARRAY_SIZE(tee_syscall_table) == (TEE_SCN_MAX + 1)); in get_tee_syscall_func()
/optee_os/core/arch/arm/plat-telechips/
H A Dmain.c52 static_assert(sizeof(plat_huk) == sizeof(hwkey->data)); in tee_otp_get_hw_unique_key()
/optee_os/core/pta/
H A Dhwrng.c20 static_assert(!IS_ENABLED(CFG_WITH_SOFTWARE_PRNG));
/optee_os/core/arch/arm/plat-stm32mp1/
H A Dplat_tzc400.c262 static_assert(IS_PAGE_ALIGNED(CFG_TZDRAM_START)); in stm32mp_tzc_cfg_boot_region()
263 static_assert(IS_PAGE_ALIGNED(CFG_TZDRAM_SIZE)); in stm32mp_tzc_cfg_boot_region()
265 static_assert(IS_PAGE_ALIGNED(CFG_SHMEM_START)); in stm32mp_tzc_cfg_boot_region()
266 static_assert(IS_PAGE_ALIGNED(CFG_SHMEM_SIZE)); in stm32mp_tzc_cfg_boot_region()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dcommon.h372 #if defined(static_assert) && !defined(__FreeBSD__)
373 #define MBEDTLS_STATIC_ASSERT(expr, msg) static_assert(expr, msg)
/optee_os/core/drivers/crypto/se050/glue/
H A Di2c_stm32.c16 static_assert(CFG_CORE_SE05X_I2C_BUS < 10);
/optee_os/core/lib/libtomcrypt/
H A Dx25519.c86 static_assert(sizeof(ltc_public_key.pub) == X25519_KEY_SIZE_BYTES && in crypto_acipher_x25519_shared_secret()
/optee_os/core/pta/imx/
H A Ddek_blob.c65 static_assert(sizeof(struct dek_blob_header) == 8 * sizeof(uint8_t)); in do_generate()
/optee_os/core/drivers/crypto/caam/
H A Dcaam_ctrl.c33 static_assert((CFG_TZDRAM_START + CFG_TZDRAM_SIZE) < UINT32_MAX);
/optee_os/core/arch/arm/plat-stm32mp2/
H A Dmain.c85 static_assert(ARRAY_SIZE(uarts) > CFG_STM32_EARLY_CONSOLE_UART); in plat_console_init()
/optee_os/core/drivers/scmi-msg/
H A Dsmt.c147 static_assert(SCMI_SEC_PAYLOAD_SIZE + sizeof(struct smt_header) <= in scmi_smt_init_agent_channel()
/optee_os/core/drivers/regulator/
H A Dregulator_fixed.c16 static_assert(GPIO_LEVEL_HIGH == 1 && GPIO_LEVEL_LOW == 0);
H A Dregulator_gpio.c15 static_assert(GPIO_LEVEL_HIGH == 1 && GPIO_LEVEL_LOW == 0);
/optee_os/core/arch/riscv/kernel/
H A Dthread_arch.c91 static_assert(!IS_ENABLED(CFG_WITH_VFP)); in thread_lazy_save_ns_vfp()
96 static_assert(!IS_ENABLED(CFG_WITH_VFP)); in thread_lazy_restore_ns_vfp()
/optee_os/core/drivers/firewall/
H A Dfirewall.c16 static_assert(IS_ENABLED(CFG_DT));
/optee_os/core/arch/arm/plat-stm32mp1/drivers/
H A Dstm32mp1_pmic.c43 static_assert(IS_ENABLED(CFG_DRIVERS_REGULATOR));
44 static_assert(PMIC_REGU_FLAG_COUNT <= UINT_MAX);
/optee_os/core/pta/stm32mp/
H A Dbsec_pta.c17 static_assert(IS_ENABLED(CFG_STM32_BSEC));

12