Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/ccree/cc_hash.c cc_do_finup() -> cc_map_req()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 ctx 4096-ptr_max
PARAM_VALUE 2 ctx->drvdata 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev r drvdata_to_dev
DATA_SOURCE 1 state r ahash_request_ctx_dma
DATA_SOURCE 2 ctx r crypto_ahash_ctx_dma
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/ccree/cc_hash.c cc_hash_digest() -> cc_map_req()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 state->buff_index 0
PARAM_VALUE 1 state->curr_sg 0
PARAM_VALUE 1 state->data_dma_buf_type 0
PARAM_VALUE 1 state->digest_buff 0
PARAM_VALUE 1 state->digest_buff_dma_addr 0
PARAM_VALUE 1 state->digest_bytes_len 0
PARAM_VALUE 1 state->digest_bytes_len_dma_addr 0
PARAM_VALUE 1 state->digest_result_dma_addr 0
PARAM_VALUE 1 state->gen_ctx.iv 0
PARAM_VALUE 1 state->gen_ctx.iv_dma_addr 0
PARAM_VALUE 1 state->gen_ctx.op_type 0
PARAM_VALUE 1 state->in_nents 0
PARAM_VALUE 1 state->mlli_nents 0
PARAM_VALUE 1 state->mlli_params.curr_pool 0
PARAM_VALUE 1 state->mlli_params.mlli_dma_addr 0
PARAM_VALUE 1 state->mlli_params.mlli_len 0
PARAM_VALUE 1 state->mlli_params.mlli_virt_addr 0
PARAM_VALUE 1 state->opad_digest_buff 0
PARAM_VALUE 1 state->opad_digest_dma_addr 0
PARAM_VALUE 1 state->xcbc_count 0
PARAM_VALUE 1 *state->digest_buff 0-255
PARAM_VALUE 1 *state->digest_bytes_len 0-255
PARAM_VALUE 1 *state->opad_digest_buff 0-255
PARAM_VALUE 2 ctx 4096-ptr_max
PARAM_VALUE 2 ctx->drvdata 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev r drvdata_to_dev
DATA_SOURCE 1 state r ahash_request_ctx_dma
DATA_SOURCE 2 ctx r crypto_ahash_ctx_dma
MEM_ZERO 1 state
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/ccree/cc_hash.c cc_hash_update() -> cc_map_req()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 state 4096-ptr_max
PARAM_VALUE 1 state->buff_sg->dma_flags 0-4294967295
PARAM_VALUE 1 state->buff_sg->dma_length 0-4294967295
PARAM_VALUE 1 state->buff_sg->length 1-4294967295
PARAM_VALUE 1 state->buff_sg->offset 0-4294967295
PARAM_VALUE 1 state->curr_sg 0,4096-ptr_max
PARAM_VALUE 1 state->curr_sg->length 1-u32max
PARAM_VALUE 1 state->data_dma_buf_type 0-2
PARAM_VALUE 1 state->in_nents 0-136
PARAM_VALUE 1 state->mlli_params.mlli_virt_addr 4096-ptr_max
PARAM_VALUE 2 ctx 4096-ptr_max
PARAM_VALUE 2 ctx->drvdata 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev r drvdata_to_dev
DATA_SOURCE 1 state r ahash_request_ctx_dma
DATA_SOURCE 2 ctx r crypto_ahash_ctx_dma
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/ccree/cc_hash.c cc_mac_digest() -> cc_map_req()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 state->buff_index 0
PARAM_VALUE 1 state->curr_sg 0
PARAM_VALUE 1 state->data_dma_buf_type 0
PARAM_VALUE 1 state->digest_buff 0
PARAM_VALUE 1 state->digest_buff_dma_addr 0
PARAM_VALUE 1 state->digest_bytes_len 0
PARAM_VALUE 1 state->digest_bytes_len_dma_addr 0
PARAM_VALUE 1 state->digest_result_dma_addr 0
PARAM_VALUE 1 state->gen_ctx.iv 0
PARAM_VALUE 1 state->gen_ctx.iv_dma_addr 0
PARAM_VALUE 1 state->gen_ctx.op_type 0
PARAM_VALUE 1 state->in_nents 0
PARAM_VALUE 1 state->mlli_nents 0
PARAM_VALUE 1 state->mlli_params.curr_pool 0
PARAM_VALUE 1 state->mlli_params.mlli_dma_addr 0
PARAM_VALUE 1 state->mlli_params.mlli_len 0
PARAM_VALUE 1 state->mlli_params.mlli_virt_addr 0
PARAM_VALUE 1 state->opad_digest_buff 0
PARAM_VALUE 1 state->opad_digest_dma_addr 0
PARAM_VALUE 1 state->xcbc_count 0
PARAM_VALUE 1 *state->digest_buff 0-255
PARAM_VALUE 1 *state->digest_bytes_len 0-255
PARAM_VALUE 1 *state->opad_digest_buff 0-255
PARAM_VALUE 2 ctx 4096-ptr_max
PARAM_VALUE 2 ctx->drvdata 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev r drvdata_to_dev
DATA_SOURCE 1 state r ahash_request_ctx_dma
DATA_SOURCE 2 ctx r crypto_ahash_ctx_dma
MEM_ZERO 1 state
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/ccree/cc_hash.c cc_mac_final() -> cc_map_req()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 ctx 4096-ptr_max
PARAM_VALUE 2 ctx->drvdata 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev r drvdata_to_dev
DATA_SOURCE 1 state r ahash_request_ctx_dma
DATA_SOURCE 2 ctx r crypto_ahash_ctx_dma
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/ccree/cc_hash.c cc_mac_finup() -> cc_map_req()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 state 4096-ptr_max
PARAM_VALUE 2 ctx 4096-ptr_max
PARAM_VALUE 2 ctx->drvdata 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev r drvdata_to_dev
DATA_SOURCE 1 state r ahash_request_ctx_dma
DATA_SOURCE 2 ctx r crypto_ahash_ctx_dma
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/ccree/cc_hash.c cc_mac_update() -> cc_map_req()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 state 4096-ptr_max
PARAM_VALUE 1 state->buff_sg->dma_flags 0-4294967295
PARAM_VALUE 1 state->buff_sg->dma_length 0-4294967295
PARAM_VALUE 1 state->buff_sg->length 1-4294967295
PARAM_VALUE 1 state->buff_sg->offset 0-4294967295
PARAM_VALUE 1 state->curr_sg 0,4096-ptr_max
PARAM_VALUE 1 state->curr_sg->length 1-u32max
PARAM_VALUE 1 state->data_dma_buf_type 0-2
PARAM_VALUE 1 state->in_nents 0-136
PARAM_VALUE 1 state->mlli_params.mlli_virt_addr 4096-ptr_max
PARAM_VALUE 2 ctx 4096-ptr_max
PARAM_VALUE 2 ctx->drvdata 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev r drvdata_to_dev
DATA_SOURCE 1 state r ahash_request_ctx_dma
DATA_SOURCE 2 ctx r crypto_ahash_ctx_dma
RX_PATH
TASK_NOT_RUNNING