Defined in 1 files as a function:
Referenced in 22 files:
- arch/s390/crypto/phmac_s390.c, line 868
- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c, line 459
- drivers/crypto/aspeed/aspeed-hace-hash.c
- drivers/crypto/atmel-sha.c, line 1079
- drivers/crypto/bcm/cipher.c
- drivers/crypto/caam/caamalg_qi2.c
- drivers/crypto/caam/caamhash.c, line 763
- drivers/crypto/ccp/ccp-crypto-aes-cmac.c, line 26
- drivers/crypto/ccp/ccp-crypto-sha.c, line 29
- drivers/crypto/chelsio/chcr_algo.c, line 2132
- drivers/crypto/img-hash.c, line 531
- drivers/crypto/inside-secure/eip93/eip93-hash.c
- drivers/crypto/inside-secure/safexcel_hash.c
- drivers/crypto/marvell/cesa/hash.c
- drivers/crypto/mxs-dcp.c, line 673
- drivers/crypto/qce/common.c, line 146
- drivers/crypto/qce/sha.c
- drivers/crypto/s5p-sss.c, line 1380
- drivers/crypto/sahara.c, line 992
- drivers/crypto/tegra/tegra-se-aes.c, line 1702
- drivers/crypto/tegra/tegra-se-hash.c, line 518
- include/crypto/internal/hash.h, line 271
Smatch caller information:
drivers/crypto/aspeed/aspeed-hace-hash.c aspeed_ahash_do_request() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $1 |
drivers/crypto/aspeed/aspeed-hace-hash.c aspeed_ahash_prepare_request() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $1 |
drivers/crypto/marvell/cesa/hash.c mv_cesa_ahash_complete() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/crypto/marvell/cesa/hash.c mv_cesa_ahash_prepare() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/marvell/cesa/hash.c mv_cesa_ahash_process() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/crypto/marvell/cesa/hash.c mv_cesa_ahash_req_cleanup() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/crypto/marvell/cesa/hash.c mv_cesa_ahash_step() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c sun8i_ce_hash_run() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $1 |
drivers/crypto/qce/sha.c qce_ahash_async_req_handle() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/crypto/qce/sha.c qce_ahash_done() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | req | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | req | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | req | unit_byte |
| HALF_LOCKED2 | &bdma_chan->lock | ||
| HALF_LOCKED2 | &ioat_chan->cleanup_lock | ||
| HALF_LOCKED2 | &mv_chan->lock | ||
| HALF_LOCKED2 | &pd_chan->lock | ||
| HALF_LOCKED2 | &plxdev->ring_lock | ||
| HALF_LOCKED2 | &swdma_chan->complete_lock | ||
| HALF_LOCKED2 | &td_chan->lock | ||
| HALF_LOCKED2 | bh |
drivers/crypto/qce/common.c qce_setup_regs_ahash() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/ccp/ccp-crypto-aes-cmac.c ccp_aes_cmac_complete() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| TASK_NOT_RUNNING |
drivers/crypto/inside-secure/eip93/eip93-hash.c eip93_hash_handle_result() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | req | $0 |
| LOCK2 | _T->lock |
drivers/crypto/inside-secure/eip93/eip93-hash.c eip93_send_hash_req() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | 48 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_ahash_send() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_ahash_send_inv() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_ahash_send_req() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_handle_inv_result() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_handle_req_result() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_handle_result() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/crypto/ccp/ccp-crypto-sha.c ccp_sha_complete() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c ahash_done() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | req | 48,112 |
| BUF_SIZE | 0 | req | 48,112 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/crypto/caam/caamalg_qi2.c ahash_done_bi() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | req | 48,112 |
| BUF_SIZE | 0 | req | 48,112 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/crypto/caam/caamalg_qi2.c ahash_done_ctx_dst() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | req | 48,112 |
| BUF_SIZE | 0 | req | 48,112 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/crypto/caam/caamalg_qi2.c ahash_done_ctx_src() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | req | 48,112 |
| BUF_SIZE | 0 | req | 48,112 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/crypto/caam/caamalg_qi2.c to_caam_req() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | 48,112 |
| BUF_SIZE | 0 | req | 48,112 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/crypto/s5p-sss.c s5p_hash_handle_queue() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | r crypto_dequeue_request |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/atmel-sha.c atmel_sha_handle_queue() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | r crypto_dequeue_request |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/img-hash.c img_hash_handle_queue() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | r crypto_dequeue_request |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamhash.c ahash_do_one_req() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $1 |
drivers/crypto/tegra/tegra-se-hash.c tegra_sha_do_one_req() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $1 |
drivers/crypto/tegra/tegra-se-aes.c tegra_cmac_do_one_req() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $1 |
drivers/crypto/chelsio/chcr_algo.c chcr_handle_resp() -> ahash_request_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |