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()
189 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.cpp101 static KeyGeneration makeGen(const EncryptionOptions& options) { in makeGen()
228 static bool get_data_file_encryption_options(EncryptionOptions* options) { in get_data_file_encryption_options()
248 static bool install_storage_key(const std::string& mountpoint, const EncryptionOptions& options, in install_storage_key()
262 static bool get_volume_file_encryption_options(EncryptionOptions* options) { in get_volume_file_encryption_options()
289 EncryptionOptions options; in read_and_install_user_ce_key()
321 EncryptionOptions options; in create_and_install_user_keys()
373 EncryptionOptions options; in load_all_de_keys()
427 EncryptionOptions options; in fscrypt_initialize_systemwide_keys()
663 EncryptionOptions options; in read_or_create_volkey()
DKeyUtil.cpp242 static bool installFsKeyringKey(const std::string& mountpoint, const EncryptionOptions& options, in installFsKeyringKey()
260 bool installKey(const std::string& mountpoint, const EncryptionOptions& options, in installKey()
/system/core/fs_mgr/
Dfs_mgr.cpp476 android::fscrypt::EncryptionOptions options; in tune_encrypt()