Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/intel/keembay/keembay-ocs-ecc.c kmb_ecc_gen_privkey() -> kmb_ecc_is_key_valid()

Type Parameter Key Value
PARAM_VALUE 0 curve 4096-ptr_max
PARAM_VALUE 0 curve->g.ndigits 0-6
PARAM_VALUE 1 private_key 3952914951303340032
PARAM_VALUE 2 private_key_len 0,8-4294967288
BUF_SIZE 1 private_key 48
DATA_SOURCE 0 curve $0
DATA_SOURCE 2 private_key_len r digits_to_bytes
FUZZY_MAX 0 curve->g.ndigits 6
HARD_MAX 0 curve->g.ndigits 6
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

drivers/crypto/intel/keembay/keembay-ocs-ecc.c kmb_ocs_ecdh_set_secret() -> kmb_ecc_is_key_valid()

Type Parameter Key Value
PARAM_VALUE 0 curve 4096-ptr_max
PARAM_VALUE 1 private_key 1-u64max
PARAM_VALUE 2 private_key_len 1-u16max
BUF_SIZE 1 private_key 32,66
CAPPED_DATA 2 private_key_len 1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 private_key_len unit_byte
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex