Home
last modified time | relevance | path

Searched refs:paramstr (Results 1 – 5 of 5) sorted by relevance

/system/vold/
DCryptoType.cpp29 char paramstr[PROPERTY_VALUE_MAX]; in lookup_crypto_algorithm() local
31 property_get(property, paramstr, default_alg.get_config_name()); in lookup_crypto_algorithm()
33 if (strcmp(paramstr, table[i].get_config_name()) == 0) { in lookup_crypto_algorithm()
37 LOG(ERROR) << "Invalid name (" << paramstr << ") for " << property << ". Defaulting to " in lookup_crypto_algorithm()
DScryptParameters.cpp22 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()
DScryptParameters.h26 bool parse_scrypt_parameters(const char* paramstr, int* Nf, int* rf, int* pf);
DKeyStorage.cpp320 char paramstr[PROPERTY_VALUE_MAX]; in getStretching() local
322 property_get(SCRYPT_PROP, paramstr, SCRYPT_DEFAULTS); in getStretching()
323 return std::string() + kStretchPrefix_scrypt + paramstr; in getStretching()
Dcryptfs.cpp466 char paramstr[PROPERTY_VALUE_MAX]; in get_device_scrypt_params() local
469 property_get(SCRYPT_PROP, paramstr, SCRYPT_DEFAULTS); in get_device_scrypt_params()
470 if (!parse_scrypt_parameters(paramstr, &Nf, &rf, &pf)) { in get_device_scrypt_params()
471 SLOGW("bad scrypt parameters '%s' should be like '12:8:1'; using defaults", paramstr); in get_device_scrypt_params()