Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/char/tpm/tpm-buf.c
- drivers/char/tpm/tpm-sysfs.c, line 50
- drivers/char/tpm/tpm1-cmd.c, line 474
- drivers/char/tpm/tpm2-cmd.c
- drivers/char/tpm/tpm2-sessions.c
- drivers/char/tpm/tpm2-space.c, line 85
- security/keys/trusted-keys/trusted_tpm1.c
- security/keys/trusted-keys/trusted_tpm2.c
Smatch caller information:
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8979946474034294784 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 18379471554275704832,18446612682070032384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_start_auth_session() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3238085801097465856 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 2 | new_length | 32 |
| BUF_SIZE | 1 | new_data | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm_buf_append_auth() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1289353834079596544,2500137228463173632,3454032230291607552,4267813598517657600,4765448974262747136 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0-1 |
| BUF_SIZE | 1 | new_data | (-1),20 |
| BUF_SIZE | 1 | new_data | (-1),20 |
| DATA_SOURCE | 0 | buf | $1 |
| DATA_SOURCE | 1 | new_data | $2 |
| DATA_SOURCE | 2 | new_length | $3 |
| HARD_MAX | 0 | buf->handles | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm_buf_append_hmac_session() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1289353834079596544,2500137228463173632,3454032230291607552,4267813598517657600,4765448974262747136 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 6580314999391555584 |
| PARAM_VALUE | 2 | new_length | 32 |
| BUF_SIZE | 1 | new_data | 32 |
| DATA_SOURCE | 0 | buf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm_buf_append_hmac_session() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1289353834079596544,2500137228463173632,3454032230291607552,4267813598517657600,4765448974262747136 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 6580314999391555584 |
| PARAM_VALUE | 2 | new_length | 32 |
| BUF_SIZE | 1 | new_data | 32 |
| DATA_SOURCE | 0 | buf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm_buf_append_salt() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3238085801097465856 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 3571032079196250112 |
| PARAM_VALUE | 2 | new_length | 32 |
| BUF_SIZE | 1 | new_data | 32 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm_buf_append_salt() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3238085801097465856 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 3571032079196250112 |
| PARAM_VALUE | 2 | new_length | 32 |
| BUF_SIZE | 1 | new_data | 32 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm1-cmd.c tpm1_pcr_extend() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8563504111148785664 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 2 | new_length | 20 |
| BUF_SIZE | 1 | new_data | 20,64 |
| BUF_SIZE | 1 | new_data | 20,64 |
| DATA_SOURCE | 1 | new_data | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
security/keys/trusted-keys/trusted_tpm1.c osap() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6258139523740004352 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->data->length | 10 |
| PARAM_VALUE | 0 | buf->data->ordinal | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->return_code | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->tag | 0,193-195,32769-32770 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 7919913919324389376 |
| PARAM_VALUE | 2 | new_length | 20 |
| BUF_SIZE | 1 | new_data | 20 |
| DATA_SOURCE | 0 | buf | $0 |
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm1.c tpm_seal() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6258139523740004352 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->data->length | 10 |
| PARAM_VALUE | 0 | buf->data->ordinal | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->return_code | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->tag | 0,193-195,32769-32770 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 4096-ptr_max |
| PARAM_VALUE | 2 | new_length | 20 |
| BUF_SIZE | 1 | new_data | 20 |
| DATA_SOURCE | 0 | buf | $0 |
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm1.c tpm_seal() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6258139523740004352 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->data->length | 10 |
| PARAM_VALUE | 0 | buf->data->ordinal | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->return_code | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->tag | 0,193-195,32769-32770 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| BUF_SIZE | 1 | new_data | 64 |
| BUF_SIZE | 1 | new_data | 64 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | new_data | $9 |
| DATA_SOURCE | 2 | new_length | $10 |
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm1.c tpm_seal() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6258139523740004352 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->data->length | 10 |
| PARAM_VALUE | 0 | buf->data->ordinal | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->return_code | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->tag | 0,193-195,32769-32770 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 4096-ptr_max |
| BUF_SIZE | 1 | new_data | 129 |
| BUF_SIZE | 1 | new_data | 129 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | new_data | $4 |
| DATA_SOURCE | 2 | new_length | $5 |
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
security/keys/trusted-keys/trusted_tpm1.c tpm_seal() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6258139523740004352 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->data->length | 10 |
| PARAM_VALUE | 0 | buf->data->ordinal | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->return_code | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->tag | 0,193-195,32769-32770 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 1-u64max |
| PARAM_VALUE | 2 | new_length | 20 |
| BUF_SIZE | 1 | new_data | 20 |
| DATA_SOURCE | 0 | buf | $0 |
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm1.c tpm_seal() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6258139523740004352 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->data->length | 10 |
| PARAM_VALUE | 0 | buf->data->ordinal | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->return_code | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->tag | 0,193-195,32769-32770 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 2 | new_length | 20 |
| BUF_SIZE | 1 | new_data | 20 |
| DATA_SOURCE | 0 | buf | $0 |
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm1.c tpm_unseal() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8256672715506819072 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->data->length | 10 |
| PARAM_VALUE | 0 | buf->data->ordinal | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->return_code | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->tag | 0,193-195,32769-32770 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| BUF_SIZE | 1 | new_data | 512 |
| BUF_SIZE | 1 | new_data | 512 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | new_data | $3 |
| DATA_SOURCE | 2 | new_length | $4 |
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
security/keys/trusted-keys/trusted_tpm1.c tpm_unseal() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8256672715506819072 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->data->length | 10 |
| PARAM_VALUE | 0 | buf->data->ordinal | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->return_code | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->tag | 0,193-195,32769-32770 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 8298277321598398464 |
| PARAM_VALUE | 2 | new_length | 20 |
| BUF_SIZE | 1 | new_data | 20 |
| DATA_SOURCE | 0 | buf | $0 |
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm1.c tpm_unseal() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8256672715506819072 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->data->length | 10 |
| PARAM_VALUE | 0 | buf->data->ordinal | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->return_code | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->tag | 0,193-195,32769-32770 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 1165834853568987136 |
| PARAM_VALUE | 2 | new_length | 20 |
| BUF_SIZE | 1 | new_data | 20 |
| DATA_SOURCE | 0 | buf | $0 |
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm1.c tpm_unseal() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8256672715506819072 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->data->length | 10 |
| PARAM_VALUE | 0 | buf->data->ordinal | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->return_code | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->tag | 0,193-195,32769-32770 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 8298277321598398464 |
| PARAM_VALUE | 2 | new_length | 20 |
| BUF_SIZE | 1 | new_data | 20 |
| DATA_SOURCE | 0 | buf | $0 |
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm1.c tpm_unseal() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8256672715506819072 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->data->length | 10 |
| PARAM_VALUE | 0 | buf->data->ordinal | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->return_code | 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008 |
| PARAM_VALUE | 0 | buf->data->tag | 0,193-195,32769-32770 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 6152266753242689536 |
| PARAM_VALUE | 2 | new_length | 20 |
| BUF_SIZE | 1 | new_data | 20 |
| DATA_SOURCE | 0 | buf | $0 |
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_pcr_extend() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3454032230291607552 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 0 | buf->handles | 1 |
| PARAM_VALUE | 1 | new_data | 4096-ptr_max |
| BUF_SIZE | 1 | new_data | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | global &ima_extend_list_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm2-cmd.c tpm2_pcr_read() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8607141726755409920 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | new_data | 4096-ptr_max |
| PARAM_VALUE | 2 | new_length | 3 |
| BUF_SIZE | 1 | new_data | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm-buf.c tpm_buf_append_u16() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | new_data | 4913215316472733696 |
| PARAM_VALUE | 2 | new_length | 2 |
| BUF_SIZE | 1 | new_data | 2 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm-buf.c tpm_buf_append_u32() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | new_data | 1702255074712010752 |
| PARAM_VALUE | 2 | new_length | 4 |
| BUF_SIZE | 1 | new_data | 4 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | *new_data | 0-255 |
| USER_PTR | 1 | new_data | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/char/tpm/tpm-buf.c tpm_buf_append_u8() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0-1 |
| PARAM_VALUE | 1 | *new_data | 0-1,3,33,65-66 |
| PARAM_VALUE | 2 | new_length | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| HARD_MAX | 0 | buf->handles | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
security/keys/trusted-keys/trusted_tpm2.c tpm2_buf_append_auth() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4765448974262747136 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | new_data | $2 |
| DATA_SOURCE | 2 | new_length | $3 |
| NOCHECK_CALL | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
security/keys/trusted-keys/trusted_tpm2.c tpm2_buf_append_auth() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4765448974262747136 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 1-u64max |
| PARAM_VALUE | 2 | new_length | 1-u16max |
| BUF_SIZE | 1 | new_data | 20 |
| BUF_SIZE | 1 | new_data | 20 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | new_data | $5 |
| DATA_SOURCE | 2 | new_length | $6 |
| NOCHECK_CALL | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
security/keys/trusted-keys/trusted_tpm2.c tpm2_load_cmd() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4267813598517657600 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 2 | new_length | 4-514 |
| BUF_SIZE | 1 | new_data | 512 |
| BUF_SIZE | 1 | new_data | 512 |
| CAPPED_DATA | 2 | new_length | 1 |
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
security/keys/trusted-keys/trusted_tpm2.c tpm2_seal_trusted() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3746597789728624640 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| BUF_SIZE | 1 | new_data | 20 |
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
security/keys/trusted-keys/trusted_tpm2.c tpm2_seal_trusted() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3746597789728624640 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| BUF_SIZE | 1 | new_data | 129 |
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
security/keys/trusted-keys/trusted_tpm2.c tpm2_seal_trusted() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2500137228463173632 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 18379471554275704832,18446612682070032384 |
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
security/keys/trusted-keys/trusted_tpm2.c tpm2_seal_trusted() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3746597789728624640 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| BUF_SIZE | 1 | new_data | 64 |
| NOCHECK_CALL | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
security/keys/trusted-keys/trusted_tpm2.c tpm2_seal_trusted() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2500137228463173632 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | new_data | 18379471554275704832,18446612682070032384 |
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm-sysfs.c pubek_show() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1148426160039636992 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->flags | 0 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 0 | buf->length | 10 |
| PARAM_VALUE | 1 | new_data | 6356374591228305408 |
| PARAM_VALUE | 2 | new_length | 20 |
| BUF_SIZE | 1 | new_data | 20 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm2-space.c tpm2_load_context() -> tpm_buf_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5379678439361470464 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | new_data | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | new_length | unit_byte |
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &priv->buffer_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |