函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Given the per-file key, set up the file's crypto transform object

函数原型:int fscrypt_set_derived_key(struct fscrypt_info *ci, const u8 *derived_key)

返回类型:int

参数:

类型参数名称
struct fscrypt_info *ci
const u8 *derived_key
112  tfm等于Create a symmetric cipher object for the given encryption mode and key
113  如果是错误则返回:错误
116  The actual crypto transform used for encryption and decryption 等于tfm
117  True if the key should be freed when this fscrypt_info is freed = true
118  返回:0
调用者
名称描述
fscrypt_setup_v2_file_key
setup_v1_file_key_derivedv1 policy, !DIRECT_KEY: derive the file's encryption key