summaryrefslogtreecommitdiff
path: root/libs/libsodium/src/include/sodium/randombytes_internal_random.h
blob: 2b2b7d6edc11a2fef58bd731663058fe4cb7855e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#ifndef randombytes_internal_random_H
#define randombytes_internal_random_H

#include "export.h"
#include "randombytes.h"

#ifdef __cplusplus
extern "C" {
#endif

SODIUM_EXPORT
extern struct randombytes_implementation randombytes_internal_implementation;

/* Backwards compatibility with libsodium < 1.0.18 */
#define randombytes_salsa20_implementation randombytes_internal_implementation

#ifdef __cplusplus
}
#endif

#endif