Searched refs:passwordPtr (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_security_Scrypt.cpp | 43 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/ |
D | com_android_server_locksettings_SyntheticPasswordManager.cpp | 60 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()
|