Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 18 files:
- arch/s390/crypto/paes_s390.c
- crypto/crypto_engine.c, line 286
- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c
- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c
- drivers/crypto/amlogic/amlogic-gxl-cipher.c
- drivers/crypto/aspeed/aspeed-hace-crypto.c, line 75
- drivers/crypto/caam/caamalg.c, line 1949
- drivers/crypto/gemini/sl3516-ce-cipher.c
- drivers/crypto/intel/keembay/keembay-ocs-aes-core.c, line 361
- drivers/crypto/omap-aes.c, line 421
- drivers/crypto/omap-des.c, line 512
- drivers/crypto/rockchip/rk3288_crypto_skcipher.c, line 105
- drivers/crypto/sahara.c, line 685
- drivers/crypto/starfive/jh7110-aes.c, line 806
- drivers/crypto/stm32/stm32-cryp.c, line 1123
- drivers/crypto/tegra/tegra-se-aes.c, line 505
- drivers/crypto/ti/dthev2-aes.c, line 551
- drivers/crypto/virtio/virtio_crypto_skcipher_algs.c
Smatch caller information:
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c sun8i_ss_skdecrypt() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->flow | 0-1 |
| PARAM_VALUE | 1 | req->__ctx->op_dir | 64 |
| PARAM_VALUE | 1 | req->cryptlen | 16-u32max |
| BUF_SIZE | 1 | req | (-1),1-s32max |
| BUF_SIZE | 1 | req | (-1),1-s32max |
| CAPPED_DATA | 1 | req->cryptlen | 1 |
| 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 | 16-u32max[c] |
| 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 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c sun8i_ss_skencrypt() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->flow | 0-1 |
| PARAM_VALUE | 1 | req->__ctx->op_dir | 0 |
| PARAM_VALUE | 1 | req->cryptlen | 16-u32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| CAPPED_DATA | 1 | req->cryptlen | 1 |
| 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 | 16-u32max[c] |
| 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 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c virtio_crypto_skcipher_decrypt() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->encrypt | 0 |
| PARAM_VALUE | 1 | req->cryptlen | 16-u32max |
| BUF_SIZE | 1 | req | (-1),1-s32max |
| BUF_SIZE | 1 | req | (-1),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 | 16-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 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c virtio_crypto_skcipher_encrypt() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->encrypt | 1 |
| PARAM_VALUE | 1 | req->cryptlen | 16-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 | 16-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 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/intel/keembay/keembay-ocs-aes-core.c kmb_ocs_sk_common() -> crypto_transfer_skcipher_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 | 0-2,9 |
| 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->cryptlen | 1-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 | 1-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 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/gemini/sl3516-ce-cipher.c sl3516_ce_skdecrypt() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->op_dir | 3 |
| PARAM_VALUE | 1 | req->cryptlen | 16-u32max |
| BUF_SIZE | 1 | req | (-1),1-s32max |
| BUF_SIZE | 1 | req | (-1),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 | 16-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 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/gemini/sl3516-ce-cipher.c sl3516_ce_skencrypt() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->op_dir | 1 |
| PARAM_VALUE | 1 | req->cryptlen | 16-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 | 16-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 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/caam/caamalg.c skcipher_crypt() -> crypto_transfer_skcipher_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 | 1-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 |
| CAPPED_DATA | 1 | req->cryptlen | 1 |
| CAPPED_DATA | 1 | req->src | 1 |
| DATA_SOURCE | 1 | req | $0 |
| BIT_INFO | 1 | req->base.flags | 0x400,0xffffffff |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | req->cryptlen | 0-u32max[c] |
| USER_DATA | 1 | *req->iv | 0-255 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/amlogic/amlogic-gxl-cipher.c meson_skdecrypt() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->flow | 0-1 |
| PARAM_VALUE | 1 | req->__ctx->op_dir | 0 |
| PARAM_VALUE | 1 | req->cryptlen | 1-u32max |
| BUF_SIZE | 1 | req | (-1),1-s32max |
| BUF_SIZE | 1 | req | (-1),1-s32max |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | req->cryptlen | 1-u32max |
| USER_DATA | 1 | *req->iv | 0-255 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/amlogic/amlogic-gxl-cipher.c meson_skencrypt() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->flow | 0-1 |
| PARAM_VALUE | 1 | req->__ctx->op_dir | 1 |
| PARAM_VALUE | 1 | req->cryptlen | 1-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 | |||
| USER_DATA | 1 | req->cryptlen | 1-u32max |
| USER_DATA | 1 | *req->iv | 0-255 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/aspeed/aspeed-hace-crypto.c aspeed_hace_crypto_handle_queue() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->enc_cmd | 0,4,8,16,20,24,64,68,72,128,132,136,144,148,152,192,196,200,65536,65552,65600,65664,65680,65728,196608,196624,196672,196736,196752,196800 |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $1 |
| FUZZY_MAX | 1 | req->__ctx->enc_cmd | 196800 |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->dst->length | 1-2147483646[c] |
| HOST_DATA | 1 | req->src->length | 1-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->src->offset | 0-2147551739[c] |
| USER_DATA | 1 | *req->iv | 0-255 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/starfive/jh7110-aes.c starfive_aes_crypt() -> crypto_transfer_skcipher_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->src->length | 0-2147483646[c] |
| USER_DATA | 1 | req->cryptlen | 0-u32max |
| 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 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/omap-des.c omap_des_handle_queue() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->mode | 0-3 |
| PARAM_VALUE | 1 | req->cryptlen | 1-u32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $1 |
| BIT_INFO | 1 | req->cryptlen | 0x0,0xfffffff8 |
| NOSPEC | 1 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->dst->length | 1-2147483646[c] |
| HOST_DATA | 1 | req->src->length | 1-2147483646[c] |
| USER_DATA | 1 | req->cryptlen | 1-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 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/tegra/tegra-se-aes.c tegra_aes_crypt() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cryptlen | 16-u32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $0 |
| FUZZY_MAX | 1 | req->cryptlen | 16 |
| 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 | 16-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 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/ti/dthev2-aes.c dthe_aes_crypt() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->enc | 0-1 |
| PARAM_VALUE | 1 | req->cryptlen | 1-u32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->cryptlen | |
| HARD_MAX | 1 | req->__ctx->enc | 1 |
| 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 | 1-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 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c sun8i_ce_skdecrypt() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->flow | 0-2 |
| PARAM_VALUE | 1 | req->__ctx->op_dir | 256 |
| PARAM_VALUE | 1 | req->cryptlen | 16-u32max |
| BUF_SIZE | 1 | req | (-1),1-s32max |
| BUF_SIZE | 1 | req | (-1),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 | 16-u32max |
| USER_DATA | 1 | *req->iv | 0-255 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c sun8i_ce_skencrypt() -> crypto_transfer_skcipher_request_to_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->flow | 0-2 |
| PARAM_VALUE | 1 | req->__ctx->op_dir | 0 |
| PARAM_VALUE | 1 | req->cryptlen | 16-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 | 16-u32max |
| USER_DATA | 1 | *req->iv | 0-255 |
| USER_PTR | 1 | req->iv | |
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |