Home
last modified time | relevance | path

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

/system/extras/libfscrypt/include/fscrypt/
Dfscrypt.h32 struct EncryptionOptions { struct
40 EncryptionOptions() : version(0) {} in EncryptionOptions() argument
44 EncryptionOptions options;
52 bool OptionsToString(const EncryptionOptions& options, std::string* options_string);
54 bool OptionsToStringForApiLevel(unsigned int first_api_level, const EncryptionOptions& options,
57 bool ParseOptions(const std::string& options_string, EncryptionOptions* options);
60 EncryptionOptions* options);
64 inline bool operator==(const EncryptionOptions& lhs, const EncryptionOptions& rhs) {
70 inline bool operator!=(const EncryptionOptions& lhs, const EncryptionOptions& rhs) {
/system/extras/libfscrypt/tests/
Dfscrypt_test.cpp29 const EncryptionOptions TestString(unsigned int first_api_level, const std::string instring, in TestString()
31 EncryptionOptions options; in TestString()
45 EncryptionOptions dummy_options; in TEST()
190 EncryptionOptions foo_options; in TEST()
/system/extras/libfscrypt/
Dfscrypt.cpp139 bool OptionsToString(const EncryptionOptions& options, std::string* options_string) { in OptionsToString()
143 bool OptionsToStringForApiLevel(unsigned int first_api_level, const EncryptionOptions& options, in OptionsToStringForApiLevel()
163 EncryptionOptions options_check; in OptionsToStringForApiLevel()
176 bool ParseOptions(const std::string& options_string, EncryptionOptions* options) { in ParseOptions()
181 EncryptionOptions* options) { in ParseOptionsForApiLevel()
/system/vold/
DKeyUtil.h66 bool installKey(const std::string& mountpoint, const EncryptionOptions& options,
DFsCrypt.cpp107 static KeyGeneration makeGen(const EncryptionOptions& options) { in makeGen()
235 static bool get_data_file_encryption_options(EncryptionOptions* options) { in get_data_file_encryption_options()
255 static bool install_storage_key(const std::string& mountpoint, const EncryptionOptions& options, in install_storage_key()
269 static bool get_volume_file_encryption_options(EncryptionOptions* options) { in get_volume_file_encryption_options()
295 EncryptionOptions options; in read_and_install_user_ce_key()
327 EncryptionOptions options; in create_and_install_user_keys()
379 EncryptionOptions options; in load_all_de_keys()
434 EncryptionOptions options; in fscrypt_initialize_systemwide_keys()
662 EncryptionOptions options; in read_or_create_volkey()
DKeyUtil.cpp244 static bool installFsKeyringKey(const std::string& mountpoint, const EncryptionOptions& options, in installFsKeyringKey()
262 bool installKey(const std::string& mountpoint, const EncryptionOptions& options, in installKey()
/system/core/fs_mgr/
Dfs_mgr.cpp451 android::fscrypt::EncryptionOptions options; in tune_encrypt()