Safe API Framework
0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Toggle main menu visibility
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>
12
#include "
rte/oal/random/rte_random.h
"
13
#include "
rte/utils/status/rte_status.h
"
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
25
typedef
struct
rte_osadapter_random_s
26
{
27
rte_status_t
(*fill)(uint8_t *out,
size_t
len);
28
}
rte_osadapter_random_t
;
29
38
rte_status_t
rte_osadapter_random_register
(
const
rte_osadapter_random_t
*adapter);
39
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif
/* RTE_OSADAPTER_RANDOM_H */
rte_status_t
rte_status_t
Common result/status codes.
Definition
rte_status.h:27
rte_osadapter_random_register
rte_status_t rte_osadapter_random_register(const rte_osadapter_random_t *adapter)
Registers the OSAdapter random implementation.
Definition
rte_random.c:16
rte_random.h
OS Abstraction Layer - Cryptographically secure random bytes.
rte_status.h
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
rte_osadapter_random_t
OSAdapter random operations vtable.
Definition
rte_osadapter_random.h:26
include
rte_osadapter
random
rte_osadapter_random.h
Generated by
1.18.0