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

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

Completed in 7 milliseconds