Home
last modified time | relevance | path

Searched full:bt_keys_find (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find/src/
Dmain.c46 * Test calling bt_keys_find() with non-existing item
63 returned_ref = bt_keys_find(type, id, addr); in ZTEST()
64 zassert_true(returned_ref == NULL, "bt_keys_find() returned a non-NULL reference"); in ZTEST()
82 * Test calling bt_keys_find() with existing items
106 returned_ref = bt_keys_find(type, id, addr); in ZTEST()
108 zassert_true(returned_ref != NULL, "bt_keys_find() returned a NULL reference"); in ZTEST()
110 "bt_keys_find() returned unexpected reference"); in ZTEST()
Dtest_suite_find_invalid_inputs.c17 * Test calling bt_keys_find() with NULL address
30 bt_keys_find(0x00, 0x00, NULL); in ZTEST()
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find/
Dtestcase.yaml6 bluetooth.host.bt_keys_find.default:
DCMakeLists.txt7 project(bt_keys_find) project
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find_addr/src/
Dmain.c68 zassert_true(returned_ref == NULL, "bt_keys_find() returned a non-NULL reference"); in ZTEST()
/Zephyr-latest/subsys/bluetooth/host/
Dkeys.c197 struct bt_keys *bt_keys_find(enum bt_keys_type type, uint8_t id, const bt_addr_le_t *addr) in bt_keys_find() function
223 keys = bt_keys_find(type, id, addr); in bt_keys_get_type()
395 keys = bt_keys_find(BT_KEYS_ALL, id, &addr); in keys_set()
Dkeys.h153 struct bt_keys *bt_keys_find(enum bt_keys_type type, uint8_t id, const bt_addr_le_t *addr);
Dsmp.c388 conn->le.keys = bt_keys_find(BT_KEYS_LTK_P256, in smp_keys_check()
391 conn->le.keys = bt_keys_find(BT_KEYS_LTK, in smp_keys_check()
2853 conn->le.keys = bt_keys_find(BT_KEYS_LTK_P256, conn->id, in bt_smp_request_ltk()
2856 conn->le.keys = bt_keys_find(BT_KEYS_PERIPH_LTK, in bt_smp_request_ltk()
4166 conn->le.keys = bt_keys_find(BT_KEYS_LTK_P256, conn->id, in smp_security_request()
4169 conn->le.keys = bt_keys_find(BT_KEYS_LTK, conn->id, in smp_security_request()
4956 keys = bt_keys_find(BT_KEYS_REMOTE_CSRK, conn->id, &conn->le.dst); in bt_smp_sign_verify()
4992 keys = bt_keys_find(BT_KEYS_LOCAL_CSRK, conn->id, &conn->le.dst); in bt_smp_sign()