Function report |
Source Code:include\linux\tpm.h |
Create Date:2022-07-28 18:29:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:tpm_get_random
Proto:static inline int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct tpm_chip * | chip | |
| u8 * | data | |
| size_t | max |
| 431 | Return -ENODEV |
| Name | Describe |
|---|---|
| osap | Create an object specific authorisation protocol (OSAP) session |
| tpm_seal | Have the TPM seal(encrypt) the trusted key, possibly based on* Platform Configuration Registers (PCRs). AUTH1 for sealing key. |
| tpm_unseal | se the AUTH2_COMMAND form of unseal, to authorize both key and blob |
| 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. |
| 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 |