Searched refs:EncryptionPolicy (Results 1 – 7 of 7) sorted by relevance
/system/extras/libfscrypt/include/fscrypt/ |
D | fscrypt.h | 43 struct EncryptionPolicy { struct 62 bool EnsurePolicy(const EncryptionPolicy& policy, const std::string& directory); argument 74 inline bool operator==(const EncryptionPolicy& lhs, const EncryptionPolicy& rhs) { 78 inline bool operator!=(const EncryptionPolicy& lhs, const EncryptionPolicy& rhs) {
|
/system/vold/ |
D | KeyUtil.h | 67 const KeyBuffer& key, EncryptionPolicy* policy); 75 bool evictKey(const std::string& mountpoint, const EncryptionPolicy& policy); 83 bool reloadKeyFromSessionKeyring(const std::string& mountpoint, const EncryptionPolicy& policy);
|
D | FsCrypt.cpp | 95 std::map<userid_t, EncryptionPolicy> s_de_policies; 96 std::map<userid_t, EncryptionPolicy> s_ce_policies; 249 const KeyBuffer& key, EncryptionPolicy* policy) { in install_storage_key() 293 EncryptionPolicy ce_policy; in read_and_install_user_ce_key() 344 EncryptionPolicy de_policy; in create_and_install_user_keys() 347 EncryptionPolicy ce_policy; in create_and_install_user_keys() 354 static bool lookup_policy(const std::map<userid_t, EncryptionPolicy>& key_map, userid_t user_id, in lookup_policy() 355 EncryptionPolicy* policy) { in lookup_policy() 399 EncryptionPolicy de_policy; in load_all_de_keys() 435 EncryptionPolicy device_policy; in fscrypt_initialize_systemwide_keys() [all …]
|
D | KeyUtil.cpp | 206 static bool buildKeySpecifier(fscrypt_key_specifier* spec, const EncryptionPolicy& policy) { in buildKeySpecifier() 261 const KeyBuffer& key, EncryptionPolicy* policy) { in installKey() 355 bool evictKey(const std::string& mountpoint, const EncryptionPolicy& policy) { in evictKey() 411 bool reloadKeyFromSessionKeyring(const std::string& mountpoint, const EncryptionPolicy& policy) { in reloadKeyFromSessionKeyring()
|
/system/core/init/ |
D | fscrypt_init_extensions.cpp | 102 static bool LookupPolicy(const std::string& ref_basename, EncryptionPolicy* policy) { in LookupPolicy() 122 static bool EnsurePolicyOrLog(const EncryptionPolicy& policy, const std::string& dir) { in EnsurePolicyOrLog() 133 EncryptionPolicy policy; in SetPolicyOn()
|
/system/extras/libfscrypt/ |
D | fscrypt.cpp | 271 static std::string PolicyDebugString(const EncryptionPolicy& policy) { in PolicyDebugString() 282 bool EnsurePolicy(const EncryptionPolicy& policy, const std::string& directory) { in EnsurePolicy()
|
/system/extras/libfscrypt/tests/ |
D | fscrypt_test.cpp | 187 EncryptionPolicy foo; in TEST()
|