函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\digsig.c Create Date:2022-07-27 21:53:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:integrity_keyring_from_id

函数原型:static struct key *integrity_keyring_from_id(const unsigned int id)

返回类型:struct key

参数:

类型参数名称
const unsigned intid
44  如果id大于等于INTEGRITY_KEYRING_MAX则返回:错误号
47  如果非keyring[id]则
48  keyring[id]等于quest_key - Request a key and wait for construction*@type: Type of key.*@description: The searchable description of the key.*@callout_info: The data to pass to the instantiation upcall (or NULL).
50  如果是错误
51  err等于错误
52  打印错误信息("no %s keyring: %d\n", keyring_name[id], err)
53  keyring[id] = NULL
54  返回:错误号
58  返回:keyring[id]
调用者
名称描述
integrity_digsig_verify
integrity_modsig_verify