Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fscrypt_setup_v1_file_key

Proto:int fscrypt_setup_v1_file_key(struct fscrypt_info *ci, const u8 *raw_master_key)

Type:int

Parameter:

TypeParameterName
struct fscrypt_info *ci
const u8 *raw_master_key
309  If flags & FSCRYPT_POLICY_FLAG_DIRECT_KEY Then Return v1 policy, DIRECT_KEY: use the master key directly
311  Else Return v1 policy, !DIRECT_KEY: derive the file's encryption key
Caller
NameDescribe
fscrypt_setup_v1_file_key_via_subscribed_keyrings