keys.h 547 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: LGPL-2.1-or-later */
  2. /*
  3. *
  4. * BlueZ - Bluetooth protocol stack for Linux
  5. *
  6. * Copyright (C) 2011-2014 Intel Corporation
  7. * Copyright (C) 2002-2010 Marcel Holtmann <marcel@holtmann.org>
  8. *
  9. *
  10. */
  11. #include <stdint.h>
  12. #include <stdbool.h>
  13. void keys_setup(void);
  14. void keys_cleanup(void);
  15. void keys_update_identity_key(const uint8_t key[16]);
  16. void keys_update_identity_addr(const uint8_t addr[6], uint8_t addr_type);
  17. bool keys_resolve_identity(const uint8_t addr[6], uint8_t ident[6],
  18. uint8_t *ident_type);