Lines Matching refs:contents_encryption_mode
134 if (policy->contents_encryption_mode != FSCRYPT_MODE_AES_256_XTS) { in supported_iv_ino_lblk_policy()
184 if (!fscrypt_valid_enc_modes_v1(policy->contents_encryption_mode, in fscrypt_supported_v1_policy()
188 policy->contents_encryption_mode, in fscrypt_supported_v1_policy()
201 !supported_direct_key_modes(inode, policy->contents_encryption_mode, in fscrypt_supported_v1_policy()
220 if (!fscrypt_valid_enc_modes_v2(policy->contents_encryption_mode, in fscrypt_supported_v2_policy()
224 policy->contents_encryption_mode, in fscrypt_supported_v2_policy()
273 !supported_direct_key_modes(inode, policy->contents_encryption_mode, in fscrypt_supported_v2_policy()
337 ctx->contents_encryption_mode = in fscrypt_new_context()
338 policy->contents_encryption_mode; in fscrypt_new_context()
353 ctx->contents_encryption_mode = in fscrypt_new_context()
354 policy->contents_encryption_mode; in fscrypt_new_context()
399 policy->contents_encryption_mode = in fscrypt_policy_from_context()
400 ctx->contents_encryption_mode; in fscrypt_policy_from_context()
414 policy->contents_encryption_mode = in fscrypt_policy_from_context()
415 ctx->contents_encryption_mode; in fscrypt_policy_from_context()
819 policy->v1.contents_encryption_mode = FSCRYPT_MODE_AES_256_XTS; in fscrypt_parse_test_dummy_encryption()
825 policy->v2.contents_encryption_mode = FSCRYPT_MODE_AES_256_XTS; in fscrypt_parse_test_dummy_encryption()