Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.h29 class KeyAuthentication {
31 KeyAuthentication(std::string t, std::string s) : token{t}, secret{s} {}; in KeyAuthentication() function
36 extern const KeyAuthentication kEmptyAuthentication;
42 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const std::string& key);
45 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, std::string* key);
DKeyStorage.cpp50 const KeyAuthentication kEmptyAuthentication{"", ""};
99 static bool generateKeymasterKey(Keymaster& keymaster, const KeyAuthentication& auth, in generateKeymasterKey()
125 static keymaster::AuthorizationSetBuilder beginParams(const KeyAuthentication& auth, in beginParams()
140 const KeyAuthentication& auth, const std::string& appId, in encryptWithKeymasterKey()
165 const KeyAuthentication& auth, const std::string& appId, in decryptWithKeymasterKey()
237 static bool generateAppId(const KeyAuthentication& auth, const std::string& stretching, in generateAppId()
246 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const std::string& key) { in storeKey()
282 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, std::string* key) { in retrieveKey()
DExt4Crypt.cpp253 const android::vold::KeyAuthentication& auth, in read_and_fixate_user_ce_key()
270 const android::vold::KeyAuthentication& auth) { in read_and_install_user_ce_key()
316 const android::vold::KeyAuthentication& auth, const std::string& key) { in store_key()
602 : android::vold::KeyAuthentication(token, secret); in e4crypt_add_user_key_auth()
643 android::vold::KeyAuthentication auth(token, secret); in e4crypt_unlock_user_key()