函数逻辑报告

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 flags (FSCRYPT_POLICY_FLAG*) of a valid encryption policy

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

返回类型:u8

参数:

类型参数名称
const union fscrypt_policy *policy
131  :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.
132  返回:flags
133  :version恒等于New policy version with HKDF and key verification (recommended).
134  返回:flags
136  BUG()
调用者
名称描述
fscrypt_generate_iv
fscrypt_fname_encrypted_size
fscrypt_is_direct_key_policy