Searched refs:auth_key (Results 1 – 10 of 10) sorted by relevance
/packages/modules/adb/daemon/ |
D | auth.cpp | 157 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 …]
|
D | adb_wifi.cpp | 222 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()
|
D | usb.cpp | 238 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key) override final { in DoTlsHandshake()
|
/packages/modules/adb/ |
D | transport.h | 121 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);
|
D | adb_auth.h | 59 std::string* auth_key); 66 int adbd_tls_verify_cert(X509_STORE_CTX* ctx, std::string* auth_key);
|
D | transport.cpp | 367 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()
|
D | adb.cpp | 447 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()
|
D | transport_fd.cpp | 158 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final { in DoTlsHandshake()
|
/packages/modules/adb/client/ |
D | usb.h | 52 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
|
D | transport_usb.cpp | 148 bool UsbConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument
|