Searched refs:msg_size (Results 1 – 3 of 3) sorted by relevance
52 size_t msg_size = in_size + sizeof(struct gatekeeper_message); in trusty_gatekeeper_call() local53 struct gatekeeper_message *msg = malloc(msg_size); in trusty_gatekeeper_call()57 ssize_t rc = write(handle_, msg, msg_size); in trusty_gatekeeper_call()
56 size_t msg_size = in_size + sizeof(struct keymaster_message); in trusty_keymaster_call() local57 struct keymaster_message* msg = reinterpret_cast<struct keymaster_message*>(malloc(msg_size)); in trusty_keymaster_call()66 ssize_t rc = write(handle_, msg, msg_size); in trusty_keymaster_call()
84 size_t msg_size = pairing_auth_msg_size(client.get()); in TEST_F() local85 std::vector<uint8_t> buf(msg_size); in TEST_F()86 ASSERT_GT(msg_size, 0); in TEST_F()90 size_t msg_size = pairing_auth_msg_size(server.get()); in TEST_F() local91 std::vector<uint8_t> buf(msg_size); in TEST_F()92 ASSERT_GT(msg_size, 0); in TEST_F()