Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/hisilicon/sec2/sec_crypto.c sec_alg_send_backlog_soft() -> sec_skcipher_soft_crypto()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->alg_type | 0,2-u32max |
| PARAM_VALUE | 0 | ctx->req_op | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &qp->backlog.lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct instance_backlog)->lock |
drivers/crypto/hisilicon/sec2/sec_crypto.c sec_process() -> sec_skcipher_soft_crypto()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->alg_type | 0,2-u32max |
| PARAM_VALUE | 0 | ctx->c_ctx.c_alg | 1-3 |
| PARAM_VALUE | 0 | ctx->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->qps | 1-u64max |
| PARAM_VALUE | 0 | ctx->req_op | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->req_op->buf_map | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->req_op->buf_unmap | 4096-ptr_max |
| BUF_SIZE | 1 | sreq | (-1)-s32max |
| BUF_SIZE | 1 | sreq | (-1)-s32max |
| DATA_SOURCE | 0 | ctx | $0 |
| NOSPEC | 1 | sreq->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | sreq->cryptlen | 1-u32max |
| USER_PTR | 1 | sreq->iv |
drivers/crypto/hisilicon/sec2/sec_crypto.c sec_skcipher_crypto() -> sec_skcipher_soft_crypto()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | sreq | 4096-ptr_max |
| BUF_SIZE | 1 | sreq | (-1)-s32max |
| BUF_SIZE | 1 | sreq | (-1)-s32max |
| DATA_SOURCE | 1 | sreq | $0 |
| DATA_SOURCE | 2 | encrypt | $1 |
| NOSPEC | 1 | sreq->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | sreq->dst->length | 0-2147483646[c] |
| HOST_DATA | 1 | sreq->src->length | 0-2147483646[c] |
| USER_DATA | 1 | sreq->cryptlen | 0-u32max |
| USER_DATA | 1 | sreq->dst->length | 1-u32max[c] |
| USER_DATA | 1 | sreq->dst->offset | 0-2147551739[c] |
| USER_DATA | 1 | sreq->src->length | 1-u32max[c] |
| USER_DATA | 1 | sreq->src->offset | 0-2147551739[c] |
| USER_DATA | 1 | *sreq->iv | 0-255 |
| USER_PTR | 1 | sreq->iv | |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |