Home
last modified time | relevance | path

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

/system/core/trusty/libtrusty-rs/tests/
Dtest.rs11 let send_buf = [7u8; 32]; in recv_no_alloc() localVariable
12 connection.send(send_buf.as_slice()).unwrap(); in recv_no_alloc()
20 send_buf.len(), in recv_no_alloc()
23 send_buf.len(), in recv_no_alloc()
26 assert_eq!(send_buf, recv_buf, "Received data does not match sent data"); in recv_no_alloc()
36 let send_buf = [7u8; 2048]; in recv_small_buf() localVariable
37 connection.send(send_buf.as_slice()).unwrap(); in recv_small_buf()
58 let send_buf = [7u8; 2048]; in recv_empty_vec() localVariable
59 connection.send(send_buf.as_slice()).unwrap(); in recv_empty_vec()
66 assert_eq!(send_buf.as_slice(), recv_buf, "Received data does not match sent data"); in recv_empty_vec()
[all …]
/system/core/trusty/keymaster/ipc/
Dtrusty_keymaster_ipc.cpp285 uint8_t send_buf[TRUSTY_KEYMASTER_SEND_BUF_SIZE]; in trusty_keymaster_send() local
286 keymaster::Eraser send_buf_eraser(send_buf, TRUSTY_KEYMASTER_SEND_BUF_SIZE); in trusty_keymaster_send()
287 req.Serialize(send_buf, send_buf + req_size); in trusty_keymaster_send()
290 auto response = trusty_keymaster_call_2(command, send_buf, req_size); in trusty_keymaster_send()
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp192 uint8_t send_buf[SEND_BUF_SIZE]; in Send() local
193 request.Serialize(send_buf, send_buf + request_size); in Send()
198 int rc = trusty_gatekeeper_call(command, send_buf, request_size, recv_buf, &response_size); in Send()