Home
last modified time | relevance | path

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

/trusty/user/app/keymaster/ipc/
Dkeymaster_ipc.cpp167 uint32_t payload_size, in deserialize_request() argument
170 if (!req.Deserialize(&payload, msg->payload + payload_size)) in deserialize_request()
196 uint32_t payload_size, in do_dispatch() argument
202 err = deserialize_request(msg, payload_size, req); in do_dispatch()
231 uint32_t payload_size, in do_dispatch() argument
237 err = deserialize_request(msg, payload_size, req); in do_dispatch()
264 uint32_t payload_size, in do_dispatch() argument
328 uint32_t payload_size, in keymaster_dispatch_secure() argument
343 LOG_D("Dispatching SET_ATTESTATION_IDS_SECURE, size %d", payload_size); in keymaster_dispatch_secure()
345 payload_size, out, out_size); in keymaster_dispatch_secure()
[all …]
/trusty/user/base/lib/hwbcc/srv/
Dsrv.c142 size_t payload_size = 0; in handle_sign_data() local
149 &payload_size); in handle_sign_data()
156 resp.hdr.payload_size = payload_size; in handle_sign_data()
157 rc = tipc_send1(chan, &resp, sizeof(resp.hdr) + payload_size); in handle_sign_data()
162 if ((size_t)rc != sizeof(resp.hdr) + payload_size) { in handle_sign_data()
174 size_t payload_size = 0; in handle_get_bcc() local
179 &payload_size); in handle_get_bcc()
186 resp.hdr.payload_size = payload_size; in handle_get_bcc()
187 rc = tipc_send1(chan, &resp, sizeof(resp.hdr) + payload_size); in handle_get_bcc()
192 if ((size_t)rc != sizeof(resp.hdr) + payload_size) { in handle_get_bcc()
[all …]
/trusty/user/base/lib/hwbcc/client/
Dhwbcc.c62 if (resp.payload_size != (size_t)rc - sizeof(resp)) { in recv_resp()
66 if (resp.payload_size > HWBCC_MAX_RESP_PAYLOAD_SIZE || in recv_resp()
67 resp.payload_size > buf_size) { in recv_resp()
68 TLOGE("Response payload size: %d\n", resp.payload_size); in recv_resp()
72 *out_size = resp.payload_size; in recv_resp()
/trusty/user/base/lib/hwbcc/rust/src/
Dlib.rs187 if msg.payload_size as usize != response_payload.len() { in deserialize()
233 let payload_size = resp.payload.len(); in read_payload() localVariable
234 if payload_size > buf.len() { in read_payload()
239 buf[..payload_size].copy_from_slice(&resp.payload); in read_payload()
240 Ok(&buf[..payload_size]) in read_payload()
/trusty/user/base/interface/hwbcc/include/interface/hwbcc/
Dhwbcc.h107 uint32_t payload_size; member
/trusty/user/app/storage/
Dblock_tree.c112 size_t payload_size = block_size - sizeof(struct block_tree_node); in block_tree_set_sizes() local
114 assert(payload_size < block_size); in block_tree_set_sizes()
125 tree->key_count[0] = (payload_size - child_size) / (key_size + child_size); in block_tree_set_sizes()
127 tree->key_count[1] = (payload_size) / (key_size + data_size); in block_tree_set_sizes()