Searched refs:KeyAuthentication (Results 1 – 5 of 5) sorted by relevance
/aosp12/system/vold/ |
H A D | KeyStorage.h | 30 class KeyAuthentication { 32 KeyAuthentication(const std::string& s) : secret{s} {}; in KeyAuthentication() function 39 extern const KeyAuthentication kEmptyAuthentication; 48 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const KeyBuffer& key); 56 const KeyAuthentication& auth, const KeyBuffer& key); 59 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, KeyBuffer* key);
|
H A D | FsCrypt.cpp | 198 const android::vold::KeyAuthentication& auth, in read_and_fixate_user_ce_key() 293 const android::vold::KeyAuthentication& auth) { in read_and_install_user_ce_key() 627 static std::optional<android::vold::KeyAuthentication> authentication_from_hex( in authentication_from_hex() 630 if (!parse_hex(secret_hex, &secret)) return std::optional<android::vold::KeyAuthentication>(); in authentication_from_hex() 634 return android::vold::KeyAuthentication(secret); in authentication_from_hex() 660 android::vold::KeyAuthentication auth(secdiscardable_hash); in read_or_create_volkey() 678 const android::vold::KeyAuthentication& retrieve_auth, in fscrypt_rewrap_user_key() 679 const android::vold::KeyAuthentication& store_auth) { in fscrypt_rewrap_user_key()
|
H A D | KeyStorage.cpp | 56 const KeyAuthentication kEmptyAuthentication{""}; 419 static std::string getStretching(const KeyAuthentication& auth) { in getStretching() 444 static bool generateAppId(const KeyAuthentication& auth, const std::string& stretching, in generateAppId() 572 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const KeyBuffer& key) { in storeKey() 602 const KeyAuthentication& auth, const KeyBuffer& key) { in storeKeyAtomically() 622 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, KeyBuffer* key) { in retrieveKey()
|
H A D | KeyUtil.h | 80 const KeyAuthentication& key_authentication, const KeyGeneration& gen,
|
H A D | KeyUtil.cpp | 396 const KeyAuthentication& key_authentication, const KeyGeneration& gen, in retrieveOrGenerateKey()
|