Home
last modified time | relevance | path

Searched refs:req_data (Results 1 – 3 of 3) sorted by relevance

/trusty/hardware/nxp/app/hwcrypto/
Dhwkey_srv.c57 static uint8_t req_data[HWKEY_MAX_PAYLOAD_SIZE + 1] variable
213 rc = tipc_recv_two_segments(ctx->chan, &msg, sizeof(msg), req_data, in hwkey_chan_handle_msg()
214 sizeof(req_data) - 1); in hwkey_chan_handle_msg()
226 req_data[req_data_len] = 0; /* force zero termination */ in hwkey_chan_handle_msg()
227 rc = hwkey_handle_get_keyslot_cmd(ctx, &msg, (const char*)req_data); in hwkey_chan_handle_msg()
231 rc = hwkey_handle_derive_key_cmd(ctx, &msg, req_data, req_data_len); in hwkey_chan_handle_msg()
232 memset(req_data, 0, req_data_len); /* sanitize request buffer */ in hwkey_chan_handle_msg()
/trusty/user/app/sample/hwcrypto/
Dhwkey_srv.c75 static uint8_t req_data[HWKEY_MAX_MSG_SIZE + 1]; variable
515 rc = tipc_recv1(ctx->chan, sizeof(*hdr), req_data, sizeof(req_data) - 1); in hwkey_chan_handle_msg()
529 hdr = (struct hwkey_msg_header*)req_data; in hwkey_chan_handle_msg()
534 req_data[req_data_len] = 0; /* force zero termination */ in hwkey_chan_handle_msg()
541 ctx, (struct hwkey_msg*)req_data, in hwkey_chan_handle_msg()
542 (const char*)(req_data + sizeof(struct hwkey_msg))); in hwkey_chan_handle_msg()
552 ctx, (struct hwkey_msg*)req_data, in hwkey_chan_handle_msg()
553 req_data + sizeof(struct hwkey_msg), in hwkey_chan_handle_msg()
555 memset(req_data, 0, req_data_len); /* sanitize request buffer */ in hwkey_chan_handle_msg()
565 ctx, (struct hwkey_derive_versioned_msg*)req_data, in hwkey_chan_handle_msg()
[all …]
/trusty/user/app/keymint/
Dipc_manager.rs118 fn handle_message(&self, req_data: &[u8]) -> Result<Vec<Vec<u8>>, Error> { in handle_message()
119 let resp = self.km_ta.borrow_mut().process(req_data); in handle_message()