Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_aead_crypto() -> sec_aead_soft_crypto()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 1 aead_req 4096-ptr_max
BUF_SIZE 1 aead_req (-1)-s32max
BUF_SIZE 1 aead_req (-1)-s32max
DATA_SOURCE 1 aead_req $0
DATA_SOURCE 2 encrypt $1
NOSPEC 1 aead_req->cryptlen
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 aead_req->dst->length 0-2147483646[c]
HOST_DATA 1 aead_req->src->length 0-2147483646[c]
USER_DATA 1 aead_req->cryptlen 0-u32max
USER_DATA 1 aead_req->dst->length 1-2147483646[c]
USER_DATA 1 aead_req->dst->offset 0-2147551739[c]
USER_DATA 1 aead_req->src->length 1-2147483646[c]
USER_DATA 1 aead_req->src->offset 0-2147551739[c]
USER_DATA 1 *aead_req->iv 0-255
NO_OVERFLOW_SIMPLE 1 aead_req->dst->length
NO_OVERFLOW_SIMPLE 1 aead_req->src->length
USER_PTR 1 aead_req->iv

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_alg_send_backlog_soft() -> sec_aead_soft_crypto()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->alg_type 1
PARAM_VALUE 0 ctx->req_op 4096-ptr_max
DATA_SOURCE 0 ctx $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &qp->backlog.lock
LOCK2 bh
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct instance_backlog)->lock

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_process() -> sec_aead_soft_crypto()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->alg_type 1
PARAM_VALUE 0 ctx->c_ctx.c_alg 1-3
PARAM_VALUE 0 ctx->c_ctx.ivsize 0-u32max
PARAM_VALUE 0 ctx->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->qps 1-u64max
PARAM_VALUE 0 ctx->req_op 4096-ptr_max
PARAM_VALUE 0 ctx->req_op->buf_map 4096-ptr_max
PARAM_VALUE 0 ctx->req_op->buf_unmap 4096-ptr_max
BUF_SIZE 1 aead_req (-1)-s32max
BUF_SIZE 1 aead_req (-1)-s32max
DATA_SOURCE 0 ctx $0
NOSPEC 1 aead_req->cryptlen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 aead_req->cryptlen 0-u32max
USER_PTR 1 aead_req->iv