Home
last modified time | relevance | path

Searched refs:pkeyType (Results 1 – 2 of 2) sorted by relevance

/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLSignature.java108 final int pkeyType = NativeCrypto.EVP_PKEY_type(pkey.getNativeRef()); in checkEngineType() local
112 if (pkeyType != NativeConstants.EVP_PKEY_RSA) { in checkEngineType()
118 if (pkeyType != NativeConstants.EVP_PKEY_EC) { in checkEngineType()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp2790 static jlong NativeCrypto_EVP_PKEY_new_mac_key(JNIEnv* env, jclass, jint pkeyType, argument
2793 JNI_TRACE("EVP_PKEY_new_mac_key(%d, %p)", pkeyType, keyJavaBytes);
2801 Unique_EVP_PKEY pkey(EVP_PKEY_new_mac_key(pkeyType, (ENGINE *) NULL, tmp, key.size()));
2803 JNI_TRACE("EVP_PKEY_new_mac_key(%d, %p) => threw error", pkeyType, keyJavaBytes);
2808 JNI_TRACE("EVP_PKEY_new_mac_key(%d, %p) => %p", pkeyType, keyJavaBytes, pkey.get());