Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-pkey.c78 int pkey1, pkey2, pkey3; in child() local
95 pkey2 = sys_pkey_alloc(0, 0); in child()
96 CHILD_FAIL_IF(pkey2 < 0, &info->child_sync); in child()
102 info->amr2 |= 3ul << pkeyshift(pkey2); in child()
110 info->expected_iamr &= ~(1ul << pkeyshift(pkey2) | 1ul << pkeyshift(pkey3)); in child()
113 3ul << pkeyshift(pkey2); in child()
114 info->new_iamr |= 1ul << pkeyshift(pkey1) | 1ul << pkeyshift(pkey2); in child()
127 user_write, info->amr1, pkey1, pkey2, pkey3); in child()
Dcore-pkey.c113 int pkey1, pkey2, pkey3; in child() local
133 pkey2 = sys_pkey_alloc(0, 0); in child()
134 FAIL_IF(pkey2 < 0); in child()
139 info->amr |= 3ul << pkeyshift(pkey1) | 2ul << pkeyshift(pkey2); in child()
146 info->iamr &= ~(1ul << pkeyshift(pkey2) | 1ul << pkeyshift(pkey3)); in child()
148 info->uamor |= 3ul << pkeyshift(pkey1) | 3ul << pkeyshift(pkey2); in child()
151 user_write, info->amr, pkey1, pkey2, pkey3); in child()
/external/python/cpython3/Modules/
Dhashtable.c121 const void *pkey2 = _Py_HASHTABLE_ENTRY_PKEY(entry); in _Py_hashtable_compare_direct() local
122 return (memcmp(pkey, pkey2, ht->key_size) == 0); in _Py_hashtable_compare_direct()
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeCrypto.java98 static native int EVP_PKEY_cmp(NativeRef.EVP_PKEY pkey1, NativeRef.EVP_PKEY pkey2); in EVP_PKEY_cmp() argument
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java305 NativeRef.EVP_PKEY pkey2 = getRsaPkey(generateRsaKey()); in test_EVP_PKEY_cmp() local
306 assertNotSame(NULL, pkey2); in test_EVP_PKEY_cmp()
314 "Different keys should not be equal", 0, NativeCrypto.EVP_PKEY_cmp(pkey1, pkey2)); in test_EVP_PKEY_cmp()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeCrypto.java102 static native int EVP_PKEY_cmp(NativeRef.EVP_PKEY pkey1, NativeRef.EVP_PKEY pkey2); in EVP_PKEY_cmp() argument
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DNativeCryptoTest.java309 NativeRef.EVP_PKEY pkey2 = getRsaPkey(generateRsaKey()); in test_EVP_PKEY_cmp() local
310 assertNotSame(NULL, pkey2); in test_EVP_PKEY_cmp()
318 "Different keys should not be equal", 0, NativeCrypto.EVP_PKEY_cmp(pkey1, pkey2)); in test_EVP_PKEY_cmp()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc1145 EVP_PKEY* pkey2 = fromContextObject<EVP_PKEY>(env, pkey2Ref); in NativeCrypto_EVP_PKEY_cmp() local
1146 if (pkey2 == nullptr) { in NativeCrypto_EVP_PKEY_cmp()
1150 JNI_TRACE("EVP_PKEY_cmp(%p, %p) <- ptr", pkey1, pkey2); in NativeCrypto_EVP_PKEY_cmp()
1152 int result = EVP_PKEY_cmp(pkey1, pkey2); in NativeCrypto_EVP_PKEY_cmp()
1153 JNI_TRACE("EVP_PKEY_cmp(%p, %p) => %d", pkey1, pkey2, result); in NativeCrypto_EVP_PKEY_cmp()