Searched refs:auth_ (Results 1 – 1 of 1) sorted by relevance
/system/core/adb/pairing_connection/ |
D | pairing_connection.cpp | 147 PairingAuthPtr auth_; member 199 auth_ = CreatePairingAuthPtr(role_, pswd_); in SetupTlsConnection() 296 uint32_t payload = pairing_auth_msg_size(auth_.get()); in DoExchangeMsgs() 298 pairing_auth_get_spake2_msg(auth_.get(), msg.data()); in DoExchangeMsgs() 323 !pairing_auth_init_cipher(auth_.get(), their_msg.data(), their_msg.size())) { in DoExchangeMsgs() 337 std::vector<uint8_t> outbuf(pairing_auth_safe_encrypted_size(auth_.get(), buf.size())); in DoExchangePeerInfo() 340 if (!pairing_auth_encrypt(auth_.get(), buf.data(), buf.size(), outbuf.data(), &outsize)) { in DoExchangePeerInfo() 382 outbuf.resize(pairing_auth_safe_decrypted_size(auth_.get(), buf.data(), buf.size())); in DoExchangePeerInfo() 388 if (!pairing_auth_decrypt(auth_.get(), buf.data(), buf.size(), outbuf.data(), &outsize)) { in DoExchangePeerInfo()
|