Home
last modified time | relevance | path

Searched refs:Nf (Results 1 – 4 of 4) sorted by relevance

/system/vold/
DScryptParameters.cpp22 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()
DScryptParameters.h28 bool parse_scrypt_parameters(const char* paramstr, int *Nf, int *rf, int *pf);
DKeyStorage.cpp216 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()
Dcryptfs.c486 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()