Home
last modified time | relevance | path

Searched refs:header_size (Results 1 – 6 of 6) sorted by relevance

/trusty/user/base/lib/hwwsk/rust/src/
Dlib.rs86 let header_size = mem::size_of::<hwwsk_req_hdr>(); in deserialize() localVariable
87 if bytes.len() < header_size { in deserialize()
101 GenerateKeyReq::deserialize(&bytes[header_size..], handles)?, in deserialize()
104 Ok(HwWskCmd::Export(ExportKeyReq::deserialize(&bytes[header_size..], handles)?)) in deserialize()
146 let header_size = mem::size_of::<hwwsk_generate_key_req>(); in deserialize() localVariable
147 if bytes.len() < header_size { in deserialize()
160 raw_key: Vec::try_alloc_from(&bytes[header_size..])?, in deserialize()
222 let header_size = mem::size_of::<u32>() * 2; in deserialize() localVariable
223 if bytes.len() < header_size { in deserialize()
/trusty/user/base/lib/hwkey/rust/src/
Dlib.rs587 let header_size = mem::size_of::<hwkey_msg>(); in deserialize() localVariable
588 if bytes.len() < header_size { in deserialize()
598 let response_payload = Vec::try_alloc_from(&bytes[header_size..])?; in deserialize()
624 let header_size = mem::size_of::<hwkey_derive_versioned_msg>(); in deserialize() localVariable
625 if bytes.len() < header_size { in deserialize()
635 if bytes.len() - header_size != msg.key_len as usize { in deserialize()
638 bytes.len() - header_size, in deserialize()
644 let response_payload = Vec::try_alloc_from(&bytes[header_size..])?; in deserialize()
/trusty/kernel/lib/sm/
Dtrusty_sched_share.c56 uint32_t header_size; member
145 shareinfo.header_size = hdr_sz; in trusty_share_register()
227 tmp += shareinfo.header_size; in get_percpu_share_ptr()
/trusty/user/base/lib/hwbcc/rust/src/
Dlib.rs169 let header_size = mem::size_of::<hwbcc_resp_hdr>(); in deserialize() localVariable
170 if bytes.len() < header_size { in deserialize()
178 let (header, payload) = bytes.split_at(header_size); in deserialize()
/trusty/kernel/lib/arm_ffa/
Darm_ffa.c570 uint32_t header_size; in arm_ffa_mem_retrieve_start() local
626 header_size = emad->comp_mrd_offset + in arm_ffa_mem_retrieve_start()
629 (fragment_len - header_size) / sizeof(struct ffa_cons_mrd); in arm_ffa_mem_retrieve_start()
632 if (frag_info->count * sizeof(struct ffa_cons_mrd) + header_size != in arm_ffa_mem_retrieve_start()
/trusty/user/app/storage/test/block_host_test/
Dblock_test.c482 const size_t header_size = sizeof(struct iv) + 8; in block_tree_test_etc() local
485 header_size + key_size * (order - 1) + child_size * order; in block_tree_test_etc()