Lines Matching refs:bt_keys
35 LOG_MODULE_REGISTER(bt_keys);
37 static struct bt_keys key_pool[CONFIG_BT_MAX_PAIRED];
43 static struct bt_keys *last_keys_updated;
53 struct bt_keys *key; in find_key_in_use()
88 struct bt_keys *bt_keys_get_addr(uint8_t id, const bt_addr_le_t *addr) in bt_keys_get_addr()
90 struct bt_keys *keys; in bt_keys_get_addr()
112 struct bt_keys *oldest = NULL; in bt_keys_get_addr()
116 struct bt_keys *current = &key_pool[i]; in bt_keys_get_addr()
168 struct bt_keys *keys = &key_pool[i]; in bt_foreach_bond()
183 void bt_keys_foreach_type(enum bt_keys_type type, void (*func)(struct bt_keys *keys, void *data), in bt_keys_foreach_type()
197 struct bt_keys *bt_keys_find(enum bt_keys_type type, uint8_t id, const bt_addr_le_t *addr) in bt_keys_find()
215 struct bt_keys *bt_keys_get_type(enum bt_keys_type type, uint8_t id, const bt_addr_le_t *addr) in bt_keys_get_type()
217 struct bt_keys *keys; in bt_keys_get_type()
238 struct bt_keys *bt_keys_find_irk(uint8_t id, const bt_addr_le_t *addr) in bt_keys_find_irk()
287 struct bt_keys *bt_keys_find_addr(uint8_t id, const bt_addr_le_t *addr) in bt_keys_find_addr()
305 void bt_keys_add_type(struct bt_keys *keys, enum bt_keys_type type) in bt_keys_add_type()
312 void bt_keys_clear(struct bt_keys *keys) in bt_keys_clear()
331 int bt_keys_store(struct bt_keys *keys) in bt_keys_store()
352 struct bt_keys *keys; in keys_set()
438 static void id_add(struct bt_keys *keys, void *user_data) in id_add()
469 struct bt_keys *keys = bt_keys_find_addr(id, addr); in bt_keys_update_usage()
492 void bt_keys_show_sniffer_info(struct bt_keys *keys, void *data) in bt_keys_show_sniffer_info()
518 struct bt_keys *bt_keys_get_key_pool(void) in bt_keys_get_key_pool()
529 struct bt_keys *bt_keys_get_last_keys_updated(void) in bt_keys_get_last_keys_updated()