Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- crypto/crypto_engine.c, line 300
- drivers/crypto/caam/caamalg.c, line 1075
- drivers/crypto/intel/keembay/keembay-ocs-aes-core.c, line 991
- drivers/crypto/omap-aes-gcm.c, line 39
- drivers/crypto/starfive/jh7110-aes.c, line 336
- drivers/crypto/stm32/stm32-cryp.c, line 852
- drivers/crypto/tegra/tegra-se-aes.c
- drivers/crypto/ti/dthev2-aes.c, line 1123
- drivers/crypto/xilinx/zynqmp-aes-gcm.c, line 436
Smatch caller information:
drivers/crypto/intel/keembay/keembay-ocs-aes-core.c kmb_ocs_aes_aead_do_one_request() -> crypto_finalize_aead_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->aad_dst_dll->vaddr | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | req->__ctx->aad_dst_dll.dma_addr | (-1) |
| PARAM_VALUE | 1 | req->__ctx->aad_dst_dll.size | 0 |
| PARAM_VALUE | 1 | req->__ctx->aad_dst_dll.vaddr | 0 |
| PARAM_VALUE | 1 | req->__ctx->aad_src_dll->vaddr | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | req->__ctx->aad_src_dll.dma_addr | (-1) |
| PARAM_VALUE | 1 | req->__ctx->aad_src_dll.size | 0 |
| PARAM_VALUE | 1 | req->__ctx->aad_src_dll.vaddr | 0 |
| PARAM_VALUE | 1 | req->__ctx->dst_dll->vaddr | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | req->__ctx->dst_dll.dma_addr | (-1) |
| PARAM_VALUE | 1 | req->__ctx->dst_dll.size | 0 |
| PARAM_VALUE | 1 | req->__ctx->dst_dll.vaddr | 0 |
| PARAM_VALUE | 1 | req->__ctx->dst_dma_count | 0 |
| PARAM_VALUE | 1 | req->__ctx->dst_nents | (-22),0-s32max |
| PARAM_VALUE | 1 | req->__ctx->in_place | 0-1 |
| PARAM_VALUE | 1 | req->__ctx->instruction | 0-4294967295 |
| PARAM_VALUE | 1 | req->__ctx->src_dll->vaddr | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | req->__ctx->src_dll.dma_addr | (-1) |
| PARAM_VALUE | 1 | req->__ctx->src_dll.size | 0 |
| PARAM_VALUE | 1 | req->__ctx->src_dll.vaddr | 0 |
| PARAM_VALUE | 1 | req->__ctx->src_dma_count | 0 |
| PARAM_VALUE | 1 | req->__ctx->src_nents | (-22),0-s32max |
| PARAM_VALUE | 1 | *req->__ctx->out_tag | 0-255 |
| PARAM_VALUE | 2 | err | (-512),(-75)-(-74),(-22),(-12),(-5),0 |
| NOCHECK_CALL |
drivers/crypto/xilinx/zynqmp-aes-gcm.c xilinx_handle_aes_req() -> crypto_finalize_aead_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | engine | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->busy | 1 |
| PARAM_VALUE | 0 | engine->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | engine->running | 1 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | err | (-74),(-22),(-19),(-12) |
| DATA_SOURCE | 0 | engine | $0 |
| BIT_INFO | 2 | err | 0xffffffa0,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/crypto/caam/caamalg.c aead_crypt_done() -> crypto_finalize_aead_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | err | (-74),(-22),0 |
| BUF_SIZE | 1 | req | 1-s32max |
| BUF_SIZE | 1 | req | 1-s32max |
| DATA_SOURCE | 1 | req | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/starfive/jh7110-aes.c starfive_aes_finish_req() -> crypto_finalize_aead_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | err | (-110),(-74),0 |
| NOCHECK_CALL |
drivers/crypto/tegra/tegra-se-aes.c tegra_ccm_do_one_req() -> crypto_finalize_aead_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->inbuf.buf->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 1 | req->__ctx->inbuf.buf->page_type | 0-4294967295 |
| PARAM_VALUE | 1 | req->__ctx->iv | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->outbuf.buf | 0-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->outbuf.buf->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 1 | req->__ctx->outbuf.buf->page_type | 0-4294967295 |
| PARAM_VALUE | 1 | req->__ctx->outbuf.size | 0-4294967295 |
| PARAM_VALUE | 1 | *req->__ctx->iv | 0-255 |
| PARAM_VALUE | 2 | err | s32min-(-1),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/crypto/tegra/tegra-se-aes.c tegra_gcm_do_one_req() -> crypto_finalize_aead_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->inbuf.buf | 0-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->inbuf.buf->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 1 | req->__ctx->inbuf.buf->page_type | 0-4294967295 |
| PARAM_VALUE | 1 | req->__ctx->inbuf.size | 0-4294967295 |
| PARAM_VALUE | 1 | req->__ctx->iv | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->outbuf.buf | 0-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->outbuf.buf->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 1 | req->__ctx->outbuf.buf->page_type | 0-4294967295 |
| PARAM_VALUE | 1 | req->__ctx->outbuf.size | 0-4294967295 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/crypto/ti/dthev2-aes.c dthe_aead_run() -> crypto_finalize_aead_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | engine | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->busy | 1 |
| PARAM_VALUE | 0 | engine->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | engine->running | 1 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->aes_compl.done | 0-4294967293,u32max |
| PARAM_VALUE | 1 | req->__ctx->aes_compl.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | req->__ctx->aes_compl.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | req->__ctx->aes_compl.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | req->__ctx->aes_compl.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->aes_compl.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->aes_compl.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->aes_compl.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->aes_compl.wait.task_list.prev->prev | 4096-ptr_max |
| DATA_SOURCE | 0 | engine | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh |