Lines Matching refs:contents_encryption_mode
95 if (policy->contents_encryption_mode != FSCRYPT_MODE_AES_256_XTS) { in supported_iv_ino_lblk_policy()
133 if (!fscrypt_valid_enc_modes(policy->contents_encryption_mode, in fscrypt_supported_v1_policy()
137 policy->contents_encryption_mode, in fscrypt_supported_v1_policy()
150 !supported_direct_key_modes(inode, policy->contents_encryption_mode, in fscrypt_supported_v1_policy()
169 if (!fscrypt_valid_enc_modes(policy->contents_encryption_mode, in fscrypt_supported_v2_policy()
173 policy->contents_encryption_mode, in fscrypt_supported_v2_policy()
194 !supported_direct_key_modes(inode, policy->contents_encryption_mode, in fscrypt_supported_v2_policy()
269 ctx->contents_encryption_mode = in fscrypt_new_context()
270 policy->contents_encryption_mode; in fscrypt_new_context()
285 ctx->contents_encryption_mode = in fscrypt_new_context()
286 policy->contents_encryption_mode; in fscrypt_new_context()
330 policy->contents_encryption_mode = in fscrypt_policy_from_context()
331 ctx->contents_encryption_mode; in fscrypt_policy_from_context()
345 policy->contents_encryption_mode = in fscrypt_policy_from_context()
346 ctx->contents_encryption_mode; in fscrypt_policy_from_context()
752 policy->v1.contents_encryption_mode = FSCRYPT_MODE_AES_256_XTS; in fscrypt_set_test_dummy_encryption()
758 policy->v2.contents_encryption_mode = FSCRYPT_MODE_AES_256_XTS; in fscrypt_set_test_dummy_encryption()