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()
226 std::string_view auth_key(public_key, len); in adbd_key_removed() local
227 kick_all_transports_by_auth_key(auth_key); in adbd_key_removed()
274 adbd_auth_prompt_user(auth_ctx, t->auth_key.data(), t->auth_key.size(), in adbd_auth_confirm_key()
279 t->auth_id = adbd_auth_notify_auth(auth_ctx, t->auth_key.data(), t->auth_key.size()); in adbd_notify_framework_connected_key()
282 int adbd_tls_verify_cert(X509_STORE_CTX* ctx, std::string* auth_key) { in adbd_tls_verify_cert() argument
328 *auth_key = public_key; in adbd_tls_verify_cert()
349 std::string auth_key; in adbd_auth_tls_handshake() local
[all …]
Dadb_wifi.cpp224 t->auth_id = adbd_auth_tls_device_connected(auth_ctx, kAdbTransportTypeWifi, t->auth_key.data(), in adbd_wifi_secure_connect()
225 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.h130 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key = nullptr) = 0;
156 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key = nullptr) = 0;
176 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
202 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
322 std::string auth_key; variable
458 void kick_all_transports_by_auth_key(std::string_view auth_key);
Dtransport.cpp353 bool BlockingConnectionAdapter::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument
358 bool success = this->underlying_->DoTlsHandshake(key, auth_key); in DoTlsHandshake()
497 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.cpp384 std::string auth_key; in handle_packet()
385 if (adbd_auth_verify(t->token, sizeof(t->token), signature, &auth_key)) { in handle_packet()
388 t->auth_key = auth_key; in handle_packet()
398 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