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/tpm1-cmd.c
- drivers/char/tpm/tpm2-cmd.c
- drivers/char/tpm/tpm2-sessions.c
- drivers/char/tpm/tpm2-space.c, line 136
- include/linux/tpm.h
- 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_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5196016078988574720 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 197746 |
| 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_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8979946474034294784 |
| 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 | 1073741831 |
| DATA_SOURCE | 1 | value | $1 |
| 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_u32()
| 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_read_public() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8814368143488847872 |
| PARAM_VALUE | 0 | buf->data | 0 |
| DATA_SOURCE | 1 | value | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | value | 1-u32max |
| 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_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3238085801097465856 |
| PARAM_VALUE | 0 | buf->data | 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 tpm2_start_auth_session() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3238085801097465856 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 1073741831 |
| 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_u32()
| 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 |
| 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_auth() -> tpm_buf_append_u32()
| 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 | 1073741833 |
| 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_empty_auth() -> tpm_buf_append_u32()
| 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 | 9 |
| 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_u32()
| 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 | 1073741833 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | value | $1 |
| 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_u32()
| 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 | 73 |
| 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_u32()
| 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 |
| 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_name() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2500137228463173632,3454032230291607552,4267813598517657600,4765448974262747136 |
| 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 |
| DATA_SOURCE | 0 | buf | $1 |
| DATA_SOURCE | 1 | value | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | value | 1-u32max |
| 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_get_random() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6547586339947524096 |
| 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-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/tpm1-cmd.c tpm1_getcap() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6279000267516870656 |
| 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 | 6,26 |
| DATA_SOURCE | 1 | value | $1 |
| BIT_INFO | 1 | value | 0x2,0x1e |
| HARD_MAX | 1 | value | 26 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/char/tpm/tpm1-cmd.c tpm1_getcap() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6279000267516870656 |
| 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 | ||
| HALF_LOCKED2 | &of->mutex |
drivers/char/tpm/tpm1-cmd.c tpm1_getcap() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6279000267516870656 |
| 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 | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &chip->tpm_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/tpm1-cmd.c tpm1_getcap() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6279000267516870656 |
| 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 | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/char/tpm/tpm1-cmd.c tpm1_getcap() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6279000267516870656 |
| 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->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/char/tpm/tpm1-cmd.c tpm1_getcap() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6279000267516870656 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 1 | value | 257,259,264-265,273,277,288 |
| DATA_SOURCE | 1 | value | $1 |
| HARD_MAX | 1 | value | 288 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/char/tpm/tpm1-cmd.c tpm1_pcr_extend() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8563504111148785664 |
| 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 |
| DATA_SOURCE | 1 | value | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | value | 1-u32max |
| 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_read() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5415216281497542656 |
| 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 |
| CAPPED_DATA | 1 | value | 1 |
| DATA_SOURCE | 1 | value | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &of->mutex |
security/keys/trusted-keys/trusted_tpm1.c osap() -> tpm_buf_append_u32()
| 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 | value | 1-u32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | value | $4 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | value | 1-u32max |
security/keys/trusted-keys/trusted_tpm1.c tpm_seal() -> tpm_buf_append_u32()
| 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-u32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | value | $2 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | value | 1-u32max |
security/keys/trusted-keys/trusted_tpm1.c tpm_seal() -> tpm_buf_append_u32()
| 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 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | value | $10 |
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm1.c tpm_seal() -> tpm_buf_append_u32()
| 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 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | value | $5 |
| NOCHECK_CALL | |||
| UNITS | 1 | value | unit_byte |
security/keys/trusted-keys/trusted_tpm1.c tpm_seal() -> tpm_buf_append_u32()
| 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 |
| DATA_SOURCE | 0 | buf | $0 |
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm1.c tpm_unseal() -> tpm_buf_append_u32()
| 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->flags | 0 |
| PARAM_VALUE | 0 | buf->handles | 0 |
| PARAM_VALUE | 0 | buf->length | 10 |
| PARAM_VALUE | 1 | value | 1-u32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | value | $1 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | value | 1-u32max |
security/keys/trusted-keys/trusted_tpm1.c tpm_unseal() -> tpm_buf_append_u32()
| 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 |
| DATA_SOURCE | 0 | buf | $0 |
| NOCHECK_CALL |
security/keys/trusted-keys/trusted_tpm1.c tpm_unseal() -> tpm_buf_append_u32()
| 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 |
| DATA_SOURCE | 0 | buf | $0 |
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_flush_context() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2776815064932691968 |
| PARAM_VALUE | 0 | buf->data | 0 |
| DATA_SOURCE | 1 | value | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &priv->buffer_mutex |
drivers/char/tpm/tpm2-cmd.c tpm2_get_cc_attrs_tbl() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3023699687611850752 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_get_cc_attrs_tbl() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3023699687611850752 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 287 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_get_cc_attrs_tbl() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3023699687611850752 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 0-1048575 |
| FUZZY_MAX | 1 | value | 1048575 |
| HARD_MAX | 1 | value | 1048575 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | value |
drivers/char/tpm/tpm2-cmd.c tpm2_get_pcr_allocation() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4544113194563657728 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_get_pcr_allocation() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4544113194563657728 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_get_pcr_allocation() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4544113194563657728 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_get_tpm_pt() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3123880985322483712 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_get_tpm_pt() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3123880985322483712 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 256,297 |
| DATA_SOURCE | 1 | value | $1 |
| HARD_MAX | 1 | value | 297 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_get_tpm_pt() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3123880985322483712 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_pcr_extend() -> tpm_buf_append_u32()
| 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 | |||
| UNITS | 1 | value | unit_array_size |
| 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_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8607141726755409920 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-cmd.c tpm2_probe() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5202873187926589440 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_probe() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5202873187926589440 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 297 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/tpm/tpm2-cmd.c tpm2_probe() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5202873187926589440 |
| PARAM_VALUE | 0 | buf->data | 0 |
| PARAM_VALUE | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/tpm/tpm-buf.c tpm_buf_append_handle() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2500137228463173632,3454032230291607552,4267813598517657600,4765448974262747136 |
| 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 |
| DATA_SOURCE | 0 | buf | $1 |
| DATA_SOURCE | 1 | value | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | value | 1-u32max |
| 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_u32()
| 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 |
| 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_u32()
| 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 | 1-u32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | value | $1 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | value | 1-u32max |
| 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_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3746597789728624640 |
| PARAM_VALUE | 0 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | value | 0,18,64,82 |
| 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_u32()
| 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 |
drivers/char/tpm/tpm2-space.c tpm2_save_context() -> tpm_buf_append_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2830270277408600064 |
| PARAM_VALUE | 0 | buf->data | 0 |
| DATA_SOURCE | 1 | value | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &priv->buffer_mutex |