Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
crypto/testmgr.c drbg_cavs_test() -> crypto_alloc_rng()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | mask | 0,1024 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| DATA_SOURCE | 0 | alg_name | $1 |
| DATA_SOURCE | 1 | type | $2 |
| DATA_SOURCE | 2 | mask | $3 |
| HARD_MAX | 2 | mask | 1024 |
| HALF_LOCKED2 | global &once_lock |
crypto/rng.c crypto_get_default_rng() -> crypto_alloc_rng()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 3629590542697566208 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 7 |
| STR_LEN | 0 | alg_name | 6 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &crypto_default_rng_lock | ||
| HALF_LOCKED2 | &pool->lock |
crypto/drbg.c drbg_kcapi_seed() -> crypto_alloc_rng()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1179291461157314560 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 18 |
| STR_LEN | 0 | alg_name | 17 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &crypto_default_rng_lock | ||
| HALF_LOCKED2 | sk |
crypto/algif_rng.c rng_bind() -> crypto_alloc_rng()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 69760 |
| DATA_SOURCE | 0 | alg_name | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |