Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/bluetooth/ecdh_helper.c generate_ecdh_keys() -> set_ecdh_privkey()

Type Parameter Key Value
DATA_SOURCE 0 tfm $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &conn->lock
HALF_LOCKED2 &hdev->lock
HALF_LOCKED2 global &mgmt_chan_list_lock

net/bluetooth/selftest.c test_ecdh_sample() -> set_ecdh_privkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 1 private_key 32
BUF_SIZE 1 private_key 32
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 private_key $1

net/bluetooth/selftest.c test_ecdh_sample() -> set_ecdh_privkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 1 private_key 32
BUF_SIZE 1 private_key 32
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 private_key $2

net/bluetooth/smp.c sc_send_public_key() -> set_ecdh_privkey()

Type Parameter Key Value
BUF_SIZE 1 private_key 32
RX_PATH
LOCK2 &conn->lock
HALF_LOCKED2 &chan->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct l2cap_conn)->lock

net/bluetooth/smp.c smp_generate_oob() -> set_ecdh_privkey()

Type Parameter Key Value
BUF_SIZE 1 private_key 32
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/smp.c test_debug_key() -> set_ecdh_privkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 1 private_key 32
DATA_SOURCE 0 tfm $0