Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/tipc/node.c __tipc_nl_node_set_key() -> tipc_crypto_key_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ukey | 4096-ptr_max |
| PARAM_VALUE | 1 | ukey->alg_name | 1-u64max |
| PARAM_VALUE | 1 | ukey->keylen | 20,28,36 |
| PARAM_VALUE | 2 | mode | 1-2 |
| FUZZY_MAX | 2 | mode | 2 |
| HARD_MAX | 2 | mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/tipc/crypto.c tipc_crypto_work_rx() -> tipc_crypto_key_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->key_distr.counter | 0-s32max |
| PARAM_VALUE | 0 | c->net | 4096-ptr_max |
| PARAM_VALUE | 0 | c->net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | c->skey | 1-u64max |
| PARAM_VALUE | 1 | ukey | 1-u64max |
| PARAM_VALUE | 3 | master_key | 0 |
| CAPPED_DATA | 0 | c->net->gen | 1 |
| HALF_LOCKED2 | &pool->lock |
net/tipc/crypto.c tipc_crypto_work_tx() -> tipc_crypto_key_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->aead | 4096-ptr_max |
| PARAM_VALUE | 1 | ukey | 4096-ptr_max |
| PARAM_VALUE | 1 | *ukey->key | 0-255 |
| PARAM_VALUE | 2 | mode | 2 |
| PARAM_VALUE | 3 | master_key | 0 |
| BUF_SIZE | 1 | ukey | s32min-s32max |
| DATA_SOURCE | 1 | ukey | r kmemdup_noprof |
| HALF_LOCKED2 | &pool->lock |