Searched refs:Nf (Results 1 – 4 of 4) sorted by relevance
/system/vold/ |
D | ScryptParameters.cpp | 22 bool parse_scrypt_parameters(const char* paramstr, int *Nf, int *rf, int *pf) { in parse_scrypt_parameters() argument 48 *Nf = params[0]; *rf = params[1]; *pf = params[2]; in parse_scrypt_parameters()
|
D | ScryptParameters.h | 28 bool parse_scrypt_parameters(const char* paramstr, int *Nf, int *rf, int *pf);
|
D | KeyStorage.cpp | 216 int Nf, rf, pf; in stretchSecret() local 217 if (!parse_scrypt_parameters(stretching.substr(kStretchPrefix_scrypt.size()).c_str(), &Nf, in stretchSecret() 225 1 << Nf, 1 << rf, 1 << pf, in stretchSecret()
|
D | cryptfs.c | 486 int Nf, rf, pf; in get_device_scrypt_params() local 489 if (!parse_scrypt_parameters(paramstr, &Nf, &rf, &pf)) { in get_device_scrypt_params() 491 parse_scrypt_parameters(SCRYPT_DEFAULTS, &Nf, &rf, &pf); in get_device_scrypt_params() 493 ftr->N_factor = Nf; in get_device_scrypt_params()
|