Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

crypto/rsa.c rsa_dec() -> mpi_read_raw_from_sgl()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sgl->length
NO_OVERFLOW_SIMPLE 1 nbytes
UNITS 1 nbytes unit_byte

crypto/rsa.c rsa_enc() -> mpi_read_raw_from_sgl()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sgl->length
NO_OVERFLOW_SIMPLE 1 nbytes
UNITS 1 nbytes unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 sgl 1-u64max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nbytes 1-u16max[u]
NO_OVERFLOW_SIMPLE 0 sgl->length
UNITS 1 nbytes unit_byte
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex