Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 17 files:

Smatch caller information:

drivers/crypto/aspeed/aspeed-hace-hash.c aspeed_ahash_fallback() -> crypto_ahash_update()

Type Parameter Key Value
PARAM_VALUE 0 req 533818396097798144
PARAM_VALUE 0 req->base.flags 0,2-u32max
PARAM_VALUE 0 req->base.tfm 4096-ptr_max
BUF_SIZE 0 req 673
BUF_SIZE 0 req 673
DATA_SOURCE 0 req r ahash_fbreq_on_stack_init

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

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/allwinner/sun8i-ce/sun8i-ce-hash.c sun8i_ce_hash_update() -> crypto_ahash_update()

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->result 0
NOSPEC 0 req->nbytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->nbytes 0-4605,4294963202-u32max[c]
USER_DATA 0 req->nbytes 0-u32max

drivers/crypto/starfive/jh7110-hash.c starfive_hash_update() -> crypto_ahash_update()

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-4605,4294963202-u32max[c]
USER_DATA 0 req->nbytes 0-u32max
USER_PTR 0 req->result

drivers/crypto/sa2ul.c sa_sha_update() -> crypto_ahash_update()

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-2560
PARAM_VALUE 0 req->result 0
NOSPEC 0 req->nbytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->nbytes 0-4605,4294963202-u32max[c]
USER_DATA 0 req->nbytes 0-u32max

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

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_update() -> crypto_ahash_update()

Type Parameter Key Value
DATA_SOURCE 0 req r ahash_request_ctx_dma
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/padlock-sha.c padlock_sha_update() -> crypto_ahash_update()

Type Parameter Key Value
PARAM_VALUE 0 req 8258847247495548928
PARAM_VALUE 0 req->base.flags 2049
PARAM_VALUE 0 req->base.tfm 4096-ptr_max
BUF_SIZE 0 req 673
BUF_SIZE 0 req 673
DATA_SOURCE 0 req r ahash_request_on_stack_init
NOSPEC 0 *req->svirt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *req->svirt 0-255

drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c sun8i_ss_hash_update() -> crypto_ahash_update()

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->result 0
NOSPEC 0 req->nbytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->nbytes 0-4605,4294963202-u32max[c]
USER_DATA 0 req->nbytes 0-u32max

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

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_cycles() -> crypto_ahash_update()

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_update()

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

drivers/crypto/img-hash.c img_hash_update() -> crypto_ahash_update()

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->result 0
NOSPEC 0 req->nbytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->nbytes 0-4605,4294963202-u32max[c]
USER_DATA 0 req->nbytes 0-u32max

crypto/ahash.c ahash_def_finup() -> crypto_ahash_update()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->base.complete 7747776482737852416
PARAM_VALUE 0 req->base.data 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
UNITS 0 req unit_byte
USER_PTR 0 req->result
USER_PTR 0 req->svirt
HALF_LOCKED2 sk

crypto/ahash.c ahash_do_req_chain() -> crypto_ahash_update()

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 (-1)-s32max
BUF_SIZE 0 req (-1)-s32max
BUF_SIZE 0 req->src (-1),64
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

drivers/crypto/tegra/tegra-se-hash.c tegra_sha_fallback_update() -> crypto_ahash_update()

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->result 0
NOSPEC 0 req->nbytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->nbytes 0-4350,4294963202-u32max[c]
USER_DATA 0 req->nbytes 0-u32max

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

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_sendmsg() -> crypto_ahash_update()

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
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_update()

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_update()

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_update_ahash() -> crypto_ahash_update()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->base.flags 0,2-u32max
PARAM_VALUE 0 req->result 0
BUF_SIZE 0 req 1-s32max
BUF_SIZE 0 req 1-s32max
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->svirt 0-255

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