Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
crypto/drbg.c drbg_generate() -> drbg_seed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drbg | 4096-ptr_max |
| PARAM_VALUE | 0 | drbg->drbg_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | drbg->drbg_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | drbg->drbg_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | drbg->drbg_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | drbg->drbg_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | drbg->drbg_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | drbg->drbg_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | drbg->instantiated | 1 |
| PARAM_VALUE | 0 | drbg->reseed_ctr | 4097-u64max |
| PARAM_VALUE | 2 | pers_len | 0-4294967294 |
| PARAM_VALUE | 3 | reseed | 1 |
| BUF_SIZE | 1 | pers | (-1),1-128 |
| BUF_SIZE | 1 | pers | (-1),1-128 |
| DATA_SOURCE | 0 | drbg | $0 |
| DATA_SOURCE | 1 | pers | $3 |
| DATA_SOURCE | 2 | pers_len | $4 |
| FUZZY_MAX | 0 | drbg->reseed_ctr | 4097 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &drbg->drbg_mutex | |
| TYPE_LOCK | (struct drbg_state)->drbg_mutex |
crypto/drbg.c drbg_healthcheck_sanity() -> drbg_seed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drbg | 4096-ptr_max |
| PARAM_VALUE | 0 | drbg->instantiated | 1 |
| PARAM_VALUE | 1 | pers | 7335019576619560960 |
| PARAM_VALUE | 2 | pers_len | u32max |
| PARAM_VALUE | 3 | reseed | 0 |
| BUF_SIZE | 0 | drbg | 384 |
| BUF_SIZE | 1 | pers | 16 |
| DATA_SOURCE | 0 | drbg | r _kzalloc_noprof |
crypto/drbg.c drbg_kcapi_seed() -> drbg_seed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drbg | 4096-ptr_max |
| PARAM_VALUE | 0 | drbg->instantiated | 1 |
| PARAM_VALUE | 2 | pers_len | 0-4000000 |
| PARAM_VALUE | 3 | reseed | 1 |
| BUF_SIZE | 1 | pers | (-1)-s32max |
| BUF_SIZE | 1 | pers | (-1)-s32max |
| DATA_SOURCE | 1 | pers | $1 |
| DATA_SOURCE | 2 | pers_len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *pers | 0-255 |
| USER_DATA | 2 | pers_len | 0-4000000[c] |
| USER_PTR | 1 | pers | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &crypto_default_rng_lock | ||
| HALF_LOCKED2 | sk |
crypto/drbg.c drbg_kcapi_seed() -> drbg_seed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drbg | 4096-ptr_max |
| PARAM_VALUE | 0 | drbg->instantiated | 0 |
| PARAM_VALUE | 2 | pers_len | 0-4000000 |
| PARAM_VALUE | 3 | reseed | 0 |
| BUF_SIZE | 0 | drbg->jent | s32min-s32max |
| BUF_SIZE | 1 | pers | (-1)-s32max |
| BUF_SIZE | 1 | pers | (-1)-s32max |
| DATA_SOURCE | 1 | pers | $1 |
| DATA_SOURCE | 2 | pers_len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *pers | 0-255 |
| USER_DATA | 2 | pers_len | 0-4000000[c] |
| USER_PTR | 1 | pers | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &crypto_default_rng_lock | ||
| HALF_LOCKED2 | sk |