aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_random_openssl_internal.h
blob: 7784d560e0bd2274976c9d41a6c32dc62a4d0d29 (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
25
26
27
/* Copyright (c) 2020, Nokia
 * All rights reserved.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 */

#ifndef ODP_RANDOM_OPENSSL_INTERNAL_H_
#define ODP_RANDOM_OPENSSL_INTERNAL_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>

#include <odp/api/random.h>

odp_random_kind_t _odp_random_openssl_max_kind(void);
int32_t _odp_random_openssl_test_data(uint8_t *buf, uint32_t len, uint64_t *seed);
int32_t _odp_random_openssl_data(uint8_t *buf, uint32_t len, odp_random_kind_t kind);
int _odp_random_openssl_init_local(void);
int _odp_random_openssl_term_local(void);

#ifdef __cplusplus
}
#endif
#endif /* ODP_RANDOM_OPENSSL_INTERNAL_H_ */