Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_security_Scrypt.cpp43 jbyte* passwordPtr = (jbyte*)env->GetByteArrayElements(password, NULL); in android_security_Scrypt_nativeScrypt() local
47 int rc = crypto_scrypt((const uint8_t *)passwordPtr, passwordLen, in android_security_Scrypt_nativeScrypt()
50 env->ReleaseByteArrayElements(password, passwordPtr, JNI_ABORT); in android_security_Scrypt_nativeScrypt()
/frameworks/base/services/core/jni/
Dcom_android_server_locksettings_SyntheticPasswordManager.cpp60 jbyte* passwordPtr = (jbyte*)env->GetByteArrayElements(password, NULL); in android_server_SyntheticPasswordManager_nativeScrypt() local
64 int rc = crypto_scrypt((const uint8_t *)passwordPtr, passwordLen, in android_server_SyntheticPasswordManager_nativeScrypt()
67 env->ReleaseByteArrayElements(password, passwordPtr, JNI_ABORT); in android_server_SyntheticPasswordManager_nativeScrypt()