Searched refs:pkey1 (Results 1 – 4 of 4) sorted by relevance
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
D | X509CertSelectorTest.java | 1084 PublicKey pkey1 = new TestKeyPair("RSA").getPublic(); in testSetSubjectPublicKeyAlgID() local 1087 TestCert cert_1 = new TestCert(pkey1); in testSetSubjectPublicKeyAlgID() 1147 PublicKey pkey1 = new TestKeyPair("RSA").getPublic(); in testSetSubjectPublicKey1() local 1150 TestCert cert_1 = new TestCert(pkey1); in testSetSubjectPublicKey1() 1158 selector.setSubjectPublicKey(pkey1); in testSetSubjectPublicKey1() 1195 PublicKey pkey1 = new TestKeyPair("RSA").getPublic(); in testSetSubjectPublicKey2() local 1198 byte[] encoding1 = pkey1.getEncoded(); in testSetSubjectPublicKey2() 1200 TestCert cert_1 = new TestCert(pkey1); in testSetSubjectPublicKey2()
|
/external/conscrypt/src/test/java/org/conscrypt/ |
D | NativeCryptoTest.java | 226 NativeRef.EVP_PKEY pkey1, pkey1_copy, pkey2; in test_EVP_PKEY_cmp() local 227 pkey1 = new NativeRef.EVP_PKEY(NativeCrypto.EVP_PKEY_new_RSA( in test_EVP_PKEY_cmp() 236 assertNotSame(NULL, pkey1); in test_EVP_PKEY_cmp() 261 NativeCrypto.EVP_PKEY_cmp(pkey1, null); in test_EVP_PKEY_cmp() 273 NativeCrypto.EVP_PKEY_cmp(pkey1, pkey1)); in test_EVP_PKEY_cmp() 276 NativeCrypto.EVP_PKEY_cmp(pkey1, pkey1_copy)); in test_EVP_PKEY_cmp() 279 NativeCrypto.EVP_PKEY_cmp(pkey1, pkey2)); in test_EVP_PKEY_cmp()
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | NativeCrypto.java | 99 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 | 2910 EVP_PKEY* pkey1 = fromContextObject<EVP_PKEY>(env, pkey1Ref); local 2911 if (pkey1 == NULL) { 2920 JNI_TRACE("EVP_PKEY_cmp(%p, %p) <- ptr", pkey1, pkey2); 2922 int result = EVP_PKEY_cmp(pkey1, pkey2); 2923 JNI_TRACE("EVP_PKEY_cmp(%p, %p) => %d", pkey1, pkey2, result);
|