Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- crypto/ahash.c, line 997
- crypto/tcrypt.c, line 947
- crypto/testmgr.c
- drivers/crypto/inside-secure/eip93/eip93-common.c, line 817
- drivers/crypto/inside-secure/safexcel_hash.c, line 1158
- drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c, line 823
- drivers/crypto/marvell/cesa/hash.c, line 1225
- drivers/crypto/qce/sha.c, line 361
- drivers/crypto/starfive/jh7110-hash.c, line 450
- drivers/crypto/talitos.c, line 2291
Smatch caller information:
drivers/crypto/marvell/cesa/hash.c mv_cesa_ahmac_setkey() -> ahash_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 0 | req | 152-s32max |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | r ahash_request_alloc_noprof |
| NOSPEC | 0 | *req->result | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | req->nbytes | 1-s32max[c] |
| USER_DATA | 0 | *req->__ctx->ahash_fbk_req.result | 0-255 |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 0 | req->result | |
| HALF_LOCKED2 | sk |
drivers/crypto/inside-secure/eip93/eip93-common.c eip93_hmac_setkey() -> ahash_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 0 | req | 152-s32max |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | r ahash_request_alloc_noprof |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | req->nbytes | 65-s32max[c] |
| USER_DATA | 0 | *req->__ctx->ahash_fbk_req.result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| HALF_LOCKED2 | sk |
drivers/crypto/starfive/jh7110-hash.c starfive_hash_long_setkey() -> ahash_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 0 | req | 152-s32max |
| DATA_SOURCE | 0 | req | r ahash_request_alloc_noprof |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | req->nbytes | 1-3999872[c] |
| USER_DATA | 0 | *req->__ctx->ahash_fbk_req.result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| HALF_LOCKED2 | sk |
drivers/crypto/qce/sha.c qce_ahash_hmac_setkey() -> ahash_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 0 | req | 152-s32max |
| DATA_SOURCE | 0 | req | r ahash_request_alloc_noprof |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | req->nbytes | 1-3999936[c] |
| USER_DATA | 0 | *req->__ctx->ahash_fbk_req.result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| HALF_LOCKED2 | sk |
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c kmb_ocs_hcu_setkey() -> ahash_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 0 | req | 152-s32max |
| DATA_SOURCE | 0 | req | r ahash_request_alloc_noprof |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | req->nbytes | 1-s32max[c] |
| USER_DATA | 0 | *req->__ctx->ahash_fbk_req.result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| HALF_LOCKED2 | sk |
crypto/testmgr.c __alg_test_hash() -> ahash_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 0 | req | 152-s32max |
| DATA_SOURCE | 0 | req | r ahash_request_alloc_noprof |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c test_hash_vs_generic_impl() -> ahash_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 0,152-s32max |
| BUF_SIZE | 0 | req | 0,152-s32max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &once_lock |
drivers/crypto/inside-secure/safexcel_hash.c __safexcel_hmac_setkey() -> ahash_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 0 | req | 152-s32max |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | r ahash_request_alloc_noprof |
| NOSPEC | 0 | *req->result | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | req->nbytes | 1-s32max[c] |
| USER_DATA | 0 | *req->__ctx->ahash_fbk_req.result | 0-255 |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 0 | req->result | |
| HALF_LOCKED2 | sk |
crypto/tcrypt.c test_ahash_speed_common() -> ahash_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 0 | req | 152-s32max |
| DATA_SOURCE | 0 | req | r ahash_request_alloc_noprof |
| NOCHECK_CALL |