| /optee_os/core/drivers/ |
| H A D | stm32mp15_huk.c | 158 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 D | zynqmp_huk.c | 119 static_assert(sizeof(device_dna) == ZYNQMP_GCM_IV_SIZE); in tee_otp_get_hw_unique_key()
|
| /optee_os/lib/libutils/isoc/include/ |
| H A D | assert.h | 59 #define static_assert _Static_assert macro 74 #define static_assert(...) \ macro
|
| /optee_os/core/include/kernel/ |
| H A D | user_access.h | 173 static_assert(sizeof(_x) == sizeof(*__p)); \ 183 static_assert(sizeof(_x) == sizeof(*__p)); \
|
| /optee_os/core/arch/arm/plat-d06/ |
| H A D | core_pos_a64.S | 39 static_assert(0);
|
| /optee_os/core/arch/arm/plat-sam/nsec-service/ |
| H A D | sm_platform_handler.c | 24 static_assert(CFG_TEE_CORE_NB_CORE == 1); in sam_sip_handler()
|
| /optee_os/core/arch/arm/plat-rcar/ |
| H A D | main.c | 76 static_assert(!IS_ENABLED(CFG_WITH_SOFTWARE_PRNG));
|
| /optee_os/core/kernel/ |
| H A D | panic.c | 16 static_assert(!IS_ENABLED(CFG_MULTI_CORE_HALTING) ||
|
| H A D | scall.c | 197 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 D | main.c | 52 static_assert(sizeof(plat_huk) == sizeof(hwkey->data)); in tee_otp_get_hw_unique_key()
|
| /optee_os/core/pta/ |
| H A D | hwrng.c | 20 static_assert(!IS_ENABLED(CFG_WITH_SOFTWARE_PRNG));
|
| /optee_os/core/arch/arm/plat-stm32mp1/ |
| H A D | plat_tzc400.c | 262 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 D | common.h | 372 #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 D | i2c_stm32.c | 16 static_assert(CFG_CORE_SE05X_I2C_BUS < 10);
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | x25519.c | 86 static_assert(sizeof(ltc_public_key.pub) == X25519_KEY_SIZE_BYTES && in crypto_acipher_x25519_shared_secret()
|
| /optee_os/core/pta/imx/ |
| H A D | dek_blob.c | 65 static_assert(sizeof(struct dek_blob_header) == 8 * sizeof(uint8_t)); in do_generate()
|
| /optee_os/core/drivers/crypto/caam/ |
| H A D | caam_ctrl.c | 33 static_assert((CFG_TZDRAM_START + CFG_TZDRAM_SIZE) < UINT32_MAX);
|
| /optee_os/core/arch/arm/plat-stm32mp2/ |
| H A D | main.c | 85 static_assert(ARRAY_SIZE(uarts) > CFG_STM32_EARLY_CONSOLE_UART); in plat_console_init()
|
| /optee_os/core/drivers/scmi-msg/ |
| H A D | smt.c | 147 static_assert(SCMI_SEC_PAYLOAD_SIZE + sizeof(struct smt_header) <= in scmi_smt_init_agent_channel()
|
| /optee_os/core/drivers/regulator/ |
| H A D | regulator_fixed.c | 16 static_assert(GPIO_LEVEL_HIGH == 1 && GPIO_LEVEL_LOW == 0);
|
| H A D | regulator_gpio.c | 15 static_assert(GPIO_LEVEL_HIGH == 1 && GPIO_LEVEL_LOW == 0);
|
| /optee_os/core/arch/riscv/kernel/ |
| H A D | thread_arch.c | 91 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 D | firewall.c | 16 static_assert(IS_ENABLED(CFG_DT));
|
| /optee_os/core/arch/arm/plat-stm32mp1/drivers/ |
| H A D | stm32mp1_pmic.c | 43 static_assert(IS_ENABLED(CFG_DRIVERS_REGULATOR)); 44 static_assert(PMIC_REGU_FLAG_COUNT <= UINT_MAX);
|
| /optee_os/core/pta/stm32mp/ |
| H A D | bsec_pta.c | 17 static_assert(IS_ENABLED(CFG_STM32_BSEC));
|