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()
197 !supported_direct_key_modes(inode, policy->contents_encryption_mode, in fscrypt_supported_v2_policy()
272 ctx->contents_encryption_mode = in fscrypt_new_context()
273 policy->contents_encryption_mode; in fscrypt_new_context()
288 ctx->contents_encryption_mode = in fscrypt_new_context()
289 policy->contents_encryption_mode; in fscrypt_new_context()
333 policy->contents_encryption_mode = in fscrypt_policy_from_context()
334 ctx->contents_encryption_mode; in fscrypt_policy_from_context()
348 policy->contents_encryption_mode = in fscrypt_policy_from_context()
349 ctx->contents_encryption_mode; in fscrypt_policy_from_context()
761 policy->v1.contents_encryption_mode = FSCRYPT_MODE_AES_256_XTS; in fscrypt_set_test_dummy_encryption()
767 policy->v2.contents_encryption_mode = FSCRYPT_MODE_AES_256_XTS; in fscrypt_set_test_dummy_encryption()