Home
last modified time | relevance | path

Searched refs:contents_mode (Results 1 – 8 of 8) sorted by relevance

/system/extras/libfscrypt/tests/
Dfscrypt_test.cpp63 EXPECT_EQ(FSCRYPT_MODE_AES_256_XTS, options.contents_mode); in TEST()
71 EXPECT_EQ(FSCRYPT_MODE_AES_256_XTS, options.contents_mode); in TEST()
82 EXPECT_EQ(FSCRYPT_MODE_AES_256_XTS, options.contents_mode); in TEST()
89 EXPECT_EQ(FSCRYPT_MODE_AES_256_XTS, options.contents_mode); in TEST()
96 EXPECT_EQ(FSCRYPT_MODE_AES_256_XTS, options.contents_mode); in TEST()
103 EXPECT_EQ(FSCRYPT_MODE_PRIVATE, options.contents_mode); in TEST()
112 EXPECT_EQ(FSCRYPT_MODE_PRIVATE, options.contents_mode); in TEST()
120 EXPECT_EQ(FSCRYPT_MODE_PRIVATE, options.contents_mode); in TEST()
127 EXPECT_EQ(FSCRYPT_MODE_ADIANTUM, options.contents_mode); in TEST()
134 EXPECT_EQ(FSCRYPT_MODE_ADIANTUM, options.contents_mode); in TEST()
[all …]
/system/extras/libfscrypt/
Dfscrypt.cpp145 std::string contents_mode, filenames_mode; in OptionsToStringForApiLevel() local
146 if (!LookupModeById(contents_modes, options.contents_mode, &contents_mode)) { in OptionsToStringForApiLevel()
152 *options_string = contents_mode + ":" + filenames_mode + ":v" + std::to_string(options.version); in OptionsToStringForApiLevel()
187 options->contents_mode = FSCRYPT_MODE_AES_256_XTS; in ParseOptionsForApiLevel()
189 if (!LookupModeByName(contents_modes, parts[0], &options->contents_mode)) { in ParseOptionsForApiLevel()
194 if (options->contents_mode == FSCRYPT_MODE_ADIANTUM) { in ParseOptionsForApiLevel()
245 if (options->contents_mode == FSCRYPT_MODE_ADIANTUM) { in ParseOptionsForApiLevel()
280 ss << " modes " << policy.options.contents_mode << "/" << policy.options.filenames_mode; in PolicyDebugString()
302 kern_policy.v1.contents_encryption_mode = policy.options.contents_mode; in EnsurePolicy()
315 kern_policy.v2.contents_encryption_mode = policy.options.contents_mode; in EnsurePolicy()
/system/extras/libfscrypt/include/fscrypt/
Dfscrypt.h34 int contents_mode; member
65 return (lhs.version == rhs.version) && (lhs.contents_mode == rhs.contents_mode) &&
/system/vold/
DFsCrypt.cpp271 auto contents_mode = android::base::GetProperty("ro.crypto.volume.contents_mode", ""); in get_volume_file_encryption_options() local
279 contents_mode + ":" + filenames_mode); in get_volume_file_encryption_options()
/system/sepolicy/prebuilts/api/29.0/public/
Dproperty_contexts122 ro.crypto.volume.contents_mode u:object_r:exported2_vold_prop:s0 exact string
/system/sepolicy/prebuilts/api/30.0/public/
Dproperty_contexts129 ro.crypto.volume.contents_mode u:object_r:exported2_vold_prop:s0 exact string
/system/sepolicy/private/
Dproperty_contexts506 ro.crypto.volume.contents_mode u:object_r:vold_config_prop:s0 exact string
/system/sepolicy/prebuilts/api/31.0/private/
Dproperty_contexts506 ro.crypto.volume.contents_mode u:object_r:vold_config_prop:s0 exact string