Home
last modified time | relevance | path

Searched refs:STATIC_ASSERT (Results 1 – 18 of 18) sorted by relevance

/trusty/user/base/interface/hwaes/include/interface/hwaes/
Dhwaes.h162 STATIC_ASSERT(sizeof(struct hwaes_data_desc) == 8 + 8 + 4 + 4);
176 STATIC_ASSERT(sizeof(struct hwaes_shm_desc) == 8 + 4 + 4);
187 STATIC_ASSERT(sizeof(struct hwaes_req) == 4 + 4);
198 STATIC_ASSERT(sizeof(struct hwaes_resp) == 4 + 4);
237 STATIC_ASSERT(sizeof(struct hwaes_aes_req) ==
/trusty/user/base/interface/arm_ffa/include/interface/arm_ffa/
Darm_ffa.h27 #ifndef STATIC_ASSERT
28 #define STATIC_ASSERT(e) _Static_assert(e, #e) macro
71 STATIC_ASSERT(sizeof(struct ffa_cons_mrd) == 16);
92 STATIC_ASSERT(sizeof(struct ffa_comp_mrd) == 16);
226 STATIC_ASSERT(sizeof(struct ffa_mapd) == 4);
241 STATIC_ASSERT(sizeof(struct ffa_emad) == 16);
275 STATIC_ASSERT(sizeof(struct ffa_mtd) == 32);
295 STATIC_ASSERT(sizeof(struct ffa_mem_relinquish_descriptor) == 16);
/trusty/user/base/interface/hwbcc/include/interface/hwbcc/
Dhwbcc.h65 STATIC_ASSERT(sizeof(struct hwbcc_req_hdr) == 16);
95 STATIC_ASSERT(sizeof(struct hwbcc_req_sign_data) == 8);
109 STATIC_ASSERT(sizeof(struct hwbcc_resp_hdr) == 12);
/trusty/user/app/sample/stats-test/include/
Dconsumer_ctl.h45 STATIC_ASSERT(sizeof(ShmVendorAtomValue) ==
57 STATIC_ASSERT(sizeof(ShmContent) == PAGE_SIZE);
/trusty/user/base/interface/hwkey/include/interface/hwkey/
Dhwkey.h179 STATIC_ASSERT(sizeof(struct hwkey_msg) == 20);
/trusty/user/app/storage/
Dblock_device_tipc.c71 STATIC_ASSERT(BLOCK_SIZE_RPMB_BLOCKS == 1 || BLOCK_SIZE_RPMB_BLOCKS == 2);
72 STATIC_ASSERT((BLOCK_SIZE_RPMB_BLOCKS * RPMB_BUF_SIZE) == BLOCK_SIZE_RPMB);
74 STATIC_ASSERT(BLOCK_COUNT_RPMB == 0 || BLOCK_COUNT_RPMB >= 8);
76 STATIC_ASSERT(BLOCK_SIZE_MAIN >= 256);
77 STATIC_ASSERT(BLOCK_COUNT_MAIN >= 8);
78 STATIC_ASSERT(BLOCK_SIZE_MAIN >= BLOCK_SIZE_RPMB);
81 STATIC_ASSERT(BLOCK_SIZE_RPMB >= 256);
320 STATIC_ASSERT(sizeof(*in) >= sizeof(*out)); in hwkey_derive_rpmb_key()
356 STATIC_ASSERT(sizeof(in->block_data) >= sizeof(out->rpmb_key)); in block_device_tipc_program_key()
Dcrypt.c110 STATIC_ASSERT(sizeof(*iv) >= EVP_MAX_IV_LENGTH); in crypt()
178 STATIC_ASSERT(sizeof(ret) <= sizeof(md)); in str_hash()
Darray.h23 STATIC_ASSERT(sizeof((dest)[0]) == sizeof((src)[0])); \
Dfs.h59 STATIC_ASSERT(sizeof(struct super_block_backup) == 76);
Dsuper.c160 STATIC_ASSERT(offsetof(struct super_block, flags2) == 124);
161 STATIC_ASSERT(offsetof(struct super_block, flags3) == 252);
162 STATIC_ASSERT(sizeof(struct super_block) == 256);
169 STATIC_ASSERT(offsetof(struct super_block, fs_version) == 28);
170 STATIC_ASSERT(offsetof(struct super_block, required_flags) == 30);
173 STATIC_ASSERT(sizeof(struct super_block) <= 256);
Drpmb.c128 STATIC_ASSERT(sizeof(*packet) - offsetof(__typeof__(*packet), data) == in rpmb_mac()
/trusty/user/base/lib/smc/
Dsmc.c30 STATIC_ASSERT(sizeof(struct smc_response) == in smc_read_response()
/trusty/user/app/sample/hwcrypto/
Dhwkey_srv_priv.h61 STATIC_ASSERT(HWKEY_OPAQUE_HANDLE_SIZE <= HWKEY_OPAQUE_HANDLE_MAX_SIZE);
/trusty/user/base/lib/hwbcc/srv/
Dsrv.c34 STATIC_ASSERT(sizeof(struct hwbcc_req) ==
43 STATIC_ASSERT(sizeof(struct hwbcc_resp) ==
/trusty/user/base/lib/hwbcc/client/
Dhwbcc.c109 STATIC_ASSERT(sizeof(struct hwbcc_sign_data_hdr) == in sign_data()
/trusty/user/base/experimental/lib/tidl/include/lib/tidl/
Dtidl.h102 STATIC_ASSERT(sizeof(ParcelFileDescriptor) == 2 * sizeof(uint32_t));
/trusty/user/base/lib/hwbcc/common/
Dswbcc.c248 STATIC_ASSERT(sizeof(ctx) >= sizeof(*client) + sizeof(kdf_ctx)); in swbcc_init()
/trusty/kernel/lib/trusty/
Dtrusty_app.c64 STATIC_ASSERT(USER_ASPACE_BASE != 0);