Searched refs:server_msg (Results 1 – 1 of 1) sorted by relevance
/system/core/adb/pairing_auth/tests/ |
D | pairing_auth_test.cpp | 149 std::vector<uint8_t> server_msg(pairing_auth_msg_size(server.get())); in TEST_F() local 150 ASSERT_FALSE(server_msg.empty()); in TEST_F() 151 pairing_auth_get_spake2_msg(server.get(), server_msg.data()); in TEST_F() 153 EXPECT_TRUE(pairing_auth_init_cipher(client.get(), server_msg.data(), server_msg.size())); in TEST_F() 167 server_msg.resize( in TEST_F() 169 ASSERT_GT(server_msg.size(), 0); in TEST_F() 171 server_msg.data(), &out_size)); in TEST_F() 174 server_msg.resize(pairing_auth_safe_encrypted_size(server.get(), msg.size())); in TEST_F() 175 ASSERT_GT(server_msg.size(), 0); in TEST_F() 176 ASSERT_TRUE(pairing_auth_encrypt(server.get(), msg.data(), msg.size(), server_msg.data(), in TEST_F() [all …]
|