1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-29 17:48:10 +00:00
trezor-firmware/curve25519-donna/curve25519-donna.h

33 lines
647 B
C
Raw Normal View History

2016-10-24 18:51:57 +00:00
#include "curve25519.h"
#include "curve25519-donna-portable.h"
2016-10-24 18:51:57 +00:00
#if defined(CURVE25519_SSE2)
#else
#if defined(HAVE_UINT128) && !defined(CURVE25519_FORCE_32BIT)
#define CURVE25519_64BIT
#else
#define CURVE25519_32BIT
#endif
#endif
2016-10-24 18:51:57 +00:00
#if !defined(CURVE25519_NO_INLINE_ASM)
#endif
2016-10-24 18:51:57 +00:00
#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