Lines Matching full:encryption
3 * Encryption policy functions for per-file encryption support.
21 * fscrypt_policies_equal() - check whether two encryption policies are the same
64 * Return %true if the given combination of encryption modes is supported for v1
65 * (and later) encryption policies.
67 * Do *not* add anything new here, since v1 encryption policies are deprecated.
132 * IV_INO_LBLK_* with other encryption modes arises. in supported_iv_ino_lblk_policy()
187 "Unsupported encryption modes (contents %d, filenames %d)", in fscrypt_supported_v1_policy()
195 fscrypt_warn(inode, "Unsupported encryption flags (0x%02x)", in fscrypt_supported_v1_policy()
223 "Unsupported encryption modes (contents %d, filenames %d)", in fscrypt_supported_v2_policy()
233 fscrypt_warn(inode, "Unsupported encryption flags (0x%02x)", in fscrypt_supported_v2_policy()
242 fscrypt_warn(inode, "Mutually exclusive encryption flags (0x%02x)", in fscrypt_supported_v2_policy()
256 "Unsupported log2_data_unit_size in encryption policy: %d", in fscrypt_supported_v2_policy()
283 fscrypt_warn(inode, "Reserved bits set in encryption policy"); in fscrypt_supported_v2_policy()
291 * fscrypt_supported_policy() - check whether an encryption policy is supported
292 * @policy_u: the encryption policy
295 * Given an encryption policy, check whether all its encryption modes and other
321 * encryption policy. @nonce must be a new random nonce.
432 /* Retrieve an inode's encryption policy */
470 * The original encryption policy version provided no way of in set_encryption_policy()
474 * encryption policy version fixes this and also implies use of in set_encryption_policy()
480 …pr_warn_once("%s (pid %d) is setting deprecated v1 encryption policy; recommend upgrading to v2.\n… in set_encryption_policy()
489 …pr_warn_once("%s (pid %d) is setting an IV_INO_LBLK_32 encryption policy. This should only be use… in set_encryption_policy()
557 /* The file already uses a different encryption policy. */ in fscrypt_ioctl_set_policy()
619 /* FS_IOC_GET_ENCRYPTION_NONCE: retrieve file's encryption nonce for testing */
639 * fscrypt_has_permitted_context() - is a file's encryption policy permitted
651 * same encryption policy. The pre-access check is needed to detect potentially
677 * encryption policy. Compare the cached policies if the keys are in fscrypt_has_permitted_context()
702 * encryption policy, so that files with an unrecognized encryption in fscrypt_has_permitted_context()
716 * Return the encryption policy that new files in the directory will inherit, or
735 * fscrypt_context_for_new_inode() - create an encryption context for a new inode