Home
last modified time | relevance | path

Searched refs:auth_key (Results 1 – 10 of 10) sorted by relevance

/system/core/adb/daemon/
Dauth.cpp156 std::string* auth_key) { in adbd_auth_verify() argument
158 auth_key->clear(); in adbd_auth_verify()
181 *auth_key = public_key; in adbd_auth_verify()
238 std::string_view auth_key(public_key, len); in adbd_key_removed() local
239 kick_all_transports_by_auth_key(auth_key); in adbd_key_removed()
288 t->auth_id = adbd_auth_prompt_user_with_id(auth_ctx, t->auth_key.data(), t->auth_key.size(), in adbd_auth_confirm_key()
291 adbd_auth_prompt_user(auth_ctx, t->auth_key.data(), t->auth_key.size(), in adbd_auth_confirm_key()
297 t->auth_id = adbd_auth_notify_auth(auth_ctx, t->auth_key.data(), t->auth_key.size()); in adbd_notify_framework_connected_key()
300 int adbd_tls_verify_cert(X509_STORE_CTX* ctx, std::string* auth_key) { in adbd_tls_verify_cert() argument
346 *auth_key = public_key; in adbd_tls_verify_cert()
[all …]
Dadb_wifi.cpp225 t->auth_id = adbd_auth_tls_device_connected(auth_ctx, kAdbTransportTypeWifi, t->auth_key.data(), in adbd_wifi_secure_connect()
226 t->auth_key.size()); in adbd_wifi_secure_connect()
Dusb.cpp267 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key) override final { in DoTlsHandshake()
/system/core/adb/
Dadb_auth.h58 std::string* auth_key);
65 int adbd_tls_verify_cert(X509_STORE_CTX* ctx, std::string* auth_key);
Dtransport.h120 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key = nullptr) = 0;
146 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key = nullptr) = 0;
166 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
192 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
309 std::string auth_key; variable
434 void kick_all_transports_by_auth_key(std::string_view auth_key);
Dtransport.cpp349 bool BlockingConnectionAdapter::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument
354 bool success = this->underlying_->DoTlsHandshake(key, auth_key); in DoTlsHandshake()
493 bool FdConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument
528 [auth_key](X509_STORE_CTX* ctx) { return adbd_tls_verify_cert(ctx, auth_key); }); in DoTlsHandshake()
878 void kick_all_transports_by_auth_key(std::string_view auth_key) { in kick_all_transports_by_auth_key() argument
881 if (auth_key == t->auth_key) { in kick_all_transports_by_auth_key()
Dadb.cpp382 std::string auth_key; in handle_packet()
383 if (adbd_auth_verify(t->token, sizeof(t->token), signature, &auth_key)) { in handle_packet()
386 t->auth_key = auth_key; in handle_packet()
396 t->auth_key = std::string(p->payload.data()); in handle_packet()
Dtransport_fd.cpp158 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final { in DoTlsHandshake()
/system/core/adb/client/
Dusb.h64 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
Dtransport_usb.cpp178 bool UsbConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument