Searched refs:pkey2 (Results 1 – 4 of 4) sorted by relevance
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
D | X509CertSelectorTest.java | 1085 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/ |
D | NativeCryptoTest.java | 229 NativeRef.EVP_PKEY pkey1, pkey1_copy, pkey2; in test_EVP_PKEY_cmp() local 252 pkey2 = new NativeRef.EVP_PKEY(NativeCrypto.EVP_PKEY_new_RSA( in test_EVP_PKEY_cmp() 261 assertNotSame(NULL, pkey2); in test_EVP_PKEY_cmp() 282 NativeCrypto.EVP_PKEY_cmp(pkey1, pkey2)); in test_EVP_PKEY_cmp()
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | NativeCrypto.java | 98 public static native int EVP_PKEY_cmp(NativeRef.EVP_PKEY pkey1, NativeRef.EVP_PKEY pkey2); in EVP_PKEY_cmp() argument
|
/external/conscrypt/src/main/native/ |
D | org_conscrypt_NativeCrypto.cpp | 2849 EVP_PKEY* pkey2 = fromContextObject<EVP_PKEY>(env, pkey2Ref); local 2850 if (pkey2 == nullptr) { 2854 JNI_TRACE("EVP_PKEY_cmp(%p, %p) <- ptr", pkey1, pkey2); 2856 int result = EVP_PKEY_cmp(pkey1, pkey2); 2857 JNI_TRACE("EVP_PKEY_cmp(%p, %p) => %d", pkey1, pkey2, result);
|