Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.cpp332 const std::string& salt, std::string* stretched) { in stretchSecret() argument
338 stretched->clear(); in stretchSecret()
340 *stretched = secret; in stretchSecret()
349 stretched->assign(STRETCHED_BYTES, '\0'); in stretchSecret()
352 1 << rf, 1 << pf, reinterpret_cast<uint8_t*>(&(*stretched)[0]), in stretchSecret()
353 stretched->size()) != 0) { in stretchSecret()
367 std::string stretched; in generateAppId() local
368 if (!stretchSecret(stretching, auth.secret, salt, &stretched)) return false; in generateAppId()
369 *appId = secdiscardable_hash + stretched; in generateAppId()