Home
last modified time | relevance | path

Searched refs:COMPILE_TIME_ASSERT (Results 1 – 25 of 45) sorted by relevance

12

/optee_os-3.20.0/core/arch/arm/sm/
A Dsm.c67 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 Dcore_mmu_arch.h209 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 Dcore_mmu_lpae.c337 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 Dcore_mmu_v7.c323 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 Dassert.h31 #define COMPILE_TIME_ASSERT(x) \ macro
/optee_os-3.20.0/core/arch/arm/plat-sam/
A Dmain.c123 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 Dtee_supp_plugin_rpc.c36 COMPILE_TIME_ASSERT(sizeof(TEE_UUID) == sizeof(uuid_words)); in tee_invoke_supp_plugin_rpc()
A Dtee_fs_key_manager.c143 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 Dcaam_blob.c75 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 Dsha1_accel.c71 COMPILE_TIME_ASSERT(sizeof(md->sha1.state[0]) == sizeof(uint32_t)); in sha1_compress_nblocks()
A Dsha256_accel.c73 COMPILE_TIME_ASSERT(sizeof(md->sha256.state[0]) == sizeof(uint32_t)); in sha256_compress_nblocks()
A Dsha512_accel.c41 COMPILE_TIME_ASSERT(sizeof(md->sha512.state[0]) == sizeof(uint64_t)); in sha512_compress_nblocks()
/optee_os-3.20.0/lib/libutils/ext/
A Dmempool.c123 COMPILE_TIME_ASSERT(MEMPOOL_ALIGN >= __alignof__(struct mempool_item)); in mempool_alloc_pool()
/optee_os-3.20.0/lib/libmbedtls/core/
A Dcmac.c79 COMPILE_TIME_ASSERT(TEE_AES_BLOCK_SIZE >= TEE_DES_BLOCK_SIZE); in mbed_cmac_final()
/optee_os-3.20.0/core/drivers/
A Datmel_shdwc.c153 COMPILE_TIME_ASSERT(CFG_TEE_CORE_NB_CORE == 1); in atmel_shdwc_probe()
A Dpl061_gpio.c181 COMPILE_TIME_ASSERT(PLAT_PL061_MAX_GPIOS > 0); in pl061_init()
A Dstm32_etzpc.c118 COMPILE_TIME_ASSERT(ETZPC_DECPROT_MAX <= UINT8_MAX); in etzpc_configure_decprot()
/optee_os-3.20.0/core/pta/
A Dsecstor_ta_mgmt.c94 COMPILE_TIME_ASSERT(sizeof(property.uuid) == sizeof(bs_ta.uuid)); in install_ta()
A Dattestation.c40 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 Dmain.c105 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 Darch_svc.c239 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 Dftrace.c221 COMPILE_TIME_ASSERT(DURATION_MAX_LEN == 16); in ftrace_duration()
/optee_os-3.20.0/core/crypto/
A Daes-gcm.c65 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 Dsama5d2_clk.c344 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 Dfs_htree.c38 COMPILE_TIME_ASSERT(TEST_BLOCK_SIZE > in test_get_offs_size()
40 COMPILE_TIME_ASSERT(TEST_BLOCK_SIZE > in test_get_offs_size()

Completed in 30 milliseconds

12