Documented in 1 files:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/crypto/padlock-sha.c padlock_sha_finup() -> ahash_request_set_virt()

Type Parameter Key Value
PARAM_VALUE 0 req 5233820130360352768
PARAM_VALUE 0 req->base.flags 2048
BUF_SIZE 0 req 673
BUF_SIZE 0 req 673
BUF_SIZE 1 src (-1)-s32max
BUF_SIZE 1 src (-1)-s32max
BUF_SIZE 2 result (-1)-s32max
BUF_SIZE 2 result (-1)-s32max
DATA_SOURCE 0 req r ahash_request_on_stack_init
DATA_SOURCE 1 src $1
DATA_SOURCE 2 result $3
DATA_SOURCE 3 nbytes $2
PARAM_COMPARE 1 src == $3
NOSPEC 1 *src
NOSPEC 2 *result
NOSPEC 3 nbytes
NOSPEC 3 nbytes
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 src 4096-ptr_max[c]
HOST_DATA 3 nbytes 0-4605,4294962946-u32max[c]
USER_DATA 1 src 4096-ptr_max[c][u]
USER_DATA 1 *src 0-255
USER_DATA 2 *result 0-255
USER_DATA 3 nbytes 0-u32max
NO_OVERFLOW_SIMPLE 1 src->compr_size
UNITS 1 src unit_byte
UNITS 2 result unit_byte
UNITS 3 nbytes unit_byte
BYTE_COUNT 1 ==src3 8050
USER_PTR 1 src
USER_PTR 2 result

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

Type Parameter Key Value
PARAM_VALUE 0 req 8258847247495548928
PARAM_VALUE 0 req->base.flags 2048
PARAM_VALUE 2 result 0
BUF_SIZE 0 req 673
BUF_SIZE 0 req 673
BUF_SIZE 1 src (-1)-s32max
BUF_SIZE 1 src (-1)-s32max
DATA_SOURCE 0 req r ahash_request_on_stack_init
DATA_SOURCE 1 src $1
NOSPEC 1 *src
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 src 4096-ptr_max[c]
USER_DATA 1 src 4096-ptr_max[c][u]
USER_DATA 1 *src 0-255
NO_OVERFLOW_SIMPLE 1 src->compr_size
USER_PTR 1 src

crypto/ahash.c crypto_hash_digest() -> ahash_request_set_virt()

Type Parameter Key Value
PARAM_VALUE 0 req 6574300713108398080
PARAM_VALUE 0 req->base.flags 2048
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 result 16,4096-ptr_max
BUF_SIZE 0 req 673
BUF_SIZE 0 req 673
BUF_SIZE 1 src 8176
BUF_SIZE 1 src 8176
BUF_SIZE 2 result 1-s32max
BUF_SIZE 2 result 1-s32max
CAPPED_DATA 3 nbytes 1
DATA_SOURCE 0 req r ahash_request_on_stack_init
DATA_SOURCE 1 src $1
DATA_SOURCE 2 result $3
DATA_SOURCE 3 nbytes $2
NOCHECK_CALL
HALF_LOCKED2 global &once_lock

crypto/hmac.c hmac_finup_ahash() -> ahash_request_set_virt()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
BUF_SIZE 0 req 1-s32max
BUF_SIZE 0 req 1-s32max
BUF_SIZE 1 src 1-s32max
BUF_SIZE 2 result 1-s32max
NOSPEC 3 nbytes
NOSPEC 3 nbytes
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 3 nbytes 0-4605,4294963202-u32max[c]
USER_DATA 1 *src 0-255
USER_DATA 2 *result 0-255
USER_DATA 3 nbytes 0-u32max
UNITS 1 src unit_byte
UNITS 2 result unit_byte
UNITS 3 nbytes unit_byte
USER_PTR 1 src
USER_PTR 2 result

crypto/hmac.c hmac_finup_finish() -> ahash_request_set_virt()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
BUF_SIZE 0 req 1-s32max
BUF_SIZE 0 req 1-s32max
BUF_SIZE 1 src 1-s32max
BUF_SIZE 2 result 1-s32max
DATA_SOURCE 3 nbytes r crypto_ahash_digestsize
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *src 0-255
USER_DATA 2 *result 0-255
UNITS 1 src unit_byte
UNITS 2 result unit_byte
USER_PTR 1 src
USER_PTR 2 result

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

Type Parameter Key Value
PARAM_VALUE 0 req 6384833276913700864
PARAM_VALUE 2 result 4096-ptr_max
PARAM_VALUE 3 nbytes 1-u32max
BUF_SIZE 0 req 673
BUF_SIZE 0 req 673
BUF_SIZE 1 src (-1)-s32max
BUF_SIZE 1 src (-1)-s32max
DATA_SOURCE 0 req r ahash_request_on_stack_init
DATA_SOURCE 1 src $1
DATA_SOURCE 3 nbytes $2
PARAM_COMPARE 1 src == $3
NOSPEC 3 nbytes
NOSPEC 3 nbytes
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *src 0-255
USER_DATA 3 nbytes 1-s32max[c]
BYTE_COUNT 1 ==src3 8050
USER_PTR 1 src
HALF_LOCKED2 sk

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

Type Parameter Key Value
PARAM_VALUE 0 req 6384833276913700864
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 result 0
BUF_SIZE 0 req 673
BUF_SIZE 0 req 673
CAPPED_DATA 3 nbytes 1
DATA_SOURCE 0 req r ahash_request_on_stack_init
DATA_SOURCE 3 nbytes r crypto_ahash_blocksize
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
USER_DATA 1 *src 0-255
USER_PTR 1 src
HALF_LOCKED2 sk

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

Type Parameter Key Value
PARAM_VALUE 0 req 6384833276913700864
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 result 0
BUF_SIZE 0 req 673
BUF_SIZE 0 req 673
CAPPED_DATA 3 nbytes 1
DATA_SOURCE 0 req r ahash_request_on_stack_init
DATA_SOURCE 3 nbytes r crypto_ahash_blocksize
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 *req->__ctx->ahash_fbk_req.result 0-255
USER_DATA 0 *req->svirt 0-255
USER_DATA 1 *src 0-255
USER_PTR 1 src
HALF_LOCKED2 sk

crypto/hmac.c hmac_update_ahash() -> ahash_request_set_virt()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 2 result 0
BUF_SIZE 0 req 1-s32max
BUF_SIZE 0 req 1-s32max
BUF_SIZE 1 src 1-s32max
NOSPEC 3 nbytes
NOSPEC 3 nbytes
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 3 nbytes 0-4605,4294963202-u32max[c]
USER_DATA 1 *src 0-255
USER_DATA 3 nbytes 0-u32max
UNITS 1 src unit_byte
UNITS 3 nbytes unit_byte
USER_PTR 1 src