| 函数逻辑报告 | 
| Source Code: security\keys\trusted-keys\trusted_tpm1.c | Create Date:2022-07-27 20:05:49 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:init_trusted
函数原型:static int __init init_trusted(void)
返回类型:int
参数:无
| 1237 | chip等于tpm_default_chip() | 
| 1238 | 如果非chip则返回:0 | 
| 1241 | ret等于init_digests() | 
| 1244 | ret等于trusted_shash_alloc() | 
| 1247 | ret等于gister_key_type - Register a type of key.*@ktype: The new key type.* Register a new key type.* Returns 0 on success or -EEXIST if a type of this name already exists. | 
| 1248 | 如果ret小于0则转到:err_release | 
| 1250 | 返回:0 | 
| 1251 | err_release : | 
| 1252 | trusted_shash_release() | 
| 1253 | err_free : | 
| 1254 | 释放内存 | 
| 1255 | err_put : | 
| 1256 | put_device( & dev) | 
| 1257 | 返回:ret | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |