Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- crypto/testmgr.c, line 3706
- drivers/char/tpm/tpm2-sessions.c
- drivers/nvme/common/auth.c
- net/bluetooth/ecdh_helper.c
- security/keys/dh.c, line 286
Smatch caller information:
net/bluetooth/ecdh_helper.c compute_ecdh_secret() -> kpp_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 1624078799481573376 |
| PARAM_VALUE | 0 | req->base.data | 749204260720947200 |
| PARAM_VALUE | 0 | req->base.flags | 1024 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst | 129633621795110912 |
| PARAM_VALUE | 0 | req->dst_len | 32 |
| PARAM_VALUE | 0 | req->src | 7496184712634114048 |
| PARAM_VALUE | 0 | req->src_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_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->base.flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->dst_len | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->src_len | 0-4294967295 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | *req->__ctx->base.data | (-4611686018427387904)-4611686018427387903 |
| 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_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->base.flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->dst_len | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->src_len | 0-4294967295 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | *req->__ctx->base.data | (-4611686018427387904)-4611686018427387903 |
| 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_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->base.flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->dst_len | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->src_len | 0-4294967295 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst | 1861308935135965184 |
| PARAM_VALUE | 0 | req->dst->dma_flags | 0 |
| PARAM_VALUE | 0 | req->dst->dma_length | 0 |
| PARAM_VALUE | 0 | req->dst->offset | 0-4095 |
| PARAM_VALUE | 0 | req->dst_len | 32 |
| PARAM_VALUE | 0 | req->src | 8423067920135573504 |
| PARAM_VALUE | 0 | req->src->dma_flags | 0 |
| PARAM_VALUE | 0 | req->src->dma_length | 0 |
| PARAM_VALUE | 0 | req->src->length | 0 |
| PARAM_VALUE | 0 | req->src->offset | 0 |
| PARAM_VALUE | 0 | req->src_len | 64 |
| PARAM_VALUE | 0 | *req->__ctx->base.data | (-4611686018427387904)-4611686018427387903 |
| 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_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->base.flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->dst_len | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->src_len | 0-4294967295 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | *req->__ctx->base.data | (-4611686018427387904)-4611686018427387903 |
| 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 |
crypto/testmgr.c do_test_kpp() -> kpp_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->base.flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->dst_len | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->src_len | 0-4294967295 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | *req->__ctx->base.data | (-4611686018427387904)-4611686018427387903 |
| 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 |
drivers/nvme/common/auth.c nvme_auth_gen_pubkey() -> kpp_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->base.flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->dst_len | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->src_len | 0-4294967295 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | *req->__ctx->base.data | (-4611686018427387904)-4611686018427387903 |
| 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_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 1624078799481573376 |
| PARAM_VALUE | 0 | req->base.data | 6344943969125990400 |
| PARAM_VALUE | 0 | req->base.flags | 1024 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst | 6459784276356268032 |
| PARAM_VALUE | 0 | req->dst_len | 0-4000000 |
| PARAM_VALUE | 0 | req->src | 8370043529119113216 |
| PARAM_VALUE | 0 | req->src_len | 1-u16max |
| 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 | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| HALF_LOCKED2 | &pool->lock |