Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 areq_ctx 4096-ptr_max
PARAM_VALUE 0 areq_ctx->buff_sg->dma_flags 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->dma_length 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->length 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->offset 0-4294967295
PARAM_VALUE 0 areq_ctx->curr_sg 0,4096-ptr_max
PARAM_VALUE 0 areq_ctx->curr_sg->length 1-u32max
PARAM_VALUE 0 areq_ctx->data_dma_buf_type 0-2
PARAM_VALUE 0 areq_ctx->digest_buff 0
PARAM_VALUE 0 areq_ctx->digest_bytes_len 0
PARAM_VALUE 0 areq_ctx->gen_ctx.iv 0
PARAM_VALUE 0 areq_ctx->gen_ctx.iv_dma_addr 0
PARAM_VALUE 0 areq_ctx->gen_ctx.op_type 0
PARAM_VALUE 0 areq_ctx->in_nents 0-136
PARAM_VALUE 0 areq_ctx->mlli_nents 0
PARAM_VALUE 0 areq_ctx->mlli_params.mlli_virt_addr 0,4096-ptr_max
PARAM_VALUE 0 areq_ctx->opad_digest_buff 0
PARAM_VALUE 0 areq_ctx->xcbc_count 0
PARAM_VALUE 0 *areq_ctx->digest_buff 0-255
PARAM_VALUE 0 *areq_ctx->digest_bytes_len 0-255
PARAM_VALUE 0 *areq_ctx->opad_digest_buff 0-255
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->drvdata 4096-ptr_max
PARAM_VALUE 1 ctx->drvdata->hash_handle 4096-ptr_max
PARAM_VALUE 2 flow_mode 7
PARAM_VALUE 3 desc 4096-ptr_max
PARAM_VALUE 4 is_not_last_data 0
PARAM_VALUE 5 seq_size 2715086621823545344
PARAM_VALUE 5 *seq_size 2
BUF_SIZE 3 desc 288
DATA_SOURCE 0 areq_ctx r ahash_request_ctx_dma
DATA_SOURCE 1 ctx r crypto_ahash_ctx_dma
MEM_ZERO 0 areq_ctx
MEM_ZERO 0 areq_ctx->digest_result_buff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 areq_ctx->buff_sg->length 1-4350,4294963202-4294967295[c]
HOST_DATA 0 areq_ctx->curr_sg->length 1-4350,4294963202-u32max[c]
USER_DATA 0 areq_ctx->buff_sg->length 1-4294967295
USER_DATA 0 areq_ctx->curr_sg->length 1-u32max

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

Type Parameter Key Value
PARAM_VALUE 0 areq_ctx 4096-ptr_max
PARAM_VALUE 0 areq_ctx->buff_sg->dma_flags 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->dma_length 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->length 1-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->offset 0-4294967295
PARAM_VALUE 0 areq_ctx->curr_sg 0,4096-ptr_max
PARAM_VALUE 0 areq_ctx->curr_sg->length 1-u32max
PARAM_VALUE 0 areq_ctx->data_dma_buf_type 0-2
PARAM_VALUE 0 areq_ctx->digest_buff 0
PARAM_VALUE 0 areq_ctx->digest_bytes_len 0
PARAM_VALUE 0 areq_ctx->gen_ctx.iv 0
PARAM_VALUE 0 areq_ctx->gen_ctx.iv_dma_addr 0
PARAM_VALUE 0 areq_ctx->gen_ctx.op_type 0
PARAM_VALUE 0 areq_ctx->in_nents 0-136
PARAM_VALUE 0 areq_ctx->mlli_nents 0
PARAM_VALUE 0 areq_ctx->mlli_params.mlli_virt_addr 0,4096-ptr_max
PARAM_VALUE 0 areq_ctx->opad_digest_buff 0
PARAM_VALUE 0 areq_ctx->xcbc_count 0
PARAM_VALUE 0 *areq_ctx->digest_buff 0-255
PARAM_VALUE 0 *areq_ctx->digest_bytes_len 0-255
PARAM_VALUE 0 *areq_ctx->opad_digest_buff 0-255
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->drvdata 4096-ptr_max
PARAM_VALUE 2 flow_mode 1
PARAM_VALUE 4 is_not_last_data 0
PARAM_VALUE 5 seq_size 3258506168547627008
PARAM_VALUE 5 *seq_size 0-7
BUF_SIZE 3 desc 288
DATA_SOURCE 0 areq_ctx r ahash_request_ctx_dma
DATA_SOURCE 1 ctx r crypto_ahash_ctx_dma
MEM_ZERO 0 areq_ctx
MEM_ZERO 0 areq_ctx->digest_result_buff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 areq_ctx->buff_sg->length 1-4350,4294963202-4294967295[c]
HOST_DATA 0 areq_ctx->curr_sg->length 1-4350,4294963202-u32max[c]
USER_DATA 0 areq_ctx->buff_sg->length 1-4294967295
USER_DATA 0 areq_ctx->curr_sg->length 1-u32max

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

Type Parameter Key Value
PARAM_VALUE 0 areq_ctx 4096-ptr_max
PARAM_VALUE 0 areq_ctx->buff_sg->dma_flags 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->dma_length 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->length 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->offset 0-4294967295
PARAM_VALUE 0 areq_ctx->data_dma_buf_type 0-2
PARAM_VALUE 0 areq_ctx->in_nents 0-136
PARAM_VALUE 0 areq_ctx->xcbc_count 1-u32max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->drvdata 4096-ptr_max
PARAM_VALUE 2 flow_mode 1
PARAM_VALUE 3 desc 3642435623802085376
PARAM_VALUE 4 is_not_last_data 0
PARAM_VALUE 5 seq_size 3100677488309706752
PARAM_VALUE 5 *seq_size 0-7
BUF_SIZE 3 desc 288
CAPPED_DATA 0 areq_ctx->digest_buff 1
CAPPED_DATA 0 areq_ctx->digest_result_buff 1
DATA_SOURCE 0 areq_ctx r ahash_request_ctx_dma
DATA_SOURCE 1 ctx r crypto_ahash_ctx_dma
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 areq_ctx->buff_sg->length 1-4350,4294963202-4294967295[c]
HOST_DATA 0 areq_ctx->curr_sg->length 1-4350,4294963202-u32max[c]
USER_DATA 0 areq_ctx->buff_sg->length 1-4294967295
USER_DATA 0 areq_ctx->curr_sg->length 1-u32max

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

Type Parameter Key Value
PARAM_VALUE 0 areq_ctx 4096-ptr_max
PARAM_VALUE 0 areq_ctx->buff_sg->dma_flags 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->dma_length 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->length 1-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->offset 0-4294967295
PARAM_VALUE 0 areq_ctx->curr_sg 4096-ptr_max
PARAM_VALUE 0 areq_ctx->curr_sg->length 1-u32max
PARAM_VALUE 0 areq_ctx->data_dma_buf_type 0-2
PARAM_VALUE 0 areq_ctx->in_nents 0-136
PARAM_VALUE 0 areq_ctx->mlli_params.mlli_virt_addr 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->drvdata 4096-ptr_max
PARAM_VALUE 2 flow_mode 1
PARAM_VALUE 4 is_not_last_data 0
PARAM_VALUE 5 seq_size 511274368400949248
PARAM_VALUE 5 *seq_size 0-7
BUF_SIZE 3 desc 288
CAPPED_DATA 0 areq_ctx->digest_buff 1
CAPPED_DATA 0 areq_ctx->digest_result_buff 1
DATA_SOURCE 0 areq_ctx r ahash_request_ctx_dma
DATA_SOURCE 1 ctx r crypto_ahash_ctx_dma
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 areq_ctx->buff_sg->length 1-4350,4294963202-4294967295[c]
HOST_DATA 0 areq_ctx->curr_sg->length 1-4350,4294963202-u32max[c]
USER_DATA 0 areq_ctx->buff_sg->length 1-4294967295
USER_DATA 0 areq_ctx->curr_sg->length 1-u32max

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

Type Parameter Key Value
PARAM_VALUE 0 areq_ctx 4096-ptr_max
PARAM_VALUE 0 areq_ctx->buff_sg->dma_flags 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->dma_length 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->length 1-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->offset 0-4294967295
PARAM_VALUE 0 areq_ctx->curr_sg 0,4096-ptr_max
PARAM_VALUE 0 areq_ctx->curr_sg->length 1-u32max
PARAM_VALUE 0 areq_ctx->data_dma_buf_type 0-2
PARAM_VALUE 0 areq_ctx->in_nents 0-136
PARAM_VALUE 0 areq_ctx->mlli_params.mlli_virt_addr 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->drvdata 4096-ptr_max
PARAM_VALUE 2 flow_mode 1
PARAM_VALUE 4 is_not_last_data 1
PARAM_VALUE 5 seq_size 193613411132571648
PARAM_VALUE 5 *seq_size 0-7
BUF_SIZE 3 desc 288
CAPPED_DATA 0 areq_ctx->digest_buff 1
DATA_SOURCE 0 areq_ctx r ahash_request_ctx_dma
DATA_SOURCE 1 ctx r crypto_ahash_ctx_dma
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/crypto/ccree/cc_hash.c cc_restore_hash() -> cc_set_desc()

Type Parameter Key Value
PARAM_VALUE 0 areq_ctx 4096-ptr_max
PARAM_VALUE 0 areq_ctx->buff_sg->dma_flags 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->dma_length 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->length 0-4294967295
PARAM_VALUE 0 areq_ctx->buff_sg->offset 0-4294967295
PARAM_VALUE 0 areq_ctx->data_dma_buf_type 0-2
PARAM_VALUE 0 areq_ctx->in_nents 0-136
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->drvdata 4096-ptr_max
PARAM_VALUE 2 flow_mode 7
PARAM_VALUE 3 desc 1389395526754041856,8996271403222306816
PARAM_VALUE 4 is_not_last_data 0
PARAM_VALUE 5 *seq_size 2
BUF_SIZE 3 desc 288
BUF_SIZE 3 desc 288
CAPPED_DATA 0 areq_ctx->digest_buff 1
DATA_SOURCE 0 areq_ctx $2
DATA_SOURCE 1 ctx $1
DATA_SOURCE 3 desc $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 areq_ctx->curr_sg->length 1-u32max