Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.cpp205 const std::string& salt, std::string* stretched) { in stretchSecret() argument
211 stretched->clear(); in stretchSecret()
213 *stretched = secret; in stretchSecret()
222 stretched->assign(STRETCHED_BYTES, '\0'); in stretchSecret()
226 reinterpret_cast<uint8_t*>(&(*stretched)[0]), stretched->size()) != 0) { in stretchSecret()
240 std::string stretched; in generateAppId() local
241 if (!stretchSecret(stretching, auth.secret, salt, &stretched)) return false; in generateAppId()
242 *appId = hashSecdiscardable(secdiscardable) + stretched; in generateAppId()