Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:integrity_load_cert

Proto:int __init integrity_load_cert(const unsigned int id, const char *source, const void *data, size_t len, key_perm_t perm)

Type:int

Parameter:

TypeParameterName
const unsigned intid
const char *source
const void *data
size_tlen
key_perm_tperm
198  If Not data Then Return -EINVAL
201  pr_info("Loading X.509 certificate: %s\n", source)
202  Return integrity_add_key(id, data, len, perm)
Caller
NameDescribe
add_to_platform_keyringadd_to_platform_keyring - Add to platform keyring without validation.*@source: Source of key*@data: The blob holding the key*@len: The length of the data blob* Add a key to the platform keyring without checking its trust chain. This