Home
last modified time | relevance | path

Searched refs:GetEvpPkey (Results 1 – 7 of 7) sorted by relevance

/system/core/adb/crypto/tests/
Drsa_2048_key_test.cpp36 ASSERT_NE(rsa_2048->GetEvpPkey(), nullptr); in TEST()
40 auto* rsa = EVP_PKEY_get0_RSA(rsa_2048->GetEvpPkey()); in TEST()
47 std::string pemString = Key::ToPEMString(rsa_2048->GetEvpPkey()); in TEST()
Dx509_generator_test.cpp31 auto* rsa = EVP_PKEY_get0_RSA(rsa_2048->GetEvpPkey()); in TEST()
37 auto x509_cert = GenerateX509Certificate(rsa_2048->GetEvpPkey()); in TEST()
Dkey_test.cpp36 ASSERT_NE(rsa_2048->GetEvpPkey(), nullptr); in TEST()
40 auto* rsa = EVP_PKEY_get0_RSA(rsa_2048->GetEvpPkey()); in TEST()
/system/core/adb/crypto/include/adb/crypto/
Dkey.h36 EVP_PKEY* GetEvpPkey() const { return pkey_.get(); } in GetEvpPkey() function
/system/core/adb/pairing_connection/
Dpairing_server.cpp453 auto x509_cert = GenerateX509Certificate(rsa_2048->GetEvpPkey()); in pairing_server_new_no_cert()
454 std::string pkey_pem = Key::ToPEMString(rsa_2048->GetEvpPkey()); in pairing_server_new_no_cert()
/system/core/adb/client/
Dauth.cpp73 RSA* rsa = EVP_PKEY_get0_RSA(rsa_2048->GetEvpPkey()); in generate_key()
93 if (!PEM_write_PrivateKey(f.get(), rsa_2048->GetEvpPkey(), nullptr, nullptr, 0, nullptr, in generate_key()
/system/core/adb/daemon/
Dauth.cpp344 rsa_pkey = EVP_PKEY_get1_RSA(rsa_2048->GetEvpPkey()); in adbd_auth_tls_handshake()