forked from TunSafe/TunSafe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tunsafe_amalgam.cpp
38 lines (33 loc) · 974 Bytes
/
tunsafe_amalgam.cpp
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
28
29
30
31
32
33
34
35
36
37
#include "build_config.h"
// Skip asm for IOS simulator
#if defined(OS_IOS) && defined(ARCH_CPU_X86_FAMILY)
#define CHACHA20_WITH_ASM 0
#define BLAKE2S_WITH_ASM 0
#endif
// Skip asm on arm64 android
#if defined(OS_ANDROID) && defined(ARCH_CPU_ARM64)
#define CHACHA20_WITH_ASM 0
#define BLAKE2S_WITH_ASM 0
#endif
#include "wireguard.cpp"
#include "wireguard_proto.cpp"
#include "wireguard_config.cpp"
#include "tunsafe_wg_plugin.cpp"
#include "util.cpp"
#include "tunsafe_threading.cpp"
#include "tunsafe_cpu.cpp"
#include "ip_to_peer_map.cpp"
#include "tunsafe_ipaddr.cpp"
#include "crypto/curve25519/curve25519-donna.cpp"
#include "crypto/chacha20poly1305.cpp"
#include "crypto/blake2s/blake2s.cpp"
#include "crypto/siphash/siphash.cpp"
#include "crypto/aesgcm/aesgcm.cpp"
#include "crypto/sha/sha1.cpp"
#include "network_common.cpp"
#if defined(WITH_NETWORK_BSD)
#include "network_bsd.cpp"
#include "tunsafe_bsd.cpp"
#include "ts.cpp"
#include "benchmark.cpp"
#endif