Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

crypto/dh.c dh_compute_value() -> dh_is_pubkey_valid()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->xa 1-u64max
PARAM_VALUE 1 y 4096-ptr_max
PARAM_VALUE 1 y->alloced 0-256
PARAM_VALUE 1 y->d 0,4096-ptr_max
PARAM_VALUE 1 y->flags 0
PARAM_VALUE 1 y->nlimbs 0-256
PARAM_VALUE 1 y->sign 0
BUF_SIZE 1 y 32
DATA_SOURCE 1 y r mpi_read_raw_from_sgl
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 y->alloced 2-256[c]
USER_DATA 1 y->nbits 0-16408
USER_DATA 1 y->nlimbs 2-256[c]
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

crypto/dh.c dh_compute_value() -> dh_is_pubkey_valid()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->xa 1-u64max
PARAM_VALUE 1 y 4096-ptr_max
BUF_SIZE 1 y 32
DATA_SOURCE 1 y r mpi_alloc
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex