Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/char/tpm/tpm-buf.c, line 139
- drivers/char/tpm/tpm1-cmd.c, line 335
- drivers/char/tpm/tpm2-cmd.c
- drivers/char/tpm/tpm2-sessions.c
- include/linux/tpm.h
- security/keys/trusted-keys/trusted_tpm1.c, line 379
- security/keys/trusted-keys/trusted_tpm2.c
Smatch caller information:
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5196016078988574720 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->flags | 2 |
| PARAM_VALUE | 0 | buf->length | 2 |
| PARAM_VALUE | 1 | value | 35 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5196016078988574720 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5196016078988574720 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5196016078988574720 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5196016078988574720 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5196016078988574720 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 67 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5196016078988574720 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5196016078988574720 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5196016078988574720 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5196016078988574720 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5196016078988574720 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| 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 | value | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| 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 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| 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 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_buf_append_u16()
| 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 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_start_auth_session() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3238085801097465856 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | value | 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 tpm2_start_auth_session() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3238085801097465856 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 6 |
| 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 tpm2_start_auth_session() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3238085801097465856 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 128 |
| 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 tpm2_start_auth_session() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3238085801097465856 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 67 |
| 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 tpm2_start_auth_session() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3238085801097465856 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 11 |
| 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_auth() -> tpm_buf_append_u16()
| 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 |
| PARAM_VALUE | 1 | value | 0 |
| DATA_SOURCE | 0 | buf | $1 |
| HARD_MAX | 0 | buf->handles | 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_auth() -> tpm_buf_append_u16()
| 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 |
| DATA_SOURCE | 0 | buf | $1 |
| DATA_SOURCE | 1 | value | $3 |
| HARD_MAX | 0 | buf->handles | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | value | 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_empty_auth() -> tpm_buf_append_u16()
| 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 | value | 0 |
| 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/tpm2-sessions.c tpm_buf_append_empty_auth() -> tpm_buf_append_u16()
| 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 | value | 0 |
| 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/tpm2-sessions.c tpm_buf_append_hmac_session() -> tpm_buf_append_u16()
| 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 | value | 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_u16()
| 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 | value | 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_u16()
| 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 | value | 68 |
| 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_u16()
| 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 | value | 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_u16()
| 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 | value | 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_startup() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7482454454816579584 |
| 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 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm1.c osap() -> tpm_buf_append_u16()
| 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->flags | 0 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 0 | buf->length | 10 |
| PARAM_VALUE | 1 | value | 1,4 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | value | $3 |
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_get_random() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1289353834079596544 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | value | 1-128 |
| 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-cmd.c tpm2_pcr_extend() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3454032230291607552 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 0 | buf->handles | 1 |
| 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_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8607141726755409920 |
| PARAM_VALUE | 0 | buf->data | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-cmd.c tpm2_shutdown() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 146936894276833280 |
| 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 | value | 0-1 |
| DATA_SOURCE | 1 | value | $1 |
| HARD_MAX | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem |
drivers/char/tpm/tpm2-cmd.c tpm2_startup() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6224177166544572416 |
| 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 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm2.c tpm2_buf_append_auth() -> tpm_buf_append_u16()
| 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 | value | 0 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | value | $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_u16()
| 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 | value | $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_seal_trusted() -> tpm_buf_append_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3746597789728624640 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->flags | 2 |
| PARAM_VALUE | 0 | buf->length | 2 |
| NOCHECK_CALL | |||
| UNITS | 1 | value | 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_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3746597789728624640 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| NOCHECK_CALL | |||
| UNITS | 1 | value | 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_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3746597789728624640 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->flags | 2 |
| PARAM_VALUE | 0 | buf->length | 2 |
| PARAM_VALUE | 1 | value | 8 |
| 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_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3746597789728624640 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| DATA_SOURCE | 1 | value | r tpm2_find_hash_alg |
| 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_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3746597789728624640 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| 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_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3746597789728624640 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 16 |
| 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_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3746597789728624640 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 0 |
| 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_u16()
| 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 | value | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |