Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 16 files:

Smatch caller information:

drivers/crypto/marvell/cesa/hash.c mv_cesa_ahash_import() -> crypto_ahash_init()

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 (-1)-s32max
BUF_SIZE 0 req (-1)-s32max
BUF_SIZE 0 req->src (-1),64
DATA_SOURCE 0 req $0
NOSPEC 0 req->nbytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->nbytes 0-4350,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
USER_PTR 0 req->result
USER_PTR 0 req->svirt

drivers/crypto/marvell/cesa/hash.c mv_cesa_ahmac_iv_state_init() -> crypto_ahash_init()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->base.complete 1624078799481573376
PARAM_VALUE 0 req->base.data 7291799900294369280
PARAM_VALUE 0 req->base.flags 0,1024-3072
PARAM_VALUE 0 req->base.tfm 4096-ptr_max
PARAM_VALUE 0 req->nbytes 0-s32max
PARAM_VALUE 0 req->result 16,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 0 req->src 3349057081241972736
PARAM_VALUE 0 req->svirt 3349057081241972736
BUF_SIZE 0 req 152-s32max
BUF_SIZE 0 req 152-s32max
CAPPED_DATA 0 req 1
DATA_SOURCE 0 req $0
RX_PATH
TASK_NOT_RUNNING
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/eip93/eip93-common.c eip93_hmac_setkey() -> crypto_ahash_init()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->base.flags 0,2-u32max
PARAM_VALUE 0 req->base.tfm 4096-ptr_max
PARAM_VALUE 0 req->nbytes 64
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 0 req->src 4096-ptr_max
PARAM_VALUE 0 req->svirt 4096-ptr_max
BUF_SIZE 0 req 152-s32max
BUF_SIZE 0 req 152-s32max
DATA_SOURCE 0 req r ahash_request_alloc_noprof
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *req->__ctx->ahash_fbk_req.result 0-255
USER_DATA 0 *req->svirt 0-255
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/inside-secure/eip93/eip93-common.c eip93_hmac_setkey() -> crypto_ahash_init()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->base.flags 0,2-u32max
PARAM_VALUE 0 req->nbytes 64
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 0 req->src 4096-ptr_max
PARAM_VALUE 0 req->svirt 4096-ptr_max
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
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *req->__ctx->ahash_fbk_req.result 0-255
USER_DATA 0 *req->svirt 0-255
HALF_LOCKED2 sk

drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c sun8i_ce_hash_init() -> crypto_ahash_init()

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
MEM_ZERO 0 req
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/starfive/jh7110-hash.c starfive_hash_init() -> crypto_ahash_init()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->base.flags 0,2-3072
PARAM_VALUE 0 req->base.tfm 4096-ptr_max
NOSPEC 0 req->nbytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->nbytes 0-4095,4294963202-u32max[c]
USER_DATA 0 req->nbytes 0-u32max
USER_PTR 0 req->result

drivers/crypto/sa2ul.c sa_sha_init() -> crypto_ahash_init()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->base.flags 0,2-2560
PARAM_VALUE 0 req->base.tfm 4096-ptr_max
PARAM_VALUE 0 req->nbytes 0
PARAM_VALUE 0 req->result 0
PARAM_VALUE 0 req->src 0
PARAM_VALUE 0 req->svirt 0
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/inside-secure/safexcel_hash.c safexcel_ahash_import() -> crypto_ahash_init()

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 (-1)-s32max
BUF_SIZE 0 req (-1)-s32max
BUF_SIZE 0 req->src (-1),64
DATA_SOURCE 0 req $0
NOSPEC 0 req->nbytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->nbytes 0-4350,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
USER_PTR 0 req->result
USER_PTR 0 req->svirt

drivers/crypto/inside-secure/safexcel_hash.c safexcel_hmac_init_iv() -> crypto_ahash_init()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->base.complete 1624078799481573376
PARAM_VALUE 0 req->base.data 3744592209854369792
PARAM_VALUE 0 req->base.flags 0,2-u32max
PARAM_VALUE 0 req->base.tfm 4096-ptr_max
PARAM_VALUE 0 req->nbytes 0-s32max
PARAM_VALUE 0 req->result 16,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 0 req->src 8589841614948564992
PARAM_VALUE 0 req->svirt 8589841614948564992
BUF_SIZE 0 req 152-s32max
BUF_SIZE 0 req 152-s32max
CAPPED_DATA 0 req 1
DATA_SOURCE 0 req $0
RX_PATH
TASK_NOT_RUNNING
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_fbcheck() -> crypto_ahash_init()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->base.flags 0,2-u32max
PARAM_VALUE 0 req->base.tfm 4096-ptr_max
DATA_SOURCE 0 req r ahash_request_ctx_dma
NOSPEC 0 req->nbytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->nbytes 0-4350,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_PTR 0 req->result

drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c sun8i_ss_hash_init() -> crypto_ahash_init()

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
MEM_ZERO 0 req
RX_PATH
TASK_NOT_RUNNING

crypto/tcrypt.c test_ahash_cycles() -> crypto_ahash_init()

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
PARAM_VALUE 0 req->src->dma_flags 0
PARAM_VALUE 0 req->src->dma_length 0
PARAM_VALUE 0 req->src->length 0
PARAM_VALUE 0 req->src->offset 0
BUF_SIZE 0 req 152-s32max
BUF_SIZE 0 req 152-s32max
CAPPED_DATA 0 req 1
DATA_SOURCE 0 req $0

crypto/tcrypt.c test_ahash_cycles() -> crypto_ahash_init()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->base.data->completion.done 0
PARAM_VALUE 0 req->base.data->completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 req->base.data->completion.wait.lock.owner (-1)
PARAM_VALUE 0 req->base.data->completion.wait.lock.owner_cpu 4294967295
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 0 req->src->dma_flags 0
PARAM_VALUE 0 req->src->dma_length 0
PARAM_VALUE 0 req->src->length 0
PARAM_VALUE 0 req->src->offset 0
BUF_SIZE 0 req 152-s32max
BUF_SIZE 0 req 152-s32max
CAPPED_DATA 0 req 1
DATA_SOURCE 0 req $0

crypto/tcrypt.c test_ahash_jiffies() -> crypto_ahash_init()

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
PARAM_VALUE 0 req->src->dma_flags 0
PARAM_VALUE 0 req->src->dma_length 0
PARAM_VALUE 0 req->src->length 0
PARAM_VALUE 0 req->src->offset 0
BUF_SIZE 0 req 152-s32max
BUF_SIZE 0 req 152-s32max
CAPPED_DATA 0 req 1
DATA_SOURCE 0 req $0

drivers/crypto/img-hash.c img_hash_init() -> crypto_ahash_init()

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
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/tegra/tegra-se-hash.c tegra_sha_fallback_init() -> crypto_ahash_init()

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

crypto/ccm.c crypto_ccm_auth() -> crypto_ahash_init()

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,2-u32max
PARAM_VALUE 0 req->base.tfm 4096-ptr_max
PARAM_VALUE 0 req->result 0
PARAM_VALUE 0 req->src 4627370477295329280
PARAM_VALUE 0 req->svirt 4627370477295329280
BUF_SIZE 0 req 152
RX_PATH
TASK_NOT_RUNNING

crypto/algif_hash.c hash_recvmsg() -> crypto_ahash_init()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->base.flags 0,2-u32max
PARAM_VALUE 0 req->nbytes 0
PARAM_VALUE 0 req->result 16,4096-ptr_max
PARAM_VALUE 0 req->src 0
PARAM_VALUE 0 req->svirt 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

crypto/algif_hash.c hash_sendmsg() -> crypto_ahash_init()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->base.flags 0,2-u32max
PARAM_VALUE 0 req->nbytes 0-s32max
PARAM_VALUE 0 req->result 0,16,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 req->nbytes 0-s32max[c]
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

crypto/hmac.c hmac_setkey_ahash() -> crypto_ahash_init()

Type Parameter Key Value
PARAM_VALUE 0 req 6384833276913700864
PARAM_VALUE 0 req->base.tfm 4096-ptr_max
PARAM_VALUE 0 req->result 0
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 0 req->src 4096-ptr_max
PARAM_VALUE 0 req->svirt 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
HALF_LOCKED2 sk

crypto/hmac.c hmac_setkey_ahash() -> crypto_ahash_init()

Type Parameter Key Value
PARAM_VALUE 0 req 6384833276913700864
PARAM_VALUE 0 req->base.tfm 4096-ptr_max
PARAM_VALUE 0 req->result 0
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 0 req->src 4096-ptr_max
PARAM_VALUE 0 req->svirt 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
HALF_LOCKED2 sk

crypto/testmgr.c do_ahash_op() -> do_ahash_op param 0()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
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
BUF_SIZE 0 req 152-s32max
BUF_SIZE 0 req 152-s32max
DATA_SOURCE 0 req $1
MEM_ZERO 0 req->__ctx
HALF_LOCKED2 global &once_lock