Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\trusted-keys\trusted_tpm1.c Create Date:2022-07-28 18:31:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trusted_options_alloc

Proto:static struct trusted_key_options *trusted_options_alloc(void)

Type:struct trusted_key_options

Parameter:Nothing

914  tpm2 = tpm_is_tpm2(chip)
915  If tpm2 < 0 Then Return NULL
918  options = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
919  If options Then
921  keytype = SRK_keytype
923  If Not tpm2 Then keyhandle = Other constants
926  Return options
Caller
NameDescribe
trusted_instantiaterusted_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_updaterusted_update - reseal an existing key with new PCR values