Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/smp.c sc_passkey_round() -> sc_mackey_and_ltk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->method | 2,5 |
| PARAM_VALUE | 0 | smp->passkey_round | 20 |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 1 | mackey | 16 |
| BUF_SIZE | 2 | ltk | 16 |
| DATA_SOURCE | 0 | smp | $0 |
| FUZZY_MAX | 0 | smp->method | 5 |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c smp_cmd_pairing_random() -> sc_mackey_and_ltk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->method | 0-1,3-4,6-255 |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 1 | mackey | 16 |
| BUF_SIZE | 2 | ltk | 16 |
| FUZZY_MAX | 0 | smp->method | 4 |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |