Home
last modified time | relevance | path

Searched refs:EncryptionPolicy (Results 1 – 7 of 7) sorted by relevance

/system/extras/libfscrypt/include/fscrypt/
Dfscrypt.h43 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/
DKeyUtil.h67 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);
DFsCrypt.cpp95 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 …]
DKeyUtil.cpp206 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/
Dfscrypt_init_extensions.cpp102 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/
Dfscrypt.cpp271 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/
Dfscrypt_test.cpp187 EncryptionPolicy foo; in TEST()