Documented in 1 files:
Defined in 1 files as a function:
Referenced in 9 files:
- crypto/dh.c, line 542
- crypto/testmgr.c, line 3592
- drivers/crypto/atmel-ecc.c, line 273
- drivers/crypto/hisilicon/hpre/hpre_crypto.c
- drivers/crypto/intel/qat/qat_common/qat_asym_algs.c, line 521
- drivers/nvme/common/auth.c, line 455
- drivers/nvme/host/auth.c, line 573
- drivers/nvme/target/auth.c, line 112
- security/keys/dh.c, line 220
Smatch caller information:
drivers/nvme/host/auth.c nvme_auth_dhchap_exponential() -> crypto_kpp_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 0-ptr_max |
| HALF_LOCKED2 | &pool->lock |
security/keys/dh.c __keyctl_dh_compute() -> crypto_kpp_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->devt | 0-4294967295 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->id | 0-4294967295 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.state_in_sysfs | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.state_initialized | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->links.status | 0-4294967295 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->numa_node | s32min-s32max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->removable | 0-4294967295 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->dev.driver_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->dev.driver_data->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->dev.driver_data->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->dev.driver_data->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->crt_g2_mode | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->do_fallback | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->fallback | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->g->alloced | 0-256 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->g->nlimbs | 0-256 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->g2 | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->key_sz | 0,32,48 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->p->alloced | 0-256 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->p->nlimbs | 0-256 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->p_size | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->xa->alloced | 0-256 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->xa->nlimbs | 0-256 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->dh.g | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->dh.xa_p | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->ecdh.g | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->ecdh.p | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->g | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->g->d | 0,144 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->p | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->p->d | 0,144 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->public_key | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->xa | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->xa->d | 0,144 |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_kpp |
drivers/nvme/target/auth.c nvmet_setup_dhgroup() -> crypto_kpp_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_kpp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &nvmet_config_sem |
crypto/testmgr.c do_test_kpp() -> crypto_kpp_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->devt | 0-4294967295 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->id | 0-4294967295 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.state_in_sysfs | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.state_initialized | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->links.status | 0-4294967295 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->numa_node | s32min-s32max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->adapter->dev.parent->removable | 0-4294967295 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->dev.driver_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->dev.driver_data->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->dev.driver_data->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->client->dev.driver_data->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->crt_g2_mode | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->do_fallback | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->fallback | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->g->alloced | 0-256 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->g->nlimbs | 0-256 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->g2 | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->key_sz | 0,32,48 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->p->alloced | 0-256 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->p->nlimbs | 0-256 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->p_size | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->xa->alloced | 0-256 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->xa->nlimbs | 0-256 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->dh.g | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->dh.xa_p | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->ecdh.g | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->ecdh.p | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->g | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->g->d | 0,144 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->p | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->p->d | 0,144 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->public_key | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->xa | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->xa->d | 0,144 |
| DATA_SOURCE | 0 | tfm | $0 |
| HALF_LOCKED2 | global &once_lock |
crypto/dh.c dh_safe_prime_max_size() -> crypto_kpp_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &nvmet_config_sem |
drivers/crypto/atmel-ecc.c atmel_ecdh_max_size() -> crypto_kpp_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &nvmet_config_sem |
drivers/nvme/common/auth.c nvme_auth_gen_session_key() -> crypto_kpp_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c qat_dh_max_size() -> crypto_kpp_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &nvmet_config_sem |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_dh_max_size() -> crypto_kpp_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &nvmet_config_sem |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_ecdh_max_size() -> crypto_kpp_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &nvmet_config_sem |