Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- crypto/ahash.c
- crypto/algif_hash.c, line 267
- crypto/hmac.c
- crypto/testmgr.c, line 1579
- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c, line 113
- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c, line 171
- drivers/crypto/img-hash.c, line 623
- drivers/crypto/inside-secure/safexcel_hash.c
- drivers/crypto/marvell/cesa/hash.c, line 1126
- drivers/crypto/rockchip/rk3288_crypto_ahash.c, line 204
- drivers/crypto/sa2ul.c, line 1593
- drivers/crypto/starfive/jh7110-hash.c, line 357
- drivers/crypto/tegra/tegra-se-hash.c, line 215
Smatch caller information:
drivers/crypto/marvell/cesa/hash.c mv_cesa_ahmac_iv_state_init() -> crypto_ahash_export()
| 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 |
| PARAM_VALUE | 1 | out | 871117415117459456,3253529008471691264,4465860155448971264,7017139906948968448,7483369589525975040,8895491161378828288 |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 1 | out | 88,96,104 |
| BUF_SIZE | 1 | out | 88,96,104 |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | out | $2 |
| NOSPEC | 0 | *req->result | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
| NO_OVERFLOW_SIMPLE | 0 | req->nbytes | |
| USER_PTR | 0 | req->result | |
| HALF_LOCKED2 | sk |
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c sun8i_ce_hash_export() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0-513,2048-2561 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | out |
drivers/crypto/starfive/jh7110-hash.c starfive_hash_export() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0-1025,2048-3073 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | out |
drivers/crypto/sa2ul.c sa_sha_export() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 0 |
| PARAM_VALUE | 0 | req->base.data | 0 |
| PARAM_VALUE | 0 | req->base.flags | 0-513,2048-2561 |
| BUF_SIZE | 0 | req | 152 |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | out |
crypto/testmgr.c test_ahash_vec_cfg() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->ahash_fbk_req.base.flags | 0-1025,2048-3073 |
| PARAM_VALUE | 0 | req->__ctx->fallback_req.base.flags | 0-513,2048-2561 |
| PARAM_VALUE | 0 | req->base.complete | 1624078799481573376 |
| PARAM_VALUE | 0 | req->base.data | 8690866533503418368 |
| PARAM_VALUE | 0 | req->base.flags | 0,1024-u32max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->result | 4546395477927776256 |
| PARAM_VALUE | 0 | req->src | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->svirt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 1 | out | 0-s32max |
| DATA_SOURCE | 0 | req | $3 |
| DATA_SOURCE | 1 | out | $5 |
| FUZZY_MAX | 0 | req->__ctx->ahash_fbk_req.base.flags | 0 |
| FUZZY_MAX | 0 | req->__ctx->fallback_req.base.flags | 0 |
| MEM_ZERO | 0 | req->__ctx | |
| HALF_LOCKED2 | global &once_lock |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_hmac_init_iv() -> crypto_ahash_export()
| 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 |
| PARAM_VALUE | 1 | out | 5508883114137407488,7896415468869369856 |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 1 | out | 216 |
| BUF_SIZE | 1 | out | 216 |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | out | $3 |
| NOSPEC | 0 | *req->result | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
| NO_OVERFLOW_SIMPLE | 0 | req->nbytes | |
| USER_PTR | 0 | req->result | |
| HALF_LOCKED2 | sk |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_sha3_export() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 0 | req | r ahash_request_ctx_dma |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | out |
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c sun8i_ss_hash_export() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0-513,2048-2561 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | out |
drivers/crypto/img-hash.c img_hash_export() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0-513,2048-2561 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | out |
crypto/ahash.c ahash_do_req_chain() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 1-u32max |
| 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 |
| PARAM_VALUE | 1 | out | 1962788381633003520 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| BUF_SIZE | 1 | out | 345 |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->nbytes | 0-4605,4294963202-u32max[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| UNITS | 0 | req | unit_byte |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |
crypto/ahash.c ahash_do_req_chain() -> crypto_ahash_export()
| 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 |
| PARAM_VALUE | 1 | out | 1962788381633003520 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| BUF_SIZE | 1 | out | 345 |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->nbytes | |
| NOSPEC | 0 | *req->result | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->nbytes | 0-4605,4294963202-u32max[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[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 |
| UNITS | 0 | req | unit_byte |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |
drivers/crypto/tegra/tegra-se-hash.c tegra_sha_fallback_export() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0-513,2048-2561 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | out |
crypto/algif_hash.c hash_accept() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | req | 152 |
| BUF_SIZE | 1 | out | 0-u32max |
| DATA_SOURCE | 1 | out | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | sk |
crypto/hmac.c hmac_export_ahash() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | out |
crypto/hmac.c hmac_setkey_ahash() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 6384833276913700864 |
| 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 |
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| BUF_SIZE | 0 | req | 673 |
| BUF_SIZE | 0 | req | 673 |
| DATA_SOURCE | 0 | req | r ahash_request_on_stack_init |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *req->__ctx->ahash_fbk_req.result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 1 | out | |
| HALF_LOCKED2 | sk |
crypto/hmac.c hmac_setkey_ahash() -> crypto_ahash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 6384833276913700864 |
| 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 |
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| BUF_SIZE | 0 | req | 673 |
| BUF_SIZE | 0 | req | 673 |
| DATA_SOURCE | 0 | req | r ahash_request_on_stack_init |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *req->__ctx->ahash_fbk_req.result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 1 | out | |
| HALF_LOCKED2 | sk |