Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
rte_osadapter_random.h
Go to the documentation of this file.
1
7#ifndef RTE_OSADAPTER_RANDOM_H
8#define RTE_OSADAPTER_RANDOM_H
9
10#include <stddef.h>
11#include <stdint.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
25typedef struct rte_osadapter_random_s
26{
27 rte_status_t (*fill)(uint8_t *out, size_t len);
29
39
40#ifdef __cplusplus
41}
42#endif
43
44#endif /* RTE_OSADAPTER_RANDOM_H */
rte_status_t
Common result/status codes.
Definition rte_status.h:27
rte_status_t rte_osadapter_random_register(const rte_osadapter_random_t *adapter)
Registers the OSAdapter random implementation.
Definition rte_random.c:16
OS Abstraction Layer - Cryptographically secure random bytes.
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
OSAdapter random operations vtable.