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
122 * IV_INO_LBLK_* with other encryption modes arises. in supported_iv_ino_lblk_policy()
165 "Unsupported encryption modes (contents %d, filenames %d)", in fscrypt_supported_v1_policy()
173 fscrypt_warn(inode, "Unsupported encryption flags (0x%02x)", in fscrypt_supported_v1_policy()
201 "Unsupported encryption modes (contents %d, filenames %d)", in fscrypt_supported_v2_policy()
211 fscrypt_warn(inode, "Unsupported encryption flags (0x%02x)", in fscrypt_supported_v2_policy()
220 fscrypt_warn(inode, "Mutually exclusive encryption flags (0x%02x)", in fscrypt_supported_v2_policy()
247 fscrypt_warn(inode, "Reserved bits set in encryption policy"); in fscrypt_supported_v2_policy()
255 * fscrypt_supported_policy() - check whether an encryption policy is supported
256 * @policy_u: the encryption policy
259 * Given an encryption policy, check whether all its encryption modes and other
285 * encryption policy. @nonce must be a new random nonce.
394 /* Retrieve an inode's encryption policy */
432 * The original encryption policy version provided no way of in set_encryption_policy()
436 * encryption policy version fixes this and also implies use of in set_encryption_policy()
442 …pr_warn_once("%s (pid %d) is setting deprecated v1 encryption policy; recommend upgrading to v2.\n… in set_encryption_policy()
451 …pr_warn_once("%s (pid %d) is setting an IV_INO_LBLK_32 encryption policy. This should only be use… in set_encryption_policy()
519 /* The file already uses a different encryption policy. */ in fscrypt_ioctl_set_policy()
581 /* FS_IOC_GET_ENCRYPTION_NONCE: retrieve file's encryption nonce for testing */
601 * fscrypt_has_permitted_context() - is a file's encryption policy permitted
613 * same encryption policy. The pre-access check is needed to detect potentially
639 * encryption policy. Compare the fscrypt_info structs if the keys are in fscrypt_has_permitted_context()
664 * encryption policy, so that files with an unrecognized encryption in fscrypt_has_permitted_context()
678 * Return the encryption policy that new files in the directory will inherit, or
697 * fscrypt_context_for_new_inode() - create an encryption context for a new inode