Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_rsa_setprivkey() -> hpre_rsa_setkey()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->qp 1-u64max
PARAM_VALUE 3 private 1
BUF_SIZE 1 key (-1),4,8-s32max
BUF_SIZE 1 key (-1),4,8-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_rsa_setpubkey() -> hpre_rsa_setkey()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->qp 1-u64max
PARAM_VALUE 0 ctx->rsa.soft_tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->rsa.soft_tfm->base.__crt_ctx->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->rsa.soft_tfm->base.__crt_ctx->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ctx->rsa.soft_tfm->base.__crt_ctx->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ctx->rsa.soft_tfm->base.__crt_ctx->e->alloced 0-256
PARAM_VALUE 0 ctx->rsa.soft_tfm->base.__crt_ctx->fallback 0-1
PARAM_VALUE 0 ctx->rsa.soft_tfm->base.__crt_ctx->key_size 0-4096
PARAM_VALUE 0 ctx->rsa.soft_tfm->base.__crt_ctx->key_sz 0-4294967295
PARAM_VALUE 0 ctx->rsa.soft_tfm->base.__crt_ctx->n->alloced 0-256
PARAM_VALUE 0 ctx->rsa.soft_tfm->base.__crt_ctx->n->nlimbs 0-256
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->d 0-255
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->d->d s64max
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->dp 0-255
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->dp->d s64max
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->dq 0-255
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->dq->d s64max
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->e 0-255
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->e->d s64max
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->n 0-255
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->n->d s64max
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->p 0-255
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->p->d s64max
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->q 0-255
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->q->d s64max
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->qinv 0-255
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->qinv->d s64max
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->rsa.crt_prikey 0,144
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->rsa.prikey 0-255
PARAM_VALUE 0 *ctx->rsa.soft_tfm->base.__crt_ctx->rsa.pubkey 0-255
PARAM_VALUE 3 private 0
BUF_SIZE 1 key (-1),4,8-s32max
BUF_SIZE 1 key (-1),4,8-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
RX_PATH
TASK_NOT_RUNNING