Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/keys/trusted-keys/trusted_tpm2.c tpm2_seal_trusted() -> tpm2_key_encode()

Type Parameter Key Value
PARAM_VALUE 0 payload 4096-ptr_max
PARAM_VALUE 1 options 4096-ptr_max
PARAM_VALUE 1 options->hash 2,4-6,17
PARAM_VALUE 1 options->keyhandle 1-u32max
PARAM_VALUE 1 options->keytype 1,4
PARAM_VALUE 2 src 4096-ptr_max
PARAM_VALUE 3 len 0-255
BUF_SIZE 1 options 208
CAPPED_DATA 1 options->hash 1
CAPPED_DATA 3 len 1
DATA_SOURCE 0 payload $1
DATA_SOURCE 1 options $2
DATA_SOURCE 3 len r tpm_buf_read_u32
USER_DATA 1 options->keyhandle 1-u32max
USER_DATA 1 options->pcrlock s32min-s32max
USER_DATA 1 options->policyhandle 0-u32max
UNITS 3 len unit_byte
LOCK2 &chip->ops_sem
LOCK2 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex