Home
last modified time | relevance | path

Searched refs:req_data_len (Results 1 – 2 of 2) sorted by relevance

/trusty/user/app/sample/hwcrypto/
Dhwkey_srv.c512 size_t req_data_len; in hwkey_chan_handle_msg() local
521 req_data_len = (size_t)rc; in hwkey_chan_handle_msg()
523 if (req_data_len < sizeof(*hdr)) { in hwkey_chan_handle_msg()
524 TLOGE("Received too little data (%zu) from chan %d\n", req_data_len, in hwkey_chan_handle_msg()
534 req_data[req_data_len] = 0; /* force zero termination */ in hwkey_chan_handle_msg()
535 if (req_data_len < sizeof(struct hwkey_msg)) { in hwkey_chan_handle_msg()
536 TLOGE("Received too little data (%zu) from chan %d\n", req_data_len, in hwkey_chan_handle_msg()
546 if (req_data_len < sizeof(struct hwkey_msg)) { in hwkey_chan_handle_msg()
547 TLOGE("Received too little data (%zu) from chan %d\n", req_data_len, in hwkey_chan_handle_msg()
554 req_data_len - sizeof(struct hwkey_msg)); in hwkey_chan_handle_msg()
[all …]
/trusty/hardware/nxp/app/hwcrypto/
Dhwkey_srv.c210 size_t req_data_len; in hwkey_chan_handle_msg() local
221 req_data_len = (size_t)rc - sizeof(msg); in hwkey_chan_handle_msg()
226 req_data[req_data_len] = 0; /* force zero termination */ 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()