Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/char/random.c _get_random_bytes() -> chacha20_block()

Type Parameter Key Value
PARAM_VALUE 0 state 6020698264744009728
BUF_SIZE 1 out 64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags

drivers/char/random.c _get_random_bytes() -> chacha20_block()

Type Parameter Key Value
PARAM_VALUE 0 state 6020698264744009728
DATA_SOURCE 1 out $0 [m]
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags

drivers/char/random.c crng_fast_key_erasure() -> chacha20_block()

Type Parameter Key Value
PARAM_VALUE 0 state 6020698264744009728,8171469198877937664
PARAM_VALUE 0 state->x 4096-ptr_max
BUF_SIZE 1 out 64
DATA_SOURCE 0 state $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
HALF_LOCKED2 global &base_crng.lock

drivers/char/random.c get_random_bytes_user() -> chacha20_block()

Type Parameter Key Value
PARAM_VALUE 0 state 8171469198877937664
PARAM_VALUE 1 out 3354901360184369152
BUF_SIZE 1 out 64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL