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 355
- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c, line 371
- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c, line 339
- drivers/crypto/amlogic/amlogic-gxl-cipher.c, line 268
- drivers/crypto/aspeed/aspeed-hace-crypto.c, line 122
- drivers/crypto/caam/caamalg.c, line 1132
- drivers/crypto/gemini/sl3516-ce-cipher.c, line 264
- drivers/crypto/intel/keembay/keembay-ocs-aes-core.c, line 967
- drivers/crypto/omap-aes.c, line 402
- drivers/crypto/omap-des.c, line 491
- drivers/crypto/rockchip/rk3288_crypto_skcipher.c, line 418
- drivers/crypto/sahara.c, line 1003
- drivers/crypto/starfive/jh7110-aes.c, line 338
- drivers/crypto/stm32/stm32-cryp.c, line 854
- drivers/crypto/tegra/tegra-se-aes.c, line 337
- drivers/crypto/ti/dthev2-aes.c, line 515
- drivers/crypto/virtio/virtio_crypto_skcipher_algs.c, line 560
Smatch caller information:
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c sun8i_ss_handle_cipher_request() -> crypto_finalize_skcipher_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 | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->ivlen | 0-4294967295 |
| PARAM_VALUE | 1 | req->__ctx->keylen | 0-4294967295 |
| PARAM_VALUE | 1 | req->__ctx->method | 0,4,8 |
| PARAM_VALUE | 1 | req->__ctx->niv | 1-s32max |
| PARAM_VALUE | 1 | req->__ctx->op_mode | 0,8192 |
| PARAM_VALUE | 1 | req->__ctx->p_key | 0-4294967295 |
| PARAM_VALUE | 1 | *req->__ctx->p_iv | 0-4294967295 |
| PARAM_VALUE | 2 | err | (-22),(-14),0 |
| DATA_SOURCE | 0 | engine | $0 |
| DATA_SOURCE | 2 | err | r sun8i_ss_cipher |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c virtio_crypto_skcipher_finalize_req() -> crypto_finalize_skcipher_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | err | (-74),(-22),(-5),0 |
| DATA_SOURCE | 1 | req | $1 |
| DATA_SOURCE | 2 | err | $2 |
| FUZZY_MAX | 2 | err | 0 |
| HARD_MAX | 2 | err | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/intel/keembay/keembay-ocs-aes-core.c kmb_ocs_aes_sk_do_one_request() -> crypto_finalize_skcipher_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 | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->dst_nents | (-22),0-s32max |
| PARAM_VALUE | 2 | err | (-512),(-74),(-22),(-19),(-12),(-5),0 |
| DATA_SOURCE | 0 | engine | $0 |
| NOCHECK_CALL |
drivers/crypto/gemini/sl3516-ce-cipher.c sl3516_ce_handle_cipher_request() -> crypto_finalize_skcipher_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->nr_sgd | 1-6 |
| PARAM_VALUE | 1 | req->__ctx->nr_sgs | 1-3 |
| PARAM_VALUE | 1 | req->__ctx->pctrllen | 40 |
| PARAM_VALUE | 1 | req->__ctx->tqflag | 115 |
| PARAM_VALUE | 2 | err | (-22),(-14),0 |
| DATA_SOURCE | 0 | engine | $0 |
| DATA_SOURCE | 2 | err | r sl3516_ce_cipher |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/crypto/caam/caamalg.c skcipher_crypt_done() -> crypto_finalize_skcipher_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/amlogic/amlogic-gxl-cipher.c meson_handle_cipher_request() -> crypto_finalize_skcipher_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 | 4096-ptr_max |
| PARAM_VALUE | 2 | err | (-22),(-12),0 |
| DATA_SOURCE | 0 | engine | $0 |
| DATA_SOURCE | 2 | err | r meson_cipher |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/crypto/aspeed/aspeed-hace-crypto.c aspeed_sk_complete() -> crypto_finalize_skcipher_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | err | (-22),0 |
| DATA_SOURCE | 2 | err | $1 |
| FUZZY_MAX | 2 | err | 0 |
| HARD_MAX | 2 | err | 0 |
| NOCHECK_CALL |
drivers/crypto/starfive/jh7110-aes.c starfive_aes_finish_req() -> crypto_finalize_skcipher_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | err | 0 |
| NOCHECK_CALL |
drivers/crypto/omap-des.c omap_des_finish_req() -> crypto_finalize_skcipher_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | err | 0 |
| DATA_SOURCE | 2 | err | $1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/tegra/tegra-se-aes.c tegra_aes_do_one_req() -> crypto_finalize_skcipher_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->datbuf.buf | 0-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->datbuf.buf->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 1 | req->__ctx->datbuf.buf->page_type | 0-4294967295 |
| PARAM_VALUE | 1 | req->__ctx->datbuf.size | 0-4294967295 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/crypto/ti/dthev2-aes.c dthe_aes_run() -> crypto_finalize_skcipher_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c sun8i_ce_cipher_do_one() -> crypto_finalize_skcipher_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 | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->addr_key | 0-s64max |
| PARAM_VALUE | 1 | req->__ctx->nr_sgd | (-22),0-s32max |
| PARAM_VALUE | 1 | req->__ctx->nr_sgs | (-22),0-s32max |
| PARAM_VALUE | 1 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 1 | *req->__ctx->backup_iv | 0-255 |
| PARAM_VALUE | 1 | *req->__ctx->bounce_iv | 0-255 |
| PARAM_VALUE | 2 | err | (-14),0 |
| DATA_SOURCE | 0 | engine | $0 |
| DATA_SOURCE | 1 | req | r skcipher_request_cast |
| DATA_SOURCE | 2 | err | r sun8i_ce_run_task |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh |