Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\crypto\fscrypt_private.h Create Date:2022-07-28 20:23:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Return the filenames encryption mode of a valid encryption policy

Proto:static inline u8 fscrypt_policy_fnames_mode(const union fscrypt_policy *policy)

Type:u8

Parameter:

TypeParameterName
const union fscrypt_policy *policy
118  Case version == Legacy policy version; ad-hoc KDF and no key verification.* For new encrypted directories, use fscrypt_policy_v2 instead.* Careful: the .version field for this is actually 0, not 1.
119  Return filenames_encryption_mode
120  Case version == New policy version with HKDF and key verification (recommended).
121  Return filenames_encryption_mode
123  BUG()
Caller
NameDescribe
select_encryption_mode