Searched refs:auth_key (Results 1 – 10 of 10) sorted by relevance
/system/core/adb/daemon/ |
D | auth.cpp | 156 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 …]
|
D | adb_wifi.cpp | 224 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()
|
D | usb.cpp | 267 virtual bool DoTlsHandshake(RSA* key, std::string* auth_key) override final { in DoTlsHandshake()
|
/system/core/adb/ |
D | adb_auth.h | 58 std::string* auth_key); 65 int adbd_tls_verify_cert(X509_STORE_CTX* ctx, std::string* auth_key);
|
D | transport.h | 130 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);
|
D | transport.cpp | 353 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()
|
D | adb.cpp | 384 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()
|
D | transport_fd.cpp | 158 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final { in DoTlsHandshake()
|
/system/core/adb/client/ |
D | usb.h | 64 bool DoTlsHandshake(RSA* key, std::string* auth_key) override final;
|
D | transport_usb.cpp | 178 bool UsbConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake() argument
|