Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

crypto/testmgr.c generate_random_hash_testvec() -> prandom_u32_inclusive()

Type Parameter Key Value
PARAM_VALUE 0 rng 7334138514930450432
PARAM_VALUE 1 floor 1
PARAM_VALUE 2 ceil 1-u16max
DATA_SOURCE 0 rng $0
DATA_SOURCE 2 ceil $3
HALF_LOCKED2 global &once_lock

crypto/testmgr.c generate_random_sgl_divisions() -> prandom_u32_inclusive()

Type Parameter Key Value
PARAM_VALUE 0 rng 4096-ptr_max
PARAM_VALUE 1 floor 1
PARAM_VALUE 2 ceil 1-u32max
DATA_SOURCE 0 rng $0
FUZZY_MAX 2 ceil 10000
HALF_LOCKED2 global &once_lock

crypto/testmgr.c generate_random_sgl_divisions() -> prandom_u32_inclusive()

Type Parameter Key Value
PARAM_VALUE 0 rng 4096-ptr_max
PARAM_VALUE 1 floor 3968
PARAM_VALUE 2 ceil 4095
DATA_SOURCE 0 rng $0
UNITS 1 floor unit_byte
UNITS 2 ceil unit_byte
HALF_LOCKED2 global &once_lock

crypto/testmgr.c generate_random_testvec_config() -> prandom_u32_inclusive()

Type Parameter Key Value
PARAM_VALUE 0 rng 4096-ptr_max
PARAM_VALUE 1 floor 1
PARAM_VALUE 2 ceil 127
DATA_SOURCE 0 rng $0
HALF_LOCKED2 global &once_lock

crypto/testmgr.c generate_random_testvec_config() -> prandom_u32_inclusive()

Type Parameter Key Value
PARAM_VALUE 0 rng 4096-ptr_max
PARAM_VALUE 1 floor 1
PARAM_VALUE 2 ceil 127
DATA_SOURCE 0 rng $0
HALF_LOCKED2 global &once_lock