函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:integrity_load_cert

函数原型:int __init integrity_load_cert(const unsigned int id, const char *source, const void *data, size_t len, key_perm_t perm)

返回类型:int

参数:

类型参数名称
const unsigned intid
const char *source
const void *data
size_tlen
key_perm_tperm
198  如果非data则返回:负EINVAL
201  打印信息("Loading X.509 certificate: %s\n", source)
202  返回:integrity_add_key(id, data, len, perm)
调用者
名称描述
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