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 234
- drivers/crypto/caam/caamalg.c, line 1539
- drivers/crypto/intel/keembay/keembay-ocs-aes-core.c, line 679
- drivers/crypto/omap-aes-gcm.c, line 212
- drivers/crypto/starfive/jh7110-aes.c, line 852
- drivers/crypto/stm32/stm32-cryp.c, line 1137
- drivers/crypto/tegra/tegra-se-aes.c, line 1431
- drivers/crypto/ti/dthev2-aes.c, line 1187
- drivers/crypto/xilinx/zynqmp-aes-gcm.c
Smatch caller information:
drivers/crypto/intel/keembay/keembay-ocs-aes-core.c kmb_ocs_aead_common() -> crypto_transfer_aead_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->aad_dst_dll.dma_addr | u64max |
| 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.dma_addr | u64max |
| 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->cts_swap | 0 |
| PARAM_VALUE | 1 | req->__ctx->dst_dll.dma_addr | u64max |
| 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 | 0 |
| PARAM_VALUE | 1 | req->__ctx->in_place | 0 |
| PARAM_VALUE | 1 | req->__ctx->instruction | 0-1 |
| PARAM_VALUE | 1 | req->__ctx->mode | 6-7 |
| PARAM_VALUE | 1 | req->__ctx->src_dll.dma_addr | u64max |
| 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 | 0 |
| PARAM_VALUE | 1 | req->iv | 1-u64max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->dst->length | 0-2147483646[c] |
| HOST_DATA | 1 | req->src->length | 0-2147483646[c] |
| USER_DATA | 1 | req->cryptlen | 0-u32max |
| USER_DATA | 1 | req->dst->length | 1-2147483646[c] |
| USER_DATA | 1 | req->dst->offset | 0-2147551739[c] |
| USER_DATA | 1 | req->src->length | 1-2147483646[c] |
| USER_DATA | 1 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 1 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 1 | req->src->length | |
| USER_PTR | 1 | req->iv |
drivers/crypto/xilinx/zynqmp-aes-gcm.c versal_aes_aead_decrypt() -> crypto_transfer_aead_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->op | 0 |
| PARAM_VALUE | 1 | req->cryptlen | 4-u32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->dst->length | 0-2147483646[c] |
| HOST_DATA | 1 | req->src->length | 0-2147483646[c] |
| USER_DATA | 1 | req->cryptlen | 4-u32max |
| USER_DATA | 1 | req->dst->length | 1-u32max[c] |
| USER_DATA | 1 | req->dst->offset | 0-2147551739[c] |
| USER_DATA | 1 | req->src->length | 1-u32max[c] |
| USER_DATA | 1 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 1 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 1 | req->src->length | |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh |
drivers/crypto/xilinx/zynqmp-aes-gcm.c versal_aes_aead_encrypt() -> crypto_transfer_aead_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->op | 1 |
| PARAM_VALUE | 1 | req->cryptlen | 4-u32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->dst->length | 0-2147483646[c] |
| HOST_DATA | 1 | req->src->length | 0-2147483646[c] |
| USER_DATA | 1 | req->cryptlen | 4-u32max |
| USER_DATA | 1 | req->dst->length | 1-u32max[c] |
| USER_DATA | 1 | req->dst->offset | 0-2147551739[c] |
| USER_DATA | 1 | req->src->length | 1-u32max[c] |
| USER_DATA | 1 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 1 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 1 | req->src->length | |
| USER_PTR | 1 | req->iv |
drivers/crypto/xilinx/zynqmp-aes-gcm.c zynqmp_aes_aead_decrypt() -> crypto_transfer_aead_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->op | 0 |
| PARAM_VALUE | 1 | req->assoclen | 0 |
| PARAM_VALUE | 1 | req->cryptlen | 4-u32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->dst->length | 0-2147483646[c] |
| HOST_DATA | 1 | req->src->length | 0-2147483646[c] |
| USER_DATA | 1 | req->cryptlen | 4-u32max |
| USER_DATA | 1 | req->dst->length | 1-u32max[c] |
| USER_DATA | 1 | req->dst->offset | 0-2147551739[c] |
| USER_DATA | 1 | req->src->length | 1-u32max[c] |
| USER_DATA | 1 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 1 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 1 | req->src->length | |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh |
drivers/crypto/xilinx/zynqmp-aes-gcm.c zynqmp_aes_aead_encrypt() -> crypto_transfer_aead_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->op | 1 |
| PARAM_VALUE | 1 | req->assoclen | 0 |
| PARAM_VALUE | 1 | req->cryptlen | 4-u32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->dst->length | 0-2147483646[c] |
| HOST_DATA | 1 | req->src->length | 0-2147483646[c] |
| USER_DATA | 1 | req->cryptlen | 4-u32max |
| USER_DATA | 1 | req->dst->length | 1-u32max[c] |
| USER_DATA | 1 | req->dst->offset | 0-2147551739[c] |
| USER_DATA | 1 | req->src->length | 1-u32max[c] |
| USER_DATA | 1 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 1 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 1 | req->src->length | |
| USER_PTR | 1 | req->iv |
drivers/crypto/caam/caamalg.c aead_enqueue_req() -> crypto_transfer_aead_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->edesc->dst_nents | 0-s32max |
| PARAM_VALUE | 1 | req->__ctx->edesc->mapped_dst_nents | 0-s32max |
| PARAM_VALUE | 1 | req->__ctx->edesc->mapped_src_nents | 0-s32max |
| PARAM_VALUE | 1 | req->__ctx->edesc->src_nents | 0-s32max |
| PARAM_VALUE | 1 | req->base.flags | 1024-u32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $1 |
| BIT_INFO | 1 | req->base.flags | 0x400,0xffffffff |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | req->cryptlen | 0-u32max |
| USER_DATA | 1 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 1 | req->src->length | |
| USER_PTR | 1 | req->iv |
drivers/crypto/starfive/jh7110-aes.c starfive_aes_aead_crypt() -> crypto_transfer_aead_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->dst->length | 0-2147483646[c] |
| USER_DATA | 1 | req->cryptlen | 0-u32max |
| USER_DATA | 1 | req->dst->length | 1-u32max[c] |
| USER_DATA | 1 | req->dst->offset | 0-2147551739[c] |
| USER_DATA | 1 | req->src->length | 1-u32max[c] |
| USER_DATA | 1 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 1 | req->src->length | |
| USER_PTR | 1 | req->iv |
drivers/crypto/tegra/tegra-se-aes.c tegra_aead_crypt() -> crypto_transfer_aead_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->dst->length | 0-2147483646[c] |
| HOST_DATA | 1 | req->src->length | 0-2147483646[c] |
| USER_DATA | 1 | req->cryptlen | 0-u32max |
| USER_DATA | 1 | req->dst->length | 1-2147483646[c] |
| USER_DATA | 1 | req->dst->offset | 0-2147551739[c] |
| USER_DATA | 1 | req->src->length | 1-2147483646[c] |
| USER_DATA | 1 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 1 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 1 | req->src->length | |
| USER_PTR | 1 | req->iv |
drivers/crypto/ti/dthev2-aes.c dthe_aead_crypt() -> crypto_transfer_aead_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->dst->length | 0-2147483646[c] |
| HOST_DATA | 1 | req->src->length | 0-2147483646[c] |
| USER_DATA | 1 | req->cryptlen | 0-u32max |
| USER_DATA | 1 | req->dst->length | 1-2147483646[c] |
| USER_DATA | 1 | req->dst->offset | 0-2147551739[c] |
| USER_DATA | 1 | req->src->length | 1-2147483646[c] |
| USER_DATA | 1 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 1 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 1 | req->src->length | |
| USER_PTR | 1 | req->iv |