Searched refs:client_msg (Results 1 – 1 of 1) sorted by relevance
/system/core/adb/pairing_auth/tests/ |
D | pairing_auth_test.cpp | 144 std::vector<uint8_t> client_msg(pairing_auth_msg_size(client.get())); in TEST_F() local 145 ASSERT_FALSE(client_msg.empty()); in TEST_F() 146 pairing_auth_get_spake2_msg(client.get(), client_msg.data()); in TEST_F() 154 EXPECT_TRUE(pairing_auth_init_cipher(server.get(), client_msg.data(), client_msg.size())); in TEST_F() 160 client_msg.resize(pairing_auth_safe_encrypted_size(client.get(), msg.size())); in TEST_F() 161 ASSERT_GT(client_msg.size(), 0); in TEST_F() 162 ASSERT_TRUE(pairing_auth_encrypt(client.get(), msg.data(), msg.size(), client_msg.data(), in TEST_F() 165 client_msg.resize(out_size); in TEST_F() 168 pairing_auth_safe_decrypted_size(server.get(), client_msg.data(), client_msg.size())); in TEST_F() 170 ASSERT_FALSE(pairing_auth_decrypt(server.get(), client_msg.data(), client_msg.size(), in TEST_F() [all …]
|