1 /* 2 * Copyright (c) 2016 Nordic Semiconductor ASA 3 * Copyright (c) 2016 Vinayak Kariappa Chettimada 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 #ifndef DOUBLE_BUFFER_SIZE 9 #define DOUBLE_BUFFER_SIZE 2 10 #endif 11 12 #ifndef TRIPLE_BUFFER_SIZE 13 #define TRIPLE_BUFFER_SIZE 3 14 #endif 15 16 #include <stddef.h> 17 18 uint8_t util_ones_count_get(uint8_t *octets, uint8_t octets_len); 19 20 int util_rand(void *buf, size_t len); 21 22 int util_aa_le32(uint8_t *dst); 23