27#include "nimble/porting/nimble/include/syscfg/syscfg.h"
30#define BLE_USES_HW_WHITELIST (0)
32#define BLE_USES_HW_WHITELIST MYNEWT_VAL(BLE_HW_WHITELIST_ENABLE)
36uint8_t ble_hw_whitelist_size(
void);
39void ble_hw_whitelist_clear(
void);
42void ble_hw_whitelist_rmv(
const uint8_t *addr, uint8_t addr_type);
45int ble_hw_whitelist_add(
const uint8_t *addr, uint8_t addr_type);
48void ble_hw_whitelist_enable(
void);
51void ble_hw_whitelist_disable(
void);
54int ble_hw_whitelist_match(
void);
57struct ble_encryption_block;
58int ble_hw_encrypt_block(
struct ble_encryption_block *ecb);
61typedef void (*ble_rng_isr_cb_t)(uint8_t rnum);
62int ble_hw_rng_init(ble_rng_isr_cb_t cb,
int bias);
69int ble_hw_rng_start(
void);
76int ble_hw_rng_stop(
void);
83uint8_t ble_hw_rng_read(
void);
86void ble_hw_resolv_list_clear(
void);
89int ble_hw_resolv_list_add(uint8_t *irk);
92void ble_hw_resolv_list_rmv(
int index);
95uint8_t ble_hw_resolv_list_size(
void);
98int ble_hw_resolv_list_match(
void);
101int ble_hw_get_public_addr(ble_addr_t *addr);
104int ble_hw_get_static_addr(ble_addr_t *addr);