Lines Matching full:scrypt
382 * Gets the default device scrypt parameters for key derivation time tuning.
392 SLOGW("bad scrypt parameters '%s' should be like '12:8:1'; using defaults", paramstr);
1191 static int scrypt(const char *passwd, const unsigned char *salt,
1194 SLOGI("Using scrypt for cryptfs KDF");
1213 SLOGI("Using scrypt with keymaster for cryptfs KDF");
1229 SLOGE("scrypt failed");
1244 SLOGE("scrypt failed");
1272 SLOGE("scrypt failed");
1278 if (scrypt(passwd, salt, ikey, crypt_ftr)) {
1279 SLOGE("scrypt failed");
1314 /* Store the scrypt of the intermediate key, so we can validate if it's a
1395 *kdf = scrypt;