| Function report | 
| Source Code: security\keys\trusted-keys\trusted_tpm1.c | Create Date:2022-07-28 18:31:18 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:trusted_payload_alloc
Proto:static struct trusted_key_payload *trusted_payload_alloc(struct key *key)
Type:struct trusted_key_payload
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct key * | key | 
| 931 | struct trusted_key_payload * p = NULL | 
| 934 | ret = key_payload_reserve - Adjust data quota reservation for the key's payload*@key: The key to make the reservation for | 
| 937 | p = 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). | 
| 938 | If p Then migratable = 1 | 
| 940 | Return p | 
| Name | Describe | 
|---|---|
| trusted_instantiate | rusted_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_update | rusted_update - reseal an existing key with new PCR values | 
| 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 |