Searched refs:rsa_2048 (Results 1 – 6 of 6) sorted by relevance
/system/core/adb/crypto/tests/ |
D | rsa_2048_key_test.cpp | 33 auto rsa_2048 = CreateRSA2048Key(); in TEST() local 34 EXPECT_NE(rsa_2048, std::nullopt); in TEST() 35 EXPECT_EQ(rsa_2048->GetKeyType(), adb::proto::KeyType::RSA_2048); in TEST() 36 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()
|
D | key_test.cpp | 33 auto rsa_2048 = CreateRSA2048Key(); in TEST() local 34 EXPECT_NE(rsa_2048, std::nullopt); in TEST() 35 EXPECT_EQ(rsa_2048->GetKeyType(), adb::proto::KeyType::RSA_2048); in TEST() 36 ASSERT_NE(rsa_2048->GetEvpPkey(), nullptr); in TEST() 40 auto* rsa = EVP_PKEY_get0_RSA(rsa_2048->GetEvpPkey()); in TEST()
|
D | x509_generator_test.cpp | 28 auto rsa_2048 = CreateRSA2048Key(); in TEST() local 31 auto* rsa = EVP_PKEY_get0_RSA(rsa_2048->GetEvpPkey()); in TEST() 37 auto x509_cert = GenerateX509Certificate(rsa_2048->GetEvpPkey()); in TEST()
|
/system/core/adb/daemon/ |
D | auth.cpp | 342 auto rsa_2048 = CreateRSA2048Key(); in adbd_auth_tls_handshake() local 343 CHECK(rsa_2048.has_value()); in adbd_auth_tls_handshake() 344 rsa_pkey = EVP_PKEY_get1_RSA(rsa_2048->GetEvpPkey()); in adbd_auth_tls_handshake()
|
/system/core/adb/client/ |
D | auth.cpp | 66 auto rsa_2048 = CreateRSA2048Key(); in generate_key() local 67 if (!rsa_2048) { in generate_key() 73 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/pairing_connection/ |
D | pairing_server.cpp | 452 auto rsa_2048 = CreateRSA2048Key(); in pairing_server_new_no_cert() local 453 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()
|