We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02aef42 commit aa99799Copy full SHA for aa99799
fs/crypto/policy.c
@@ -61,6 +61,13 @@ fscrypt_get_dummy_policy(struct super_block *sb)
61
return sb->s_cop->get_dummy_policy(sb);
62
}
63
64
+/*
65
+ * Return %true if the given combination of encryption modes is supported for v1
66
+ * (and later) encryption policies.
67
+ *
68
+ * Do *not* add anything new here, since v1 encryption policies are deprecated.
69
+ * New combinations of modes should go in fscrypt_valid_enc_modes_v2() only.
70
+ */
71
static bool fscrypt_valid_enc_modes_v1(u32 contents_mode, u32 filenames_mode)
72
{
73
if (contents_mode == FSCRYPT_MODE_AES_256_XTS &&
0 commit comments