Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:add_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

Proto:void __init add_to_platform_keyring(const char *source, const void *data, size_t len)

Type:void

Parameter:

TypeParameterName
const char *source
const void *data
size_tlen
32  perm = KEY_POS_ALL & ~possessor can set key attributes | user permissions...
34  rc = integrity_load_cert(INTEGRITY_KEYRING_PLATFORM, source, data, len, perm)
36  If rc Then pr_info("Error adding keys to platform keyring %s\n", source)
Caller
NameDescribe
load_ipl_certsLoad the certs contained in the IPL report created by the machine loader* into the platform trusted keyring.