Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- crypto/dh.c, line 518
- crypto/testmgr.c
- drivers/char/tpm/tpm2-sessions.c
- drivers/crypto/hisilicon/hpre/hpre_crypto.c, line 525
- drivers/nvme/common/auth.c
- net/bluetooth/ecdh_helper.c
- security/keys/dh.c, line 251
Smatch caller information:
net/bluetooth/ecdh_helper.c compute_ecdh_secret() -> kpp_request_set_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | input | 7496184712634114048 |
| PARAM_VALUE | 2 | input_len | 64 |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | r kpp_request_alloc |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &conn->lock |
net/bluetooth/ecdh_helper.c generate_ecdh_public_key() -> kpp_request_set_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | input | 0 |
| PARAM_VALUE | 2 | input_len | 0 |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | r kpp_request_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
security/keys/dh.c __keyctl_dh_compute() -> kpp_request_set_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | input | 0 |
| PARAM_VALUE | 2 | input_len | 0 |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | r kpp_request_alloc |
| NOCHECK_CALL |
drivers/char/tpm/tpm2-sessions.c tpm_buf_append_salt() -> kpp_request_set_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | input | 0 |
| PARAM_VALUE | 2 | input_len | 0 |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | r kpp_request_alloc |
| 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() -> kpp_request_set_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | input | 8423067920135573504 |
| PARAM_VALUE | 2 | input_len | 64 |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 1 | input | 64 |
| DATA_SOURCE | 0 | req | r kpp_request_alloc |
| 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 |
crypto/testmgr.c do_test_kpp() -> kpp_request_set_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | input | 0 |
| PARAM_VALUE | 2 | input_len | 0 |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | r kpp_request_alloc |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c do_test_kpp() -> kpp_request_set_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | input | 6117822457268371456 |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| CAPPED_DATA | 2 | input_len | 1 |
| DATA_SOURCE | 0 | req | r kpp_request_alloc |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c do_test_kpp() -> kpp_request_set_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->src | 6117822457268371456 |
| PARAM_VALUE | 0 | req->src_len | 0-u16max |
| PARAM_VALUE | 1 | input | 6117822457268371456 |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | r kpp_request_alloc |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &once_lock |
crypto/dh.c dh_safe_prime_prepare_dh_req() -> kpp_request_set_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | input_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 1 | input->length | |
| UNITS | 2 | input_len | unit_byte |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/nvme/common/auth.c nvme_auth_gen_pubkey() -> kpp_request_set_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | input | 0 |
| PARAM_VALUE | 2 | input_len | 0 |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | r kpp_request_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &nvmet_config_sem |
drivers/nvme/common/auth.c nvme_auth_gen_session_key() -> kpp_request_set_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | input | 8370043529119113216 |
| PARAM_VALUE | 2 | input_len | 1-u16max |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | r kpp_request_alloc |
| DATA_SOURCE | 2 | input_len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | input_len | 1-u16max[u] |
| UNITS | 2 | input_len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_dh_prepare_fb_req() -> kpp_request_set_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | input_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 1 | input->length | |
| UNITS | 2 | input_len | unit_byte |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |