Documented in 1 files:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

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

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
PARAM_VALUE 3 dst 16,4096-ptr_max
PARAM_VALUE 4 dlen 0-4000000
BUF_SIZE 0 tfm s32min-s32max
BUF_SIZE 3 dst 512
BUF_SIZE 3 dst 512
DATA_SOURCE 0 tfm r crypto_alloc_rng
DATA_SOURCE 3 dst r _kzalloc_noprof
BYTE_COUNT 3 ==dst4 8050
HALF_LOCKED2 global &once_lock

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

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->entropy_collector->apt_base 0-4294967295
PARAM_VALUE 0 tfm->base.__crt_ctx->entropy_collector->apt_base_set 1
PARAM_VALUE 0 tfm->base.__crt_ctx->entropy_collector->apt_count 0-4294967295
PARAM_VALUE 0 tfm->base.__crt_ctx->entropy_collector->apt_observations 0-4294967295
PARAM_VALUE 0 tfm->base.__crt_ctx->entropy_collector->hash_state->ctx.absorb_offset 0-255
PARAM_VALUE 0 tfm->base.__crt_ctx->entropy_collector->health_failure 0-4294967295
PARAM_VALUE 0 tfm->base.__crt_ctx->entropy_collector->memlocation 0-4294967295
PARAM_VALUE 0 tfm->base.__crt_ctx->entropy_collector->rct_count 0-4294967295
PARAM_VALUE 0 tfm->base.__crt_ctx->instantiated 1
PARAM_VALUE 0 tfm->base.__crt_ctx->jent_lock.dep_map->name 0-255
PARAM_VALUE 0 tfm->base.__crt_ctx->jent_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tfm->base.__crt_ctx->jent_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 tfm->base.__crt_ctx->jent_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 tfm->base.__crt_ctx->jent_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 tfm->base.__crt_ctx->jent_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 tfm->base.__crt_ctx->jent_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tfm->base.__crt_ctx->reseed_ctr 0-4097
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
PARAM_VALUE 3 dst 16,4096-ptr_max
PARAM_VALUE 4 dlen 0-4000000
BUF_SIZE 0 tfm s32min-s32max
BUF_SIZE 3 dst 512
BUF_SIZE 3 dst 512
DATA_SOURCE 0 tfm r crypto_alloc_rng
DATA_SOURCE 3 dst r _kzalloc_noprof
BYTE_COUNT 3 ==dst4 8050
HALF_LOCKED2 global &once_lock

crypto/rng.c crypto_rng_get_bytes() -> crypto_rng_generate()

Type Parameter Key Value
PARAM_VALUE 1 src 0
PARAM_VALUE 2 slen 0
BUF_SIZE 3 dst (-1),8-536870912
BUF_SIZE 3 dst (-1),8-536870912
DATA_SOURCE 0 tfm $0
DATA_SOURCE 3 dst $1
DATA_SOURCE 4 dlen $2
RX_PATH
TASK_NOT_RUNNING
UNITS 4 dlen unit_byte
HALF_LOCKED2 &pool->lock

crypto/drbg.c crypto_rng_get_bytes() -> crypto_rng_generate()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-u64max
PARAM_VALUE 1 src 0
PARAM_VALUE 2 slen 0
PARAM_VALUE 3 dst 8521358527116095520,8521358527116095536
PARAM_VALUE 4 dlen 32,48
DATA_SOURCE 0 tfm $0
DATA_SOURCE 3 dst $1
DATA_SOURCE 4 dlen $2
BIT_INFO 4 dlen 0x20,0x30
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &drbg->drbg_mutex
HALF_LOCKED2 _T->lock

crypto/algif_rng.c _rng_recvmsg() -> crypto_rng_generate()

Type Parameter Key Value
PARAM_VALUE 3 dst 2242129261363044352
PARAM_VALUE 4 dlen 1-128
BUF_SIZE 1 src (-1),1-128
BUF_SIZE 1 src (-1),1-128
BUF_SIZE 3 dst 128
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 src $3
DATA_SOURCE 2 slen $4
DATA_SOURCE 4 dlen $2 [m]
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 dlen 1-128
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sock->sk