Home
last modified time | relevance | path

Searched refs:auth_key (Results 1 – 12 of 12) 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.cpp242 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key) override final { in DoTlsHandshake()
/packages/modules/adb/
Dtransport.h122 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key = nullptr) = 0;
163 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key = nullptr) = 0;
183 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
209 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
337 std::string auth_key; variable
500 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.cpp371 bool BlockingConnectionAdapter::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument
376 bool success = this->underlying_->DoTlsHandshake(key, auth_key); in DoTlsHandshake()
513 bool FdConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument
544 [auth_key](X509_STORE_CTX* ctx) { return adbd_tls_verify_cert(ctx, auth_key); }); in DoTlsHandshake()
819 void kick_all_transports_by_auth_key(std::string_view auth_key) { in kick_all_transports_by_auth_key() argument
822 if (auth_key == t->auth_key) { in kick_all_transports_by_auth_key()
Dadb.cpp475 std::string auth_key; in handle_packet()
476 if (adbd_auth_verify(t->token, sizeof(t->token), signature, &auth_key)) { in handle_packet()
479 t->auth_key = auth_key; in handle_packet()
489 t->auth_key = std::string(p->payload.data()); in handle_packet()
Dtransport_fd.cpp159 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final { in DoTlsHandshake()
/packages/modules/adb/client/
Dusb.h48 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
Dusb_libusb.h41 bool DoTlsHandshake(RSA* key, std::string* auth_key) override;
Dtransport_usb.cpp148 bool UsbConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument
Dusb_libusb.cpp143 bool LibUsbConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument