aboutsummaryrefslogtreecommitdiffstats
path: root/src/curve25519-donna.h
blob: e707e22934fe0ff96abb75fd0bf1ca9726bcb5f2 (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
28
29
30
31
32
#include "curve25519.h"
#include "curve25519-donna-portable.h"

#if defined(CURVE25519_SSE2)
#else
	#if defined(HAVE_UINT128) && !defined(CURVE25519_FORCE_32BIT)
		#define CURVE25519_64BIT
	#else
		#define CURVE25519_32BIT
	#endif
#endif

#if !defined(CURVE25519_NO_INLINE_ASM)
#endif


#if defined(CURVE25519_SSE2)
	#include "curve25519-donna-sse2.h"
#elif defined(CURVE25519_64BIT)
	#include "curve25519-donna-64bit.h"
#else
	#include "curve25519-donna-32bit.h"
#endif

#include "curve25519-donna-common.h"

#if defined(CURVE25519_SSE2)
	#include "curve25519-donna-scalarmult-sse2.h"
#else
	#include "curve25519-donna-scalarmult-base.h"
#endif