函数逻辑报告 |
Source Code:include\linux\tpm.h |
Create Date:2022-07-27 20:03:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:tpm_buf_init
函数原型:static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, unsigned int ordinal)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct tpm_buf * | buf | |
| u16 | tag | |
| unsigned int | ordinal |
| 323 | data等于__get_free_page(GFP_KERNEL) |
| 327 | flags等于0 |
| 328 | tpm_buf_reset(buf, tag, ordinal) |
| 329 | 返回:0 |
| 名称 | 描述 |
|---|---|
| key_seal | Have the TPM seal(encrypt) the symmetric key |
| key_unseal | Have the TPM unseal(decrypt) the symmetric key |
| tpm2_seal_trusted | pm2_seal_trusted() - seal the payload of a trusted key*@chip: TPM chip to use*@payload: the key data in clear and encrypted form*@options: authentication values and other options* Return: < 0 on error and 0 on success. |
| tpm2_load_cmd | pm2_load_cmd() - execute a TPM2_Load command*@chip: TPM chip to use*@payload: the key data in clear and encrypted form*@options: authentication values and other options*@blob_handle: returned blob handle* Return: 0 on success. |
| tpm2_unseal_cmd | pm2_unseal_cmd() - execute a TPM2_Unload command*@chip: TPM chip to use*@payload: the key data in clear and encrypted form*@options: authentication values and other options*@blob_handle: blob handle* Return: 0 on success* -EPERM on tpm error status* < 0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |