Lines Matching refs:scrypt
463 * Gets the default device scrypt parameters for key derivation time tuning.
502 SLOGW("bad scrypt parameters '%s' should be like '12:8:1'; using defaults", paramstr);
1263 static int scrypt(const char *passwd, const unsigned char *salt,
1266 SLOGI("Using scrypt for cryptfs KDF");
1286 SLOGI("Using scrypt with keymaster for cryptfs KDF");
1302 SLOGE("scrypt failed");
1317 SLOGE("scrypt failed");
1345 SLOGE("scrypt failed");
1351 if (scrypt(passwd, salt, ikey, crypt_ftr)) {
1352 SLOGE("scrypt failed");
1386 /* Store the scrypt of the intermediate key, so we can validate if it's a
1462 *kdf = scrypt;