函数逻辑报告

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 contents encryption mode of a valid encryption policy

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

返回类型:u8

参数:

类型参数名称
const union fscrypt_policy *policy
105  :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.
106  返回:contents_encryption_mode
107  :version恒等于New policy version with HKDF and key verification (recommended).
108  返回:contents_encryption_mode
110  BUG()
调用者
名称描述
select_encryption_mode
select_encryption_mode