Home
last modified time | relevance | path

Searched refs:contents_encryption_mode (Results 1 – 2 of 2) sorted by relevance

/fs/crypto/
Dpolicy.c135 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()
[all …]
Dfscrypt_private.h59 u8 contents_encryption_mode; member
68 u8 contents_encryption_mode; member
157 return policy->v1.contents_encryption_mode; in fscrypt_policy_contents_mode()
159 return policy->v2.contents_encryption_mode; in fscrypt_policy_contents_mode()