Home
last modified time | relevance | path

Searched refs:pkey2 (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/net/ssl/
Dopenssl_client_key_store_unittest.cc111 crypto::ScopedEVP_PKEY pkey2 = in TEST_F() local
113 ASSERT_EQ(pkey2.get(), priv_key.get()); in TEST_F()
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
DX509CertSelectorTest.java1085 PublicKey pkey2 = new TestKeyPair("DSA").getPublic(); in testSetSubjectPublicKeyAlgID() local
1088 TestCert cert_2 = new TestCert(pkey2); in testSetSubjectPublicKeyAlgID()
1148 PublicKey pkey2 = new TestKeyPair("DSA").getPublic(); in testSetSubjectPublicKey1() local
1151 TestCert cert_2 = new TestCert(pkey2); in testSetSubjectPublicKey1()
1163 selector.setSubjectPublicKey(pkey2); in testSetSubjectPublicKey1()
1196 PublicKey pkey2 = new TestKeyPair("DSA").getPublic(); in testSetSubjectPublicKey2() local
1199 byte[] encoding2 = pkey2.getEncoded(); in testSetSubjectPublicKey2()
1201 TestCert cert_2 = new TestCert(pkey2); in testSetSubjectPublicKey2()
/external/conscrypt/src/test/java/org/conscrypt/
DNativeCryptoTest.java223 long pkey1 = 0, pkey1_copy = 0, pkey2 = 0; in test_EVP_PKEY_cmp() local
245 pkey2 = NativeCrypto.EVP_PKEY_new_RSA(privKey2.getModulus().toByteArray(), in test_EVP_PKEY_cmp()
253 assertNotSame(NULL, pkey2); in test_EVP_PKEY_cmp()
274 NativeCrypto.EVP_PKEY_cmp(pkey1, pkey2)); in test_EVP_PKEY_cmp()
282 if (pkey2 != 0) { in test_EVP_PKEY_cmp()
283 NativeCrypto.EVP_PKEY_free(pkey2); in test_EVP_PKEY_cmp()
/external/conscrypt/src/main/java/org/conscrypt/
DNativeCrypto.java108 public static native int EVP_PKEY_cmp(long pkey1, long pkey2); in EVP_PKEY_cmp() argument
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp2445 EVP_PKEY* pkey2 = reinterpret_cast<EVP_PKEY*>(pkey2Ref); in NativeCrypto_EVP_PKEY_cmp() local
2446 JNI_TRACE("EVP_PKEY_cmp(%p, %p)", pkey1, pkey2); in NativeCrypto_EVP_PKEY_cmp()
2449 JNI_TRACE("EVP_PKEY_cmp(%p, %p) => failed pkey1 == NULL", pkey1, pkey2); in NativeCrypto_EVP_PKEY_cmp()
2452 } else if (pkey2 == NULL) { in NativeCrypto_EVP_PKEY_cmp()
2453 JNI_TRACE("EVP_PKEY_cmp(%p, %p) => failed pkey2 == NULL", pkey1, pkey2); in NativeCrypto_EVP_PKEY_cmp()
2458 int result = EVP_PKEY_cmp(pkey1, pkey2); in NativeCrypto_EVP_PKEY_cmp()
2459 JNI_TRACE("EVP_PKEY_cmp(%p, %p) => %d", pkey1, pkey2, result); in NativeCrypto_EVP_PKEY_cmp()