Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- crypto/ahash.c
- crypto/algif_hash.c, line 285
- crypto/hmac.c
- crypto/testmgr.c, line 1593
- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c, line 127
- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c, line 185
- drivers/crypto/img-hash.c, line 609
- drivers/crypto/inside-secure/safexcel_hash.c, line 2398
- drivers/crypto/rockchip/rk3288_crypto_ahash.c, line 190
- drivers/crypto/sa2ul.c, line 1583
- drivers/crypto/starfive/jh7110-hash.c, line 371
- drivers/crypto/tegra/tegra-se-hash.c, line 201
Smatch caller information:
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c sun8i_ce_hash_import() -> crypto_ahash_import()
| 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 | in | (-1)-s32max |
| BUF_SIZE | 1 | in | (-1)-s32max |
| DATA_SOURCE | 1 | in | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/starfive/jh7110-hash.c starfive_hash_import() -> crypto_ahash_import()
| 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 | in | (-1)-s32max |
| BUF_SIZE | 1 | in | (-1)-s32max |
| DATA_SOURCE | 1 | in | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/sa2ul.c sa_sha_import() -> crypto_ahash_import()
| 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 | in | (-1)-s32max |
| BUF_SIZE | 1 | in | (-1)-s32max |
| DATA_SOURCE | 1 | in | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/testmgr.c test_ahash_vec_cfg() -> crypto_ahash_import()
| 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.flags | 0,1024-u32max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->src | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->svirt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | in | 16,4096-ptr_max |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 0 | req | 152-s32max |
| BUF_SIZE | 1 | in | 0-s32max |
| DATA_SOURCE | 0 | req | $3 |
| DATA_SOURCE | 1 | in | $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_sha3_import() -> crypto_ahash_import()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | in | (-1)-s32max |
| BUF_SIZE | 1 | in | (-1)-s32max |
| DATA_SOURCE | 0 | req | r ahash_request_ctx_dma |
| DATA_SOURCE | 1 | in | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c sun8i_ss_hash_import() -> crypto_ahash_import()
| 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 | in | (-1)-s32max |
| BUF_SIZE | 1 | in | (-1)-s32max |
| DATA_SOURCE | 1 | in | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/img-hash.c img_hash_import() -> crypto_ahash_import()
| 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 | in | (-1)-s32max |
| BUF_SIZE | 1 | in | (-1)-s32max |
| DATA_SOURCE | 1 | in | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ahash.c ahash_do_req_chain() -> crypto_ahash_import()
| 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 | in | 1962788381633003520 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| BUF_SIZE | 1 | in | 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_import()
| 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 | in | 1962788381633003520 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| BUF_SIZE | 1 | in | 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_import() -> crypto_ahash_import()
| 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 | in | (-1)-s32max |
| BUF_SIZE | 1 | in | (-1)-s32max |
| DATA_SOURCE | 1 | in | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/algif_hash.c hash_accept() -> crypto_ahash_import()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | in | 16,4096-ptr_max |
| BUF_SIZE | 1 | in | 0-u32max |
| DATA_SOURCE | 1 | in | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/hmac.c hmac_finup_finish() -> crypto_ahash_import()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | in | 4096-ptr_max |
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 0 | req | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 0 | req->result |
crypto/hmac.c hmac_import_ahash() -> crypto_ahash_import()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 1 | in | (-1)-s32max |
| BUF_SIZE | 1 | in | (-1)-s32max |
| DATA_SOURCE | 1 | in | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |