Commit Graph

200 Commits

Author SHA1 Message Date
Frank Denis
88c42e7daa Check SIMD headers 2013-04-25 09:37:04 -07:00
Frank Denis
91e75fc973 Use -fPIC even on Win32, since libtool reintroduces it no matter what. 2013-04-24 13:08:25 -07:00
Frank Denis
e34aeffd3c Don't export symbols by default. 2013-04-24 08:46:39 -07:00
Frank Denis
52565edee1 Remove LIBTOOL_EXTRA_FLAGS and -fPIC (implicit) on Win32 2013-04-23 21:55:48 -07:00
Frank Denis
e53b67924b Looks like AC_LIBTOOL_WIN32_DLL is still required these days. 2013-04-23 21:33:58 -07:00
Frank Denis
655a9589b8 Output .DEF file on Win32 2013-04-23 21:24:35 -07:00
Frank Denis
245bd75753 Remove ssp by default on cygwin 2013-04-22 13:16:03 -07:00
Frank Denis
019064e663 Use HAVE_TI_MODE for the macro and HAVE_TI_MODE_V for the substitution 2013-04-21 17:32:10 -07:00
Frank Denis
476730ae69 Define NATIVE_LITTLE_ENDIAN / NATIVE_BIG_ENDIAN if we can 2013-04-21 17:32:09 -07:00
Frank Denis
2b2b9846a6 Only compile curve25519_ref or curve25519_donna_c64 2013-04-21 17:32:07 -07:00
Frank Denis
2916224650 Use curve25519_donna_c64 instead of curve25519_ref if supported. 2013-04-21 17:32:07 -07:00
Frank Denis
8e7bb5d0ce Move sodium-specific files to a dedicated directory 2013-04-21 17:32:04 -07:00
Frank Denis
707dcb0c44 Check if we need -lm for fe[gs]etenv() 2013-04-21 17:32:03 -07:00
Frank Denis
e59ed29ee8 Export the shared library version, not just the package version. 2013-03-31 15:22:43 -07:00
Frank Denis
b88d92d69d Replace the ed25519 ref implementation with ref10 from supercop 2013-03-25 11:47:15 -07:00
Frank Denis
4395817042 Check for gcc TI mode availablity 2013-03-17 18:40:14 -07:00
Frank Denis
289a75113c Remove SODIUM_PATH 2013-03-16 20:08:13 -07:00
Frank Denis
039636e34c Add a new --enable-debug autoconf switch
Remove duplicate --enable-blocking-random by the way
2013-03-16 20:06:00 -07:00
Frank Denis
f5f72f0165 Remove CurveCP 2013-03-16 19:59:25 -07:00
Frank Denis
f559391557 Remove (soon to be) obsolete -fcatch-undefined-c99-behavior 2013-03-11 22:40:58 -07:00
Frank Denis
421b0cf34b Define USE_*, HAVE_* and CROSS_COMPILING macros to 1 instead of just
defining then, for consistency.
2013-03-08 09:13:48 -08:00
Frank Denis
c595edd85e Update library version number 2013-03-03 14:06:20 -08:00
Frank Denis
37a1358b81 glibc needs -lrt to get clock_gettime()
Reported by csosstudy
2013-02-28 19:13:07 -08:00
Frank Denis
f5af42f48d CurveCP is optional 2013-02-18 15:28:43 -08:00
Frank Denis
926803f996 Move curvecp, split libcurvecp to its own dir 2013-02-18 15:14:55 -08:00
Frank Denis
60d788a444 Compile curvecp. This will be optional and disabled by default as it is
not exactly portable.
2013-02-18 13:56:29 -08:00
Frank Denis
5c946f9c61 Move tests to test/default and windows to quirks/windows.
test/default contains only tests using the default primitives
for a given operation. We need to add other tests as well.
2013-02-09 04:21:32 +08:00
Frank Denis
48aa6934df Add missing quotes around LIBTOOL_EXTRA_FLAGS 2013-02-05 08:01:00 -08:00
Frank Denis
eb96dcb0f7 Skip library version info on Windows 2013-02-04 22:52:51 -08:00
Frank Denis
2abcfa283a BUmp version to 0.3 2013-02-04 22:28:17 -08:00
Frank Denis
6d3afb32de Build the library as a module on Windows 2013-02-04 17:16:46 -08:00
Frank Denis
9abef59142 Bump lib source version 2013-02-04 14:52:57 -08:00
Frank Denis
2556007a6f Bump library and package version. 2013-01-28 21:43:15 -08:00
Frank Denis
d541144327 Add -Wsometimes-uninitialized 2013-01-21 20:50:50 -08:00
Frank Denis
7ba8af5936 Check for SecureZeroMemory at compile time. 2013-01-21 19:18:15 -08:00
Frank Denis
119011976b 3-digits version numbers are not required. 2013-01-21 18:17:09 -08:00
Frank Denis
412c5f4d0c Use /dev/random instead of /dev/urandom if needed. 2013-01-21 14:16:06 -08:00
Frank Denis
dde2e8086c Use salsa20_random() for randombytes, install libsodium-randombytes DLL. 2013-01-21 12:23:57 -08:00
Frank Denis
d84ccf2ad2 Make compilation less verbose by default, because this is a mess. 2013-01-20 18:06:07 -08:00
Frank Denis
b4e28221e8 Add library version 2013-01-20 17:51:57 -08:00
Frank Denis
91e342fb52 No need for AM_PROG_CC_C_O 2013-01-20 17:01:15 -08:00
Frank Denis
79f24e04e3 One more test 2013-01-20 15:25:22 -08:00
Frank Denis
c04d4816fb Start adding tests 2013-01-20 14:03:05 -08:00
Douglas Campos
ee16bc6e6c rename libnacl-ref -> libsodium 2013-01-20 17:23:32 -02:00
Douglas Campos
54049c230d remove 'do' leftovers 2013-01-20 17:13:43 -02:00
Frank Denis
00e6464173 Update github link 2013-01-20 00:51:21 -08:00
Frank Denis
cf110d7be3 Don't use config.h - We're not including any common headers. 2013-01-20 00:50:51 -08:00
Frank Denis
33f97cbb3b Replace the build system 2013-01-19 23:51:05 -08:00
Frank Denis
e770e627dd libtoolize and get ready for a lot of autotools fun. Not. 2013-01-19 16:37:13 -08:00
Frank Denis
95b9c37cc5 Import libnacl from dnscrypt-proxy 2013-01-19 16:02:02 -08:00