Searched refs:pkey1 (Results 1 – 3 of 3) sorted by relevance
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | NativeCryptoTest.java | 258 NativeRef.EVP_PKEY pkey1 = getRsaPkey(privKey1); in EVP_PKEY_cmp_withNullShouldThrow() local 259 assertNotSame(NULL, pkey1); in EVP_PKEY_cmp_withNullShouldThrow() 260 NativeCrypto.EVP_PKEY_cmp(pkey1, null); in EVP_PKEY_cmp_withNullShouldThrow() 267 NativeRef.EVP_PKEY pkey1 = getRsaPkey(privKey1); in test_EVP_PKEY_cmp() local 268 assertNotSame(NULL, pkey1); in test_EVP_PKEY_cmp() 276 assertEquals("Same keys should be the equal", 1, NativeCrypto.EVP_PKEY_cmp(pkey1, pkey1)); in test_EVP_PKEY_cmp() 279 "Same keys should be the equal", 1, NativeCrypto.EVP_PKEY_cmp(pkey1, pkey1_copy)); in test_EVP_PKEY_cmp() 282 "Different keys should not be equal", 0, NativeCrypto.EVP_PKEY_cmp(pkey1, pkey2)); in test_EVP_PKEY_cmp()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | NativeCrypto.java | 78 static native int EVP_PKEY_cmp(NativeRef.EVP_PKEY pkey1, NativeRef.EVP_PKEY pkey2); in EVP_PKEY_cmp() argument
|
/external/conscrypt/common/src/jni/main/cpp/ |
D | NativeCrypto.cpp | 1042 EVP_PKEY* pkey1 = fromContextObject<EVP_PKEY>(env, pkey1Ref); in NativeCrypto_EVP_PKEY_cmp() local 1043 if (pkey1 == nullptr) { in NativeCrypto_EVP_PKEY_cmp() 1052 JNI_TRACE("EVP_PKEY_cmp(%p, %p) <- ptr", pkey1, pkey2); in NativeCrypto_EVP_PKEY_cmp() 1054 int result = EVP_PKEY_cmp(pkey1, pkey2); in NativeCrypto_EVP_PKEY_cmp() 1055 JNI_TRACE("EVP_PKEY_cmp(%p, %p) => %d", pkey1, pkey2, result); in NativeCrypto_EVP_PKEY_cmp()
|