Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.h32 class KeyAuthentication {
34 KeyAuthentication(const std::string& t, const std::string& s) : token{t}, secret{s} {}; in KeyAuthentication() function
42 extern const KeyAuthentication kEmptyAuthentication;
54 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const KeyBuffer& key);
61 const KeyAuthentication& auth, const KeyBuffer& key);
64 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, KeyBuffer* key,
DKeyUtil.h32 bool retrieveAndInstallKey(bool create_if_absent, const KeyAuthentication& key_authentication,
DKeyStorage.cpp57 const KeyAuthentication kEmptyAuthentication{"", ""};
108 static bool generateKeymasterKey(Keymaster& keymaster, const KeyAuthentication& auth, in generateKeymasterKey()
133 const KeyAuthentication& auth, const std::string& appId) { in beginParams()
283 static std::string getStretching(const KeyAuthentication& auth) { in getStretching()
333 static bool generateAppId(const KeyAuthentication& auth, const std::string& stretching, in generateAppId()
452 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const KeyBuffer& key) { in storeKey()
494 const KeyAuthentication& auth, const KeyBuffer& key) { in storeKeyAtomically()
512 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, KeyBuffer* key, in retrieveKey()
DFsCrypt.cpp186 const android::vold::KeyAuthentication& auth, in read_and_fixate_user_ce_key()
203 const android::vold::KeyAuthentication& auth) { in read_and_install_user_ce_key()
534 android::vold::KeyAuthentication auth("", secdiscardable_hash); in read_or_create_volkey()
561 secret.empty() ? kEmptyAuthentication : android::vold::KeyAuthentication(token, secret); in fscrypt_add_user_key_auth()
604 android::vold::KeyAuthentication auth(token, secret); in fscrypt_unlock_user_key()
DKeyUtil.cpp147 bool retrieveAndInstallKey(bool create_if_absent, const KeyAuthentication& key_authentication, in retrieveAndInstallKey()