Lines Matching refs:contents_encryption_mode
135 if (policy->contents_encryption_mode != FSCRYPT_MODE_AES_256_XTS) { in supported_iv_ino_lblk_policy()
179 if (!fscrypt_valid_enc_modes_v1(policy->contents_encryption_mode, in fscrypt_supported_v1_policy()
183 policy->contents_encryption_mode, in fscrypt_supported_v1_policy()
196 !supported_direct_key_modes(inode, policy->contents_encryption_mode, in fscrypt_supported_v1_policy()
215 if (!fscrypt_valid_enc_modes_v2(policy->contents_encryption_mode, in fscrypt_supported_v2_policy()
219 policy->contents_encryption_mode, in fscrypt_supported_v2_policy()
269 !supported_direct_key_modes(inode, policy->contents_encryption_mode, in fscrypt_supported_v2_policy()
344 ctx->contents_encryption_mode = in fscrypt_new_context()
345 policy->contents_encryption_mode; in fscrypt_new_context()
360 ctx->contents_encryption_mode = in fscrypt_new_context()
361 policy->contents_encryption_mode; in fscrypt_new_context()
406 policy->contents_encryption_mode = in fscrypt_policy_from_context()
407 ctx->contents_encryption_mode; in fscrypt_policy_from_context()
421 policy->contents_encryption_mode = in fscrypt_policy_from_context()
422 ctx->contents_encryption_mode; in fscrypt_policy_from_context()
826 policy->v1.contents_encryption_mode = FSCRYPT_MODE_AES_256_XTS; in fscrypt_parse_test_dummy_encryption()
832 policy->v2.contents_encryption_mode = FSCRYPT_MODE_AES_256_XTS; in fscrypt_parse_test_dummy_encryption()