Function report |
Source Code:security\keys\trusted-keys\trusted_tpm2.c |
Create Date:2022-07-28 18:31:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pm_buf_append_auth() - append TPMS_AUTH_COMMAND to the buffer
Proto:static void tpm2_buf_append_auth(struct tpm_buf *buf, unsigned int session_handle, const u8 *nonce, u16 nonce_len, u8 attributes, const u8 *hmac, u16 hmac_len)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct tpm_buf * | buf | |
unsigned int | session_handle | |
const u8 * | nonce | |
u16 | nonce_len | |
u8 | attributes | |
const u8 * | hmac | |
u16 | hmac_len |
39 | tpm_buf_append_u32(buf, 9 + nonce_len + hmac_len) |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |