Welcome to mirror list, hosted at ThFree Co, Russian Federation.

furi_hal_random.h « furi_hal_include « targets « firmware - github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa549d23d5bda2fc82ca54255f76d1c3a945ba51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

/** Get random value
 *
 * @return     random value
 */
uint32_t furi_hal_random_get();

/** Fill buffer with random data
 *
 * @param      buf  buffer pointer
 * @param      data buffer len
 */
void furi_hal_random_fill_buf(uint8_t* buf, uint32_t len);

#ifdef __cplusplus
}
#endif