keys.h 612 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: LGPL-2.1-or-later */
  2. /*
  3. *
  4. * BlueZ - Bluetooth protocol stack for Linux
  5. *
  6. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  7. *
  8. *
  9. */
  10. void keys_add_net_key(uint16_t net_idx);
  11. void keys_del_net_key(uint16_t net_idx);
  12. void keys_set_net_key_phase(uint16_t net_idx, uint8_t phase, bool save);
  13. bool keys_get_net_key_phase(uint16_t net_idx, uint8_t *phase);
  14. void keys_add_app_key(uint16_t net_idx, uint16_t app_idx);
  15. void keys_del_app_key(uint16_t app_idx);
  16. uint16_t keys_get_bound_key(uint16_t app_idx);
  17. bool keys_subnet_exists(uint16_t idx);
  18. void keys_print_keys(void);