Home
last modified time | relevance | path

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

/packages/modules/adb/daemon/
Dauth.cpp157 std::string* auth_key) { in adbd_auth_verify() argument
159 auth_key->clear(); in adbd_auth_verify()
182 *auth_key = public_key; in adbd_auth_verify()
239 std::string_view auth_key(public_key, len); in adbd_key_removed() local
240 kick_all_transports_by_auth_key(auth_key); in adbd_key_removed()
289 t->auth_id = adbd_auth_prompt_user_with_id(auth_ctx, t->auth_key.data(), t->auth_key.size(), in adbd_auth_confirm_key()
292 adbd_auth_prompt_user(auth_ctx, t->auth_key.data(), t->auth_key.size(), in adbd_auth_confirm_key()
298 t->auth_id = adbd_auth_notify_auth(auth_ctx, t->auth_key.data(), t->auth_key.size()); in adbd_notify_framework_connected_key()
301 int adbd_tls_verify_cert(X509_STORE_CTX* ctx, std::string* auth_key) { in adbd_tls_verify_cert() argument
347 *auth_key = public_key; in adbd_tls_verify_cert()
[all …]
Dadb_wifi.cpp222 t->auth_id = adbd_auth_tls_device_connected(auth_ctx, kAdbTransportTypeWifi, t->auth_key.data(), in adbd_wifi_secure_connect()
223 t->auth_key.size()); in adbd_wifi_secure_connect()
Dusb.cpp238 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key) override final { in DoTlsHandshake()
/packages/modules/adb/
Dtransport.h121 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key = nullptr) = 0;
160 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key = nullptr) = 0;
180 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
206 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
333 std::string auth_key; variable
494 void kick_all_transports_by_auth_key(std::string_view auth_key);
Dadb_auth.h59 std::string* auth_key);
66 int adbd_tls_verify_cert(X509_STORE_CTX* ctx, std::string* auth_key);
Dtransport.cpp367 bool BlockingConnectionAdapter::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument
372 bool success = this->underlying_->DoTlsHandshake(key, auth_key); in DoTlsHandshake()
509 bool FdConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument
540 [auth_key](X509_STORE_CTX* ctx) { return adbd_tls_verify_cert(ctx, auth_key); }); in DoTlsHandshake()
810 void kick_all_transports_by_auth_key(std::string_view auth_key) { in kick_all_transports_by_auth_key() argument
813 if (auth_key == t->auth_key) { in kick_all_transports_by_auth_key()
Dadb.cpp447 std::string auth_key; in handle_packet()
448 if (adbd_auth_verify(t->token, sizeof(t->token), signature, &auth_key)) { in handle_packet()
451 t->auth_key = auth_key; in handle_packet()
461 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()
/packages/modules/adb/client/
Dusb.h52 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
Dtransport_usb.cpp148 bool UsbConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument