Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\digsig.c Create Date:2022-07-28 19:56:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:integrity_keyring_from_id

Proto:static struct key *integrity_keyring_from_id(const unsigned int id)

Type:struct key

Parameter:

TypeParameterName
const unsigned intid
44  If id >= INTEGRITY_KEYRING_MAX Then Return ERR_PTR( - EINVAL)
47  If Not keyring[id] Then
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  If IS_ERR(keyring[id]) Then
51  err = PTR_ERR(keyring[id])
52  pr_err("no %s keyring: %d\n", keyring_name[id], err)
53  keyring[id] = NULL
54  Return ERR_PTR(err)
58  Return keyring[id]
Caller
NameDescribe
integrity_digsig_verify
integrity_modsig_verify