Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
lib/crypto/tests/curve25519_kunit.c benchmark_curve25519() -> curve25519()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | mypublic | 32 |
| BUF_SIZE | 1 | secret | 32 |
| BUF_SIZE | 1 | secret | 32 |
| BUF_SIZE | 2 | basepoint | 32 |
| BUF_SIZE | 2 | basepoint | 32 |
lib/crypto/tests/curve25519_kunit.c benchmark_curve25519() -> curve25519()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | mypublic | 32 |
| BUF_SIZE | 1 | secret | 32 |
| BUF_SIZE | 1 | secret | 32 |
| BUF_SIZE | 2 | basepoint | 32 |
| BUF_SIZE | 2 | basepoint | 32 |
| PREEMPT_ADD | <- disables preempt |
lib/crypto/tests/curve25519_kunit.c test_curve25519() -> curve25519()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | mypublic | 32 |
| BUF_SIZE | 1 | secret | 32 |
| BUF_SIZE | 2 | basepoint | 32 |
lib/crypto/tests/curve25519_kunit.c test_curve25519_basepoint() -> curve25519()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | secret | 1061454040666492928 |
| BUF_SIZE | 0 | mypublic | 32 |
| BUF_SIZE | 1 | secret | 32 |
drivers/net/wireguard/noise.c mix_dh() -> curve25519()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | mypublic | 32 |
| BUF_SIZE | 1 | secret | 32 |
| BUF_SIZE | 1 | secret | 32 |
| BUF_SIZE | 2 | basepoint | 32 |
| BUF_SIZE | 2 | basepoint | 32 |
| DATA_SOURCE | 1 | secret | $2 |
| DATA_SOURCE | 2 | basepoint | $3 |
| HALF_LOCKED2 | &handshake->lock | ||
| HALF_LOCKED2 | &handshake->static_identity->lock | ||
| HALF_LOCKED2 | &wg->static_identity.lock | ||
| TYPE_LOCK | (struct noise_static_identity)->lock |
drivers/net/wireguard/noise.c wg_noise_precompute_static_static() -> curve25519()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | mypublic | 32 |
| BUF_SIZE | 1 | secret | 32 |
| BUF_SIZE | 2 | basepoint | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &peer->handshake.lock | ||
| LOCK2 | &wg->device_update_lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &wg->static_identity.lock | ||
| 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 | ||
| TYPE_LOCK | (struct noise_handshake)->lock | ||
| TYPE_LOCK | (struct wg_device)->device_update_lock |