Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.cpp301 const std::string& salt, std::string* stretched) { in stretchSecret() argument
307 stretched->clear(); in stretchSecret()
309 *stretched = secret; in stretchSecret()
318 stretched->assign(STRETCHED_BYTES, '\0'); in stretchSecret()
321 1 << rf, 1 << pf, reinterpret_cast<uint8_t*>(&(*stretched)[0]), in stretchSecret()
322 stretched->size()) != 0) { in stretchSecret()
336 std::string stretched; in generateAppId() local
337 if (!stretchSecret(stretching, auth.secret, salt, &stretched)) return false; in generateAppId()
338 *appId = secdiscardable_hash + stretched; in generateAppId()