Home
last modified time | relevance | path

Searched refs:contents_mode (Results 1 – 11 of 11) 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.cpp147 std::string contents_mode, filenames_mode; in OptionsToStringForApiLevel() local
148 if (!LookupModeById(contents_modes, options.contents_mode, &contents_mode)) { in OptionsToStringForApiLevel()
154 *options_string = contents_mode + ":" + filenames_mode + ":v" + std::to_string(options.version); in OptionsToStringForApiLevel()
189 options->contents_mode = FSCRYPT_MODE_AES_256_XTS; in ParseOptionsForApiLevel()
191 if (!LookupModeByName(contents_modes, parts[0], &options->contents_mode)) { in ParseOptionsForApiLevel()
196 if (options->contents_mode == FSCRYPT_MODE_ADIANTUM) { in ParseOptionsForApiLevel()
247 if (options->contents_mode == FSCRYPT_MODE_ADIANTUM) { in ParseOptionsForApiLevel()
282 ss << " modes " << policy.options.contents_mode << "/" << policy.options.filenames_mode; in PolicyDebugString()
304 kern_policy.v1.contents_encryption_mode = policy.options.contents_mode; in EnsurePolicy()
317 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.cpp298 auto contents_mode = android::base::GetProperty("ro.crypto.volume.contents_mode", ""); in get_volume_file_encryption_options() local
306 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/prebuilts/api/31.0/private/
Dproperty_contexts505 ro.crypto.volume.contents_mode u:object_r:vold_config_prop:s0 exact string
/system/sepolicy/prebuilts/api/32.0/private/
Dproperty_contexts509 ro.crypto.volume.contents_mode u:object_r:vold_config_prop:s0 exact string
/system/sepolicy/prebuilts/api/33.0/private/
Dproperty_contexts600 ro.crypto.volume.contents_mode u:object_r:vold_config_prop:s0 exact string
/system/sepolicy/private/
Dproperty_contexts689 ro.crypto.volume.contents_mode u:object_r:vold_config_prop:s0 exact string
/system/sepolicy/prebuilts/api/34.0/private/
Dproperty_contexts689 ro.crypto.volume.contents_mode u:object_r:vold_config_prop:s0 exact string