函数逻辑报告 |
Source Code:security\keys\trusted-keys\trusted_tpm1.c |
Create Date:2022-07-27 20:05:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:datablob_parse - parse the keyctl data and fill in the* payload and options structures* On success returns 0, otherwise -EINVAL.
函数原型:static int datablob_parse(char *datablob, struct trusted_key_payload *p, struct trusted_key_options *o)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | datablob | |
struct trusted_key_payload * | p | |
struct trusted_key_options * | o |
863 | key_cmd等于match_token(c, key_tokens, args) |
871 | 如果ret小于0或keylen小于MIN_KEY_SIZE或keylen大于MAX_KEY_SIZE则返回:负EINVAL |
878 | 退出 |
895 | 当:key_cmd恒等于Opt_update |
906 | 返回:ret |
名称 | 描述 |
---|---|
trusted_instantiate | rusted_instantiate - create a new trusted key* Unseal an existing trusted blob or, for a new key, get a* random key, then seal and create a trusted key-type key,* adding it to the specified keyring.* On success, return 0. Otherwise return errno. |
trusted_update | rusted_update - reseal an existing key with new PCR values |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |