Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/keys/trusted-keys/trusted_tpm2.c tpm2_load_cmd() -> tpm2_key_decode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | options | 4096-ptr_max |
| PARAM_VALUE | 1 | options->hash | 0-22 |
| PARAM_VALUE | 1 | options->keytype | 1,4 |
| PARAM_VALUE | 2 | buf | 4833849992609566720 |
| BUF_SIZE | 1 | options | 208 |
| DATA_SOURCE | 0 | payload | $1 |
| DATA_SOURCE | 1 | options | $2 |
| USER_DATA | 1 | options->keyhandle | 0-u32max |
| USER_DATA | 1 | options->pcrlock | s32min-s32max |
| USER_DATA | 1 | options->policyhandle | 0-u32max |
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |