Home
last modified time | relevance | path

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

/trusty/user/base/lib/hwaes/
Dhwaes.c298 size_t* resp_msg_size) { in hwaes_recv_resp() argument
339 *resp_msg_size = rc; in hwaes_recv_resp()
432 size_t resp_msg_size; in hwaes_crypt() local
433 rc = hwaes_recv_resp(session, &resp_iov, &resp_msg_size); in hwaes_crypt()
445 if (resp.result == HWAES_NO_ERROR && resp_msg_size != resp_iov.total_len) { in hwaes_crypt()
446 TLOGE("wrong response message length (%zu)\n", resp_msg_size); in hwaes_crypt()
/trusty/user/base/lib/hwaes/srv/
Dhwaes_server.c286 size_t resp_msg_size = sizeof(*resp_header); in hwaes_handle_aes_cmd() local
332 size_t resp_offset = resp_msg_size; in hwaes_handle_aes_cmd()
395 resp_msg_size = resp_offset; in hwaes_handle_aes_cmd()
399 rc = hwaes_send_resp(chan, resp_msg_buf, resp_msg_size); in hwaes_handle_aes_cmd()