Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/bluetooth/selftest.c test_ecdh_sample() -> compute_ecdh_secret()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| PARAM_VALUE | 2 | secret | 4096-ptr_max |
| BUF_SIZE | 1 | public_key | 64 |
| BUF_SIZE | 1 | public_key | 64 |
| BUF_SIZE | 2 | secret | 64 |
| BUF_SIZE | 2 | secret | 64 |
| DATA_SOURCE | 0 | tfm | $0 |
| DATA_SOURCE | 1 | public_key | $4 |
net/bluetooth/selftest.c test_ecdh_sample() -> compute_ecdh_secret()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| PARAM_VALUE | 2 | secret | 4096-ptr_max |
| BUF_SIZE | 1 | public_key | 64 |
| BUF_SIZE | 1 | public_key | 64 |
| BUF_SIZE | 2 | secret | 32 |
| BUF_SIZE | 2 | secret | 32 |
| DATA_SOURCE | 0 | tfm | $0 |
| DATA_SOURCE | 1 | public_key | $3 |
net/bluetooth/smp.c smp_cmd_public_key() -> compute_ecdh_secret()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | public_key | 64 |
| BUF_SIZE | 2 | secret | 32 |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |