Lines Matching refs:v2
10 * Modified by Eric Biggers, 2019 for v2 policy support.
47 memcpy(key_spec->u.identifier, policy->v2.master_key_identifier,
309 return fscrypt_supported_v2_policy(&policy_u->v2, inode);
349 const struct fscrypt_policy_v2 *policy = &policy_u->v2;
350 struct fscrypt_context_v2 *ctx = &ctx_u->v2;
410 const struct fscrypt_context_v2 *ctx = &ctx_u->v2;
411 struct fscrypt_policy_v2 *policy = &policy_u->v2;
480 pr_warn_once("%s (pid %d) is setting deprecated v1 encryption policy; recommend upgrading to v2.\n",
485 policy->v2.master_key_identifier);
488 if (policy->v2.flags & FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32)
785 (ci->ci_policy.v2.flags & FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32))
806 const char *arg = "v2";
823 } else if (!strcmp(arg, "v2")) {
825 policy->v2.contents_encryption_mode = FSCRYPT_MODE_AES_256_XTS;
826 policy->v2.filenames_encryption_mode = FSCRYPT_MODE_AES_256_CTS;
828 policy->v2.master_key_identifier);