Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

crypto/testmgr.c drbg_cavs_test() -> crypto_rng_reset()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.dep_map->name 0-255
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 tfm->base.__crt_ctx->test_entropylen 0-128,320,384
PARAM_VALUE 0 *tfm->base.__crt_ctx->test_entropy 0-255
PARAM_VALUE 2 slen 256
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_rng
HALF_LOCKED2 global &once_lock

crypto/testmgr.c drbg_cavs_test() -> crypto_rng_reset()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.dep_map->name 0-255
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 tfm->base.__crt_ctx->drbg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 tfm->base.__crt_ctx->instantiated 1
PARAM_VALUE 0 tfm->base.__crt_ctx->reseed_ctr 1
PARAM_VALUE 0 tfm->base.__crt_ctx->test_entropylen 0-128,320,384
PARAM_VALUE 0 *tfm->base.__crt_ctx->V 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->test_entropy 0-255
PARAM_VALUE 2 slen 192
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_rng
HALF_LOCKED2 global &once_lock

crypto/rng.c crypto_get_default_rng() -> crypto_rng_reset()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 1 seed 0
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_rng
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &crypto_default_rng_lock
HALF_LOCKED2 &pool->lock

crypto/algif_rng.c rng_setkey() -> crypto_rng_reset()

Type Parameter Key Value
PARAM_VALUE 1 seed 16,4096-ptr_max
PARAM_VALUE 2 slen 0-4000000
BUF_SIZE 1 seed (-1)-s32max
BUF_SIZE 1 seed (-1)-s32max
CAPPED_DATA 2 slen 1
DATA_SOURCE 1 seed $1
DATA_SOURCE 2 slen $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *seed 0-255
USER_DATA 2 slen 0-4000000[c]
BYTE_COUNT 1 ==seed2 8050
USER_PTR 1 seed
LOCK2 sk
HALF_LOCKED2 &smc->clcsock_release_lock