Function report |
Source Code:security\keys\trusted-keys\trusted_tpm1.c |
Create Date:2022-07-28 18:30:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Have the TPM unseal(decrypt) the symmetric key
Proto:static int key_unseal(struct trusted_key_payload *p, struct trusted_key_options *o)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct trusted_key_payload * | p | |
struct trusted_key_options * | o |
688 | ret = tpm_buf_init( & tb, 0, 0) |
696 | Else migratable = key[--key_len] |
700 | tpm_buf_destroy( & tb) |
701 | Return ret |
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. |
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 |