Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

crypto/ecdsa.c ecdsa_ecc_ctx_init() -> ecc_get_curve()

Type Parameter Key Value
DATA_SOURCE 0 curve_id $1
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/intel/keembay/keembay-ocs-ecc.c kmb_ecc_tctx_init() -> ecc_get_curve()

Type Parameter Key Value
PARAM_VALUE 0 curve_id 2-3
DATA_SOURCE 0 curve_id $1
HARD_MAX 0 curve_id 3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c crypto_ecdh_shared_secret() -> ecc_get_curve()

Type Parameter Key Value
DATA_SOURCE 0 curve_id $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

crypto/ecc.c ecc_gen_privkey() -> ecc_get_curve()

Type Parameter Key Value
DATA_SOURCE 0 curve_id $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

crypto/ecc.c ecc_is_key_valid() -> ecc_get_curve()

Type Parameter Key Value
DATA_SOURCE 0 curve_id $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

crypto/ecc.c ecc_make_pub_key() -> ecc_get_curve()

Type Parameter Key Value
DATA_SOURCE 0 curve_id $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_ecdh_fill_curve() -> ecc_get_curve()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex