mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-12 06:51:57 +00:00
Use the NRF RNG entropy device as the entropy device for bt_rand and controller internal functions when LLL is Nordic. Using an entropy source with a significant increase in stack usage will invalidate all stack size configurations in the system and lead to stack overflow issues. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
20 lines
399 B
C
20 lines
399 B
C
/*
|
|
* Copyright (c) 2016-2020 Nordic Semiconductor ASA
|
|
* Copyright (c) 2016 Vinayak Kariappa Chettimada
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <stddef.h>
|
|
|
|
#ifndef DOUBLE_BUFFER_SIZE
|
|
#define DOUBLE_BUFFER_SIZE 2
|
|
#endif
|
|
|
|
#ifndef TRIPLE_BUFFER_SIZE
|
|
#define TRIPLE_BUFFER_SIZE 3
|
|
#endif
|
|
|
|
uint8_t util_ones_count_get(uint8_t *octets, uint8_t octets_len);
|
|
int util_aa_le32(uint8_t *dst);
|