/optee_os-3.20.0/core/arch/arm/sm/ |
A D | sm.c | 67 COMPILE_TIME_ASSERT(!(offsetof(struct sm_ctx, sec.r0) % 8)); in sm_from_nsec() 68 COMPILE_TIME_ASSERT(!(offsetof(struct sm_ctx, nsec.r0) % 8)); in sm_from_nsec() 69 COMPILE_TIME_ASSERT(!(sizeof(struct sm_ctx) % 8)); in sm_from_nsec()
|
/optee_os-3.20.0/core/arch/arm/include/mm/ |
A D | core_mmu_arch.h | 209 COMPILE_TIME_ASSERT(sizeof(paddr_t) == sizeof(uint32_t)); in core_mmu_check_max_pa() 231 COMPILE_TIME_ASSERT(CFG_LPAE_ADDR_SPACE_BITS >= 32); in core_mmu_get_va_width() 232 COMPILE_TIME_ASSERT(CFG_LPAE_ADDR_SPACE_BITS <= 48); in core_mmu_get_va_width()
|
/optee_os-3.20.0/core/arch/arm/mm/ |
A D | core_mmu_lpae.c | 337 COMPILE_TIME_ASSERT(ATTR_DEVICE_nGnRnE_INDEX == in desc_to_mattr() 339 COMPILE_TIME_ASSERT(ATTR_DEVICE_nGnRE_INDEX == TEE_MATTR_MEM_TYPE_DEV); in desc_to_mattr() 340 COMPILE_TIME_ASSERT(ATTR_IWBWA_OWBWA_NTR_INDEX == in desc_to_mattr() 342 COMPILE_TIME_ASSERT(ATTR_TAGGED_NORMAL_MEM_INDEX == in desc_to_mattr() 460 COMPILE_TIME_ASSERT(sizeof(base_xlation_table) <= SMALL_PAGE_SIZE); in core_alloc_mmu_prtn() 733 COMPILE_TIME_ASSERT(MAX_XLAT_TABLES < in core_init_mmu_prtn_ta_core() 800 COMPILE_TIME_ASSERT(CORE_MMU_BASE_TABLE_SHIFT == in core_init_mmu() 803 COMPILE_TIME_ASSERT(CORE_MMU_BASE_TABLE_OFFSET == in core_init_mmu() 806 COMPILE_TIME_ASSERT(XLAT_TABLES_SIZE == sizeof(xlat_tables)); in core_init_mmu() 882 COMPILE_TIME_ASSERT(CFG_CORE_ARM64_PA_BITS >= 32); in get_physical_addr_size_bits() [all …]
|
A D | core_mmu_v7.c | 323 COMPILE_TIME_ASSERT(ATTR_DEVICE_INDEX == TEE_MATTR_MEM_TYPE_DEV); in texcb_to_mattr() 324 COMPILE_TIME_ASSERT(ATTR_NORMAL_CACHED_INDEX == in texcb_to_mattr() 326 COMPILE_TIME_ASSERT(ATTR_STRONG_O_INDEX == in texcb_to_mattr() 328 COMPILE_TIME_ASSERT(ATTR_TAGGED_CACHED_INDEX == in texcb_to_mattr() 513 COMPILE_TIME_ASSERT(L2_TBL_SIZE == PGT_SIZE); in core_mmu_create_user_map()
|
/optee_os-3.20.0/lib/libutils/isoc/include/ |
A D | assert.h | 31 #define COMPILE_TIME_ASSERT(x) \ macro
|
/optee_os-3.20.0/core/arch/arm/plat-sam/ |
A D | main.c | 123 COMPILE_TIME_ASSERT(CFG_TZDRAM_START == AT91C_BASE_DDRCS); in matrix_configure_slave_h64mx() 124 COMPILE_TIME_ASSERT(CFG_TZDRAM_SIZE == 0x800000); in matrix_configure_slave_h64mx()
|
/optee_os-3.20.0/core/tee/ |
A D | tee_supp_plugin_rpc.c | 36 COMPILE_TIME_ASSERT(sizeof(TEE_UUID) == sizeof(uuid_words)); in tee_invoke_supp_plugin_rpc()
|
A D | tee_fs_key_manager.c | 143 COMPILE_TIME_ASSERT(TEE_FS_KM_SSK_SIZE <= HUK_SUBKEY_MAX_LEN); in tee_fs_init_key_manager()
|
/optee_os-3.20.0/core/drivers/crypto/caam/blob/ |
A D | caam_blob.c | 75 COMPILE_TIME_ASSERT(sizeof(hwkey->data) <= sizeof(stored_key)); in tee_otp_get_hw_unique_key()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | sha1_accel.c | 71 COMPILE_TIME_ASSERT(sizeof(md->sha1.state[0]) == sizeof(uint32_t)); in sha1_compress_nblocks()
|
A D | sha256_accel.c | 73 COMPILE_TIME_ASSERT(sizeof(md->sha256.state[0]) == sizeof(uint32_t)); in sha256_compress_nblocks()
|
A D | sha512_accel.c | 41 COMPILE_TIME_ASSERT(sizeof(md->sha512.state[0]) == sizeof(uint64_t)); in sha512_compress_nblocks()
|
/optee_os-3.20.0/lib/libutils/ext/ |
A D | mempool.c | 123 COMPILE_TIME_ASSERT(MEMPOOL_ALIGN >= __alignof__(struct mempool_item)); in mempool_alloc_pool()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | cmac.c | 79 COMPILE_TIME_ASSERT(TEE_AES_BLOCK_SIZE >= TEE_DES_BLOCK_SIZE); in mbed_cmac_final()
|
/optee_os-3.20.0/core/drivers/ |
A D | atmel_shdwc.c | 153 COMPILE_TIME_ASSERT(CFG_TEE_CORE_NB_CORE == 1); in atmel_shdwc_probe()
|
A D | pl061_gpio.c | 181 COMPILE_TIME_ASSERT(PLAT_PL061_MAX_GPIOS > 0); in pl061_init()
|
A D | stm32_etzpc.c | 118 COMPILE_TIME_ASSERT(ETZPC_DECPROT_MAX <= UINT8_MAX); in etzpc_configure_decprot()
|
/optee_os-3.20.0/core/pta/ |
A D | secstor_ta_mgmt.c | 94 COMPILE_TIME_ASSERT(sizeof(property.uuid) == sizeof(bs_ta.uuid)); in install_ta()
|
A D | attestation.c | 40 COMPILE_TIME_ASSERT(CFG_ATTESTATION_PTA_KEY_SIZE <= MAX_KEY_SIZE); in allocate_key() 67 COMPILE_TIME_ASSERT(CFG_ATTESTATION_PTA_KEY_SIZE >= in generate_key() 412 COMPILE_TIME_ASSERT(FILE_TAG_SIZE == TEE_SHA256_HASH_SIZE); in hash_binary()
|
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/ |
A D | main.c | 105 COMPILE_TIME_ASSERT(ARRAY_SIZE(uarts) > CFG_STM32_EARLY_CONSOLE_UART); in console_init() 310 COMPILE_TIME_ASSERT(((SYSRAM_BASE + SYSRAM_SIZE) <= CFG_TZSRAM_START) || in init_stm32mp1_drivers()
|
/optee_os-3.20.0/core/arch/arm/tee/ |
A D | arch_svc.c | 239 COMPILE_TIME_ASSERT(ARRAY_SIZE(tee_svc_syscall_table) == in get_tee_syscall_func() 285 COMPILE_TIME_ASSERT(ARRAY_SIZE(ldelf_syscall_table) == in get_ldelf_syscall_func()
|
/optee_os-3.20.0/lib/libutils/ext/ftrace/ |
A D | ftrace.c | 221 COMPILE_TIME_ASSERT(DURATION_MAX_LEN == 16); in ftrace_duration()
|
/optee_os-3.20.0/core/crypto/ |
A D | aes-gcm.c | 65 COMPILE_TIME_ASSERT(sizeof(len_fields) == TEE_AES_BLOCK_SIZE); in ghash_update_lengths() 74 COMPILE_TIME_ASSERT(sizeof(state->ctr) == TEE_AES_BLOCK_SIZE); in __gcm_init()
|
/optee_os-3.20.0/core/drivers/clk/sam/ |
A D | sama5d2_clk.c | 344 COMPILE_TIME_ASSERT(ARRAY_SIZE(sama5d2_systemck) == PARENT_SIZE); in pmc_setup() 345 COMPILE_TIME_ASSERT(PARENT_SIZE >= 6); in pmc_setup()
|
/optee_os-3.20.0/core/pta/tests/ |
A D | fs_htree.c | 38 COMPILE_TIME_ASSERT(TEST_BLOCK_SIZE > in test_get_offs_size() 40 COMPILE_TIME_ASSERT(TEST_BLOCK_SIZE > in test_get_offs_size()
|