Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_dh_compute_value() -> hpre_send()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
BUF_SIZE 1 msg 64
CAPPED_DATA 0 ctx->key_sz 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_ecdh_compute_value() -> hpre_send()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
BUF_SIZE 1 msg 64
BIT_INFO 1 msg->resv1 0x0,0x80
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_rsa_dec() -> hpre_send()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->fallback 0
PARAM_VALUE 0 ctx->rsa.prikey 1-u64max
PARAM_VALUE 1 msg 4096-ptr_max
BUF_SIZE 1 msg 64
CAPPED_DATA 0 ctx->key_sz 1
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_rsa_enc() -> hpre_send()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->fallback 0
PARAM_VALUE 0 ctx->rsa.pubkey 1-u64max
PARAM_VALUE 1 msg 4096-ptr_max
BUF_SIZE 1 msg 64
CAPPED_DATA 0 ctx->key_sz 1
RX_PATH
TASK_NOT_RUNNING