Home
last modified time | relevance | path

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

/system/extras/libfscrypt/include/fscrypt/
Dfscrypt.h44 struct EncryptionPolicy { struct
63 bool EnsurePolicy(const EncryptionPolicy& policy, const std::string& directory); argument
75 inline bool operator==(const EncryptionPolicy& lhs, const EncryptionPolicy& rhs) {
79 inline bool operator!=(const EncryptionPolicy& lhs, const EncryptionPolicy& rhs) {
/system/vold/
DKeyUtil.h52 const KeyBuffer& key, android::fscrypt::EncryptionPolicy* policy);
55 bool evictKey(const std::string& mountpoint, const android::fscrypt::EncryptionPolicy& policy);
DFsCrypt.cpp109 EncryptionPolicy s_device_policy;
116 EncryptionPolicy internal;
118 std::map<std::string, EncryptionPolicy> adoptable;
285 const KeyBuffer& key, EncryptionPolicy* policy) { in install_storage_key()
339 const EncryptionPolicy& policy) { in prepare_dir_with_policy()
405 EncryptionPolicy de_policy; in create_de_key()
423 EncryptionPolicy ce_policy; in create_ce_key()
467 EncryptionPolicy de_policy; in load_all_de_keys()
510 EncryptionPolicy per_boot_policy; in fscrypt_initialize_systemwide_keys()
538 const EncryptionPolicy& ce_policy = s_ce_policies[0].internal; in prepare_special_dirs()
[all …]
DKeyUtil.cpp39 using android::fscrypt::EncryptionPolicy;
105 static bool buildKeySpecifier(fscrypt_key_specifier* spec, const EncryptionPolicy& policy) { in buildKeySpecifier()
132 const KeyBuffer& key, EncryptionPolicy* policy) { in installKey()
248 bool evictKey(const std::string& mountpoint, const EncryptionPolicy& policy) { in evictKey()
/system/core/init/
Dfscrypt_init_extensions.cpp86 static bool LookupPolicy(const std::string& ref_basename, EncryptionPolicy* policy) { in LookupPolicy()
106 static bool EnsurePolicyOrLog(const EncryptionPolicy& policy, const std::string& dir) { in EnsurePolicyOrLog()
117 EncryptionPolicy policy; in SetPolicyOn()
/system/extras/libfscrypt/
Dfscrypt.cpp283 static std::string PolicyDebugString(const EncryptionPolicy& policy) { in PolicyDebugString()
303 bool EnsurePolicy(const EncryptionPolicy& policy, const std::string& directory) { in EnsurePolicy()
/system/extras/libfscrypt/tests/
Dfscrypt_test.cpp207 EncryptionPolicy foo; in TEST()