Searched refs:paramstr (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 32 for (i = 0, token = strtok_r(const_cast<char *>(paramstr), ":", &saveptr); in parse_scrypt_parameters()
|
D | ScryptParameters.h | 28 bool parse_scrypt_parameters(const char* paramstr, int *Nf, int *rf, int *pf);
|
D | KeyStorage.cpp | 241 char paramstr[PROPERTY_VALUE_MAX]; in getStretching() local 243 property_get(SCRYPT_PROP, paramstr, SCRYPT_DEFAULTS); in getStretching() 244 return std::string() + kStretchPrefix_scrypt + paramstr; in getStretching()
|
D | cryptfs.cpp | 239 char paramstr[PROPERTY_VALUE_MAX]; in get_device_scrypt_params() local 242 property_get(SCRYPT_PROP, paramstr, SCRYPT_DEFAULTS); in get_device_scrypt_params() 243 if (!parse_scrypt_parameters(paramstr, &Nf, &rf, &pf)) { in get_device_scrypt_params() 244 SLOGW("bad scrypt parameters '%s' should be like '12:8:1'; using defaults", paramstr); in get_device_scrypt_params()
|