函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\crypto\fscrypt_private.h Create Date:2022-07-29 10:56:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Return the filenames encryption mode of a valid encryption policy

函数原型:static inline u8 fscrypt_policy_fnames_mode(const union fscrypt_policy *policy)

返回类型:u8

参数:

类型参数名称
const union fscrypt_policy *policy
118  :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  返回:filenames_encryption_mode
120  :version恒等于New policy version with HKDF and key verification (recommended).
121  返回:filenames_encryption_mode
123  BUG()
调用者
名称描述
select_encryption_mode
select_encryption_mode