2018-10-07 12:41:58 -05:00
|
|
|
#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
|
|
|
|
|
|
|
|
#include "wireguard.cpp"
|
|
|
|
#include "wireguard_proto.cpp"
|
|
|
|
#include "wireguard_config.cpp"
|
|
|
|
#include "util.cpp"
|
|
|
|
#include "tunsafe_threading.cpp"
|
|
|
|
#include "tunsafe_cpu.cpp"
|
|
|
|
#include "ip_to_peer_map.cpp"
|
2018-10-21 09:00:15 -05:00
|
|
|
#include "tunsafe_ipaddr.cpp"
|
2018-10-07 12:41:58 -05:00
|
|
|
#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"
|
2018-11-16 07:36:15 -06:00
|
|
|
#include "network_common.cpp"
|
2018-10-07 12:41:58 -05:00
|
|
|
|
|
|
|
#if defined(WITH_NETWORK_BSD)
|
|
|
|
#include "network_bsd.cpp"
|
2018-11-17 12:14:05 -06:00
|
|
|
#include "tunsafe_bsd.cpp"
|
2018-10-07 12:41:58 -05:00
|
|
|
#include "ts.cpp"
|
|
|
|
#include "benchmark.cpp"
|
|
|
|
#endif
|
|
|
|
|