Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- crypto/kpp.c, line 86
- crypto/testmgr.c, line 3732
- drivers/char/tpm/tpm2-sessions.c, line 525
- drivers/crypto/atmel-ecc.c, line 246
- drivers/crypto/hisilicon/hpre/hpre_crypto.c
- drivers/crypto/intel/qat/qat_common/qat_asym_algs.c, line 537
- drivers/nvme/host/auth.c, line 241
- drivers/nvme/target/auth.c, line 92
- net/bluetooth/selftest.c, line 205
- net/bluetooth/smp.c
- security/keys/dh.c, line 210
Smatch caller information:
drivers/nvme/host/auth.c nvme_auth_process_dhchap_challenge() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1-u64max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 16 |
| BUF_SIZE | 0 | alg_name | 16 |
| DATA_SOURCE | 0 | alg_name | r nvme_auth_dhgroup_kpp |
| HALF_LOCKED2 | &pool->lock |
security/keys/dh.c __keyctl_dh_compute() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 7218226408782499840 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 3 |
| STR_LEN | 0 | alg_name | 2 |
| TERMINATED | 0 | alg_name | 1 |
drivers/char/tpm/tpm2-sessions.c tpm_buf_append_salt() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 6640977006250827776 |
| PARAM_VALUE | 1 | type | 8192 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 15 |
| STR_LEN | 0 | alg_name | 14 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
net/bluetooth/selftest.c test_ecdh() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 6640977006250827776 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 15 |
| STR_LEN | 0 | alg_name | 14 |
| TERMINATED | 0 | alg_name | 1 |
drivers/nvme/target/auth.c nvmet_setup_dhgroup() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1-u64max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 16 |
| BUF_SIZE | 0 | alg_name | 16 |
| DATA_SOURCE | 0 | alg_name | r nvme_auth_dhgroup_kpp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &nvmet_config_sem |
crypto/testmgr.c alg_test_kpp() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | mask | 0,1024 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| DATA_SOURCE | 0 | alg_name | $1 |
| DATA_SOURCE | 1 | type | $2 |
| DATA_SOURCE | 2 | mask | $3 |
| HARD_MAX | 2 | mask | 1024 |
| HALF_LOCKED2 | global &once_lock |
drivers/crypto/atmel-ecc.c atmel_ecdh_init_tfm() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| DATA_SOURCE | 0 | alg_name | r kpp_alg_name |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c qat_dh_init_tfm() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| DATA_SOURCE | 0 | alg_name | r kpp_alg_name |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_dh_init_tfm() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| DATA_SOURCE | 0 | alg_name | r kpp_alg_name |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_ecdh_init_tfm() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| DATA_SOURCE | 0 | alg_name | r kpp_alg_name |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/bluetooth/smp.c bt_selftest_smp() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 6640977006250827776 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 15 |
| STR_LEN | 0 | alg_name | 14 |
| TERMINATED | 0 | alg_name | 1 |
net/bluetooth/smp.c smp_add_cid() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 6640977006250827776 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 15 |
| STR_LEN | 0 | alg_name | 14 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock |
net/bluetooth/smp.c smp_chan_create() -> crypto_alloc_kpp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 6640977006250827776 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 15 |
| STR_LEN | 0 | alg_name | 14 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &conn->lock |