Home
last modified time | relevance | path

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

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfscrypt_key_v1.cpp249 a.length() < PATH_KEY_VERSION.length() || in DoDecryptClassE()
250 b.length() < PATH_KEY_VERSION.length()) { in DoDecryptClassE()
254 …return std::stoi(a.substr(PATH_KEY_VERSION.size() - 1)) >std::stoi(b.substr(PATH_KEY_VERSION.size(… in DoDecryptClassE()
H A Dbase_key.cpp38 const std::string PATH_KEY_VERSION = "/version_"; variable
156 auto prefix = PATH_KEY_VERSION.substr(1); // skip the first slash in GetCandidateVersion()
182 return dir_ + PATH_KEY_VERSION + std::to_string(candidate); in GetCandidateDir()
189 return dir_ + PATH_KEY_VERSION + std::to_string(candidate + 1); in GetNextCandidateDir()
502 a.length() < PATH_KEY_VERSION.length() || in StoreKey()
503 b.length() < PATH_KEY_VERSION.length()) { in StoreKey()
507 …return std::stoi(a.substr(PATH_KEY_VERSION.size() - 1)) > std::stoi(b.substr(PATH_KEY_VERSION.size… in StoreKey()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dbase_key.h33 const std::string PATH_KEY_VERSION = "/version_"; variable