Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/ccp/ccp-dev-v3.c ccp_perform_aes() -> ccp_do_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 4096-ptr_max |
| PARAM_VALUE | 0 | op->cmd_q | 4096-ptr_max |
| PARAM_VALUE | 0 | op->init | 0-1 |
| PARAM_VALUE | 0 | op->jobid | 0-63 |
| PARAM_VALUE | 0 | op->soc | 0-1 |
| PARAM_VALUE | 0 | op->src.u.dma.offset | 0 |
| PARAM_VALUE | 0 | op->u.aes.mode | 0-7,9-u32max |
| PARAM_VALUE | 1 | cr | 4096-ptr_max |
| PARAM_VALUE | 2 | cr_count | 6 |
| BUF_SIZE | 1 | cr | 24 |
| DATA_SOURCE | 0 | op | $0 |
| HARD_MAX | 0 | op->init | 1 |
| MEM_ZERO | 0 | op | |
| UNITS | 2 | cr_count | unit_array_size |
drivers/crypto/ccp/ccp-dev-v3.c ccp_perform_ecc() -> ccp_do_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 3618391265908269056,8848267776662360064 |
| PARAM_VALUE | 0 | op->cmd_q | 4096-ptr_max |
| PARAM_VALUE | 0 | op->dst.u.dma.length | 192 |
| PARAM_VALUE | 0 | op->dst.u.dma.offset | 0 |
| PARAM_VALUE | 0 | op->jobid | 0-63 |
| PARAM_VALUE | 0 | op->soc | 1 |
| PARAM_VALUE | 0 | op->src.u.dma.length | 448 |
| PARAM_VALUE | 0 | op->src.u.dma.offset | 0 |
| PARAM_VALUE | 1 | cr | 4096-ptr_max |
| PARAM_VALUE | 2 | cr_count | 6 |
| BUF_SIZE | 1 | cr | 24 |
| DATA_SOURCE | 0 | op | $0 |
| MEM_ZERO | 0 | op | |
| UNITS | 2 | cr_count | unit_array_size |
drivers/crypto/ccp/ccp-dev-v3.c ccp_perform_passthru() -> ccp_do_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 3005385194911879168,6044697856863490048,7928895459082780672 |
| PARAM_VALUE | 0 | op->cmd_q | 4096-ptr_max |
| PARAM_VALUE | 0 | op->dst.type | 0-1 |
| PARAM_VALUE | 0 | op->eom | 0-1 |
| PARAM_VALUE | 0 | op->jobid | 0-63 |
| PARAM_VALUE | 0 | op->soc | 0-1 |
| PARAM_VALUE | 0 | op->src.type | 0-1 |
| PARAM_VALUE | 0 | op->u.passthru.bit_mod | 0 |
| PARAM_VALUE | 1 | cr | 4096-ptr_max |
| PARAM_VALUE | 2 | cr_count | 6 |
| BUF_SIZE | 1 | cr | 24 |
| DATA_SOURCE | 0 | op | $0 |
| MEM_ZERO | 0 | op | |
| UNITS | 2 | cr_count | unit_array_size |
drivers/crypto/ccp/ccp-dev-v3.c ccp_perform_rsa() -> ccp_do_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 8300509213445865472 |
| PARAM_VALUE | 0 | op->cmd_q | 4096-ptr_max |
| PARAM_VALUE | 0 | op->dst.u.dma.length | 0-2048 |
| PARAM_VALUE | 0 | op->dst.u.dma.offset | 0 |
| PARAM_VALUE | 0 | op->exp.u.dma.offset | 0 |
| PARAM_VALUE | 0 | op->jobid | 0-63 |
| PARAM_VALUE | 0 | op->soc | 1 |
| PARAM_VALUE | 0 | op->src.u.dma.length | 0-4096 |
| PARAM_VALUE | 0 | op->src.u.dma.offset | 0 |
| PARAM_VALUE | 0 | op->u.rsa.input_len | 0-4096 |
| PARAM_VALUE | 0 | op->u.rsa.mod_size | 0-16384 |
| PARAM_VALUE | 1 | cr | 4096-ptr_max |
| PARAM_VALUE | 2 | cr_count | 6 |
| BUF_SIZE | 1 | cr | 24 |
| DATA_SOURCE | 0 | op | $0 |
| MEM_ZERO | 0 | op | |
| UNITS | 2 | cr_count | unit_array_size |
drivers/crypto/ccp/ccp-dev-v3.c ccp_perform_sha() -> ccp_do_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 1434390892594356224 |
| PARAM_VALUE | 0 | op->cmd_q | 4096-ptr_max |
| PARAM_VALUE | 0 | op->eom | 0-1 |
| PARAM_VALUE | 0 | op->init | 0 |
| PARAM_VALUE | 0 | op->jobid | 0-63 |
| PARAM_VALUE | 0 | op->soc | 0-1 |
| PARAM_VALUE | 0 | op->u.sha.type | 1-5 |
| PARAM_VALUE | 1 | cr | 4096-ptr_max |
| PARAM_VALUE | 2 | cr_count | 6 |
| BUF_SIZE | 1 | cr | 24 |
| DATA_SOURCE | 0 | op | $0 |
| MEM_ZERO | 0 | op | |
| UNITS | 2 | cr_count | unit_array_size |
drivers/crypto/ccp/ccp-dev-v3.c ccp_perform_xts_aes() -> ccp_do_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 7495045159692017664 |
| PARAM_VALUE | 0 | op->cmd_q | 4096-ptr_max |
| PARAM_VALUE | 0 | op->eom | 0-1 |
| PARAM_VALUE | 0 | op->init | 0 |
| PARAM_VALUE | 0 | op->jobid | 0-63 |
| PARAM_VALUE | 0 | op->soc | 0-1 |
| PARAM_VALUE | 0 | op->src.u.dma.offset | 0 |
| PARAM_VALUE | 0 | op->u.xts.type | 0,2 |
| PARAM_VALUE | 0 | op->u.xts.unit_size | 0-4 |
| PARAM_VALUE | 1 | cr | 4096-ptr_max |
| PARAM_VALUE | 2 | cr_count | 6 |
| BUF_SIZE | 1 | cr | 24 |
| DATA_SOURCE | 0 | op | $0 |
| MEM_ZERO | 0 | op | |
| UNITS | 2 | cr_count | unit_array_size |