Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_dh_compute_value() -> hpre_hw_data_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hpre_req | 0,64-u64max |
| PARAM_VALUE | 1 | data | 1-u64max |
| PARAM_VALUE | 3 | is_src | 1 |
| PARAM_VALUE | 4 | is_dh | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 1 | data->length | |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_dh_compute_value() -> hpre_hw_data_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hpre_req | 0,64-u64max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 3 | is_src | 0 |
| PARAM_VALUE | 4 | is_dh | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | data->length | |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_rsa_dec() -> hpre_hw_data_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hpre_req | 0,64-u64max |
| PARAM_VALUE | 3 | is_src | 1 |
| PARAM_VALUE | 4 | is_dh | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | data->length | |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| UNITS | 2 | len | unit_byte |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_rsa_dec() -> hpre_hw_data_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hpre_req | 4096-ptr_max |
| PARAM_VALUE | 0 | hpre_req->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hpre_req->dst | 0-ptr_max |
| PARAM_VALUE | 0 | hpre_req->src | 0-ptr_max |
| PARAM_VALUE | 3 | is_src | 0 |
| PARAM_VALUE | 4 | is_dh | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | data->length | |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| UNITS | 2 | len | unit_byte |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_rsa_enc() -> hpre_hw_data_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hpre_req | 0,64-u64max |
| PARAM_VALUE | 3 | is_src | 1 |
| PARAM_VALUE | 4 | is_dh | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | data->length | |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| UNITS | 2 | len | unit_byte |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_rsa_enc() -> hpre_hw_data_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hpre_req | 4096-ptr_max |
| PARAM_VALUE | 0 | hpre_req->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hpre_req->ctx->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hpre_req->dst | 0-ptr_max |
| PARAM_VALUE | 0 | hpre_req->src | 0-ptr_max |
| PARAM_VALUE | 3 | is_src | 0 |
| PARAM_VALUE | 4 | is_dh | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | data->length | |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| UNITS | 2 | len | unit_byte |