Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/chelsio/chcr_algo.c chcr_ahash_continue() -> create_hash_wr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->rxqidx | 0 |
| PARAM_VALUE | 0 | req->__ctx->txqidx | 0 |
| PARAM_VALUE | 1 | param | 2224609939573936128 |
| PARAM_VALUE | 1 | param->alg_prm.auth_mode | 1-3,7-8 |
| PARAM_VALUE | 1 | param->alg_prm.mk_size | 1,3-4 |
| PARAM_VALUE | 1 | param->alg_prm.result_size | 20,32,64 |
| PARAM_VALUE | 1 | param->bfr_len | 0 |
| PARAM_VALUE | 1 | param->kctx_len | 16,32,64,128 |
| PARAM_VALUE | 1 | param->last | 0-1 |
| PARAM_VALUE | 1 | param->more | 0-1 |
| PARAM_VALUE | 1 | param->opad_needed | 0-1 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/crypto/chelsio/chcr_algo.c chcr_ahash_digest() -> create_hash_wr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->data_len | 0-8589934590 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.dma_addr | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.dma_len | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.imm | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.is_sg_map | 0-1 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.isfinal | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.processed | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.result | 1 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.skb | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.src_ofst | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.srcsg | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->reqlen | 0 |
| PARAM_VALUE | 0 | req->__ctx->rxqidx | 0 |
| PARAM_VALUE | 0 | req->__ctx->txqidx | 0 |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 0 | req->src | 4096-ptr_max |
| PARAM_VALUE | 0 | *req->__ctx->partial_hash | 0-255 |
| PARAM_VALUE | 0 | *req->__ctx->reqbfr | 0-255 |
| PARAM_VALUE | 0 | *req->__ctx->skbfr | 0-255 |
| PARAM_VALUE | 1 | param | 5406942772814798848 |
| PARAM_VALUE | 1 | param->alg_prm.auth_mode | 1-3,7-8 |
| PARAM_VALUE | 1 | param->alg_prm.mk_size | 1,3-4 |
| PARAM_VALUE | 1 | param->alg_prm.result_size | 20,32,64 |
| PARAM_VALUE | 1 | param->bfr_len | 0-255 |
| PARAM_VALUE | 1 | param->kctx_len | 16,32,64,128 |
| PARAM_VALUE | 1 | param->last | 0-1 |
| PARAM_VALUE | 1 | param->more | 0-1 |
| PARAM_VALUE | 1 | param->opad_needed | 0-1 |
| PARAM_VALUE | 1 | param->scmd1 | 0-8589934590 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| CAPPED_DATA | 0 | req->nbytes | 1 |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->nbytes | 0-4605,4294963202-u32max[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| HOST_DATA | 1 | param->scmd1 | 0-4294971900[c] |
| HOST_DATA | 1 | param->sg_len | 0-4605[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max[c] |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_DATA | 1 | param->scmd1 | 0-6442450942[c] |
| USER_DATA | 1 | param->sg_len | 0-s32max[c] |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |
drivers/crypto/chelsio/chcr_algo.c chcr_ahash_final() -> create_hash_wr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.dma_addr | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.dma_len | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.imm | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.is_sg_map | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.isfinal | 1 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.processed | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.result | 1 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.skb | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.src_ofst | 0 |
| PARAM_VALUE | 0 | req->__ctx->rxqidx | 0 |
| PARAM_VALUE | 0 | req->__ctx->txqidx | 0 |
| PARAM_VALUE | 0 | req->base.complete | 1403052806642950144 |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 1 | param | 4610607717414084608 |
| PARAM_VALUE | 1 | param->alg_prm.auth_mode | 1-3,7-8 |
| PARAM_VALUE | 1 | param->alg_prm.mk_size | 1,3-4 |
| PARAM_VALUE | 1 | param->alg_prm.result_size | 20,32,64 |
| PARAM_VALUE | 1 | param->bfr_len | 0-255 |
| PARAM_VALUE | 1 | param->kctx_len | 32,64,128 |
| PARAM_VALUE | 1 | param->last | 0-1 |
| PARAM_VALUE | 1 | param->more | 0-1 |
| PARAM_VALUE | 1 | param->opad_needed | 0-1 |
| PARAM_VALUE | 1 | param->sg_len | 0 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |
drivers/crypto/chelsio/chcr_algo.c chcr_ahash_finup() -> create_hash_wr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.dma_addr | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.dma_len | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.imm | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.is_sg_map | 0-1 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.isfinal | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.processed | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.result | 1 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.skb | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.src_ofst | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.srcsg | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->rxqidx | 0 |
| PARAM_VALUE | 0 | req->__ctx->txqidx | 0 |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 0 | req->src | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 184690650586619904 |
| PARAM_VALUE | 1 | param->alg_prm.auth_mode | 1-3,7-8 |
| PARAM_VALUE | 1 | param->alg_prm.mk_size | 1,3-4 |
| PARAM_VALUE | 1 | param->alg_prm.result_size | 20,32,64 |
| PARAM_VALUE | 1 | param->bfr_len | 0-255 |
| PARAM_VALUE | 1 | param->kctx_len | 16,32,64,128 |
| PARAM_VALUE | 1 | param->last | 0-1 |
| PARAM_VALUE | 1 | param->more | 0-1 |
| PARAM_VALUE | 1 | param->opad_needed | 0-1 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| CAPPED_DATA | 0 | req->nbytes | 1 |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->nbytes | 0-4605,4294963202-u32max[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| HOST_DATA | 1 | param->sg_len | 0-4605[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max[c] |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_DATA | 1 | param->sg_len | 0-s32max[c] |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |
drivers/crypto/chelsio/chcr_algo.c chcr_ahash_update() -> create_hash_wr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.dma_addr | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.dma_len | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.imm | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.is_sg_map | 0-1 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.isfinal | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.processed | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.result | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.skb | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.src_ofst | 0 |
| PARAM_VALUE | 0 | req->__ctx->hctx_wr.srcsg | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->rxqidx | 0 |
| PARAM_VALUE | 0 | req->__ctx->txqidx | 0 |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 0 | req->src | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 1233742678767456256 |
| PARAM_VALUE | 1 | param->alg_prm.auth_mode | 1-3,7-8 |
| PARAM_VALUE | 1 | param->alg_prm.mk_size | 1,3-4 |
| PARAM_VALUE | 1 | param->alg_prm.result_size | 20,32,64 |
| PARAM_VALUE | 1 | param->bfr_len | 0-255 |
| PARAM_VALUE | 1 | param->hash_size | 20,32,64 |
| PARAM_VALUE | 1 | param->kctx_len | 32,64 |
| PARAM_VALUE | 1 | param->last | 0 |
| PARAM_VALUE | 1 | param->more | 1 |
| PARAM_VALUE | 1 | param->opad_needed | 0 |
| PARAM_VALUE | 1 | param->scmd1 | 0 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->nbytes | 0-4605,4294963202-u32max[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| HOST_DATA | 1 | param->sg_len | 0-4860,4294967042-u32max |
| USER_DATA | 0 | req->nbytes | 0-u32max |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |