函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\trusted-keys\trusted_tpm1.c Create Date:2022-07-27 20:04:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:For key specific tpm requests, we will generate and send our* own TPM command packets using the drivers send function.

函数原型:int trusted_tpm_send(unsigned char *cmd, size_t buflen)

返回类型:int

参数:

类型参数名称
unsigned char *cmd
size_tbuflen
368  如果非chip则返回:负ENODEV
371  dump_tpm_buf(cmd)
372  rc等于tpm_send(chip, cmd, buflen)
373  dump_tpm_buf(cmd)
374  如果rc大于0则rc等于负EPERM
377  返回:rc
调用者
名称描述
osapCreate an object specific authorisation protocol (OSAP) session
oiapCreate an object independent authorisation protocol (oiap) session
tpm_sealHave the TPM seal(encrypt) the trusted key, possibly based on* Platform Configuration Registers (PCRs). AUTH1 for sealing key.
tpm_unsealse the AUTH2_COMMAND form of unseal, to authorize both key and blob