Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_ecdh_exit_tfm() -> hpre_ecc_clear_ctx()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->fallback 0
PARAM_VALUE 1 is_clear_all 1
RX_PATH
NOCHECK_CALL

drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_ecdh_set_secret() -> hpre_ecc_clear_ctx()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->fallback 0
PARAM_VALUE 1 is_clear_all 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex