Frank Denis
afb89c7e16
Some systems have arc4random() but not arc4random_buf()
2013-10-22 02:54:45 -07:00
Frank Denis
08e37807ae
Bump version to 0.4.4
2013-10-21 20:43:44 -07:00
Frank Denis
875f4210ef
Check for arc4random()
2013-10-06 15:40:03 -07:00
Frank Denis
008808742b
Bump library minor
2013-10-05 14:14:18 -07:00
Frank Denis
b9b293c0ab
Add msvc scripts to the tarballs
2013-09-30 13:36:31 -07:00
Frank Denis
30026fbbfe
Check for inline vs __inline for MSVC
2013-09-24 13:23:48 -07:00
Frank Denis
656d8d6495
Disable donna_c64 on big endian architectures for now
2013-09-21 20:07:50 -07:00
Frank Denis
48f46304ce
Crank library minor
2013-09-09 22:21:53 -07:00
Frank Denis
38d0a4d1ca
Disable asm on x86_64-*-cygwin*, thanks to neheb@
2013-09-09 00:01:55 -07:00
Frank Denis
43f370671c
Actually disable PIE on mingw*
2013-09-08 23:45:15 -07:00
Frank Denis
e12b5bd8fb
Bump package version
2013-09-08 22:20:42 -07:00
Frank Denis
4b08902232
Disable asm on mingw64
2013-09-08 22:06:27 -07:00
Frank Denis
9ee3bd5d56
Use AS_CASE
2013-09-08 10:44:07 -07:00
Frank Denis
493f71a98a
Use autoconf to possibly define CPU_ALIGNED_ACCESS_REQUIRED
2013-09-08 10:39:27 -07:00
Frank Denis
5cfce7ef82
Reduce the 128-bit arithmetic compiler bug test case even further
2013-09-08 02:25:48 -07:00
Frank Denis
7544cba1fa
Test a minimum case that crashes gcc when compiling smult_curve25519_donna_c64
...
Delta and C-Reduce are amazing debugging tools.
2013-09-08 02:15:12 -07:00
Frank Denis
84f634a8f2
Requires at least autoconf 2.65
2013-08-26 23:37:08 -07:00
Frank Denis
74031ee550
Make --disable-blocking-random and --disable-debug no-ops
2013-08-18 14:06:00 -06:00
Christian Wiese
2f64b991b6
build: changed to only generate/install .pc file if pkg-config is found
...
This change improves the pkg-config support to only generate/install a .pc
file if pkg-config is found, assuming it is part of the build toolchain.
Note:
The minimal version set for pkg-config is 0.25, because this is the oldest
version I am able to test at the moment.
2013-08-12 15:16:23 -07:00
Christian Wiese
24510eb3e9
build: create and install a pkgconfig file
...
This adds trivial changes to the autotools infrastructur and a
template to generate and install a pkgconfig file libsodium.pc.
2013-08-11 23:18:14 +02:00
Frank Denis
675541b6f2
Rename ChangeLog to NEWS, change autoconf strictness to foreign,
...
rename COPYING to LICENSE.
2013-08-05 11:19:13 -07:00
Frank Denis
c6ad966868
Reorder automake options
2013-07-29 09:35:09 -07:00
Frank Denis
898cadc3e6
Set subdir-objects
2013-07-20 18:04:34 -07:00
Frank Denis
de78d541d6
Crank library minor
2013-07-12 09:49:44 -07:00
Frank Denis
a6490db658
Don't -> Do not
2013-07-07 22:38:51 -07:00
Frank Denis
09a4848fc9
Document --disable-pie instead of --enable-pie
2013-07-07 22:35:34 -07:00
Frank Denis
617eb6d26f
Move --enable-pie switch
2013-07-07 22:29:58 -07:00
Frank Denis
51d91d1115
autoconf: move the last switch, --enable-debug
2013-07-07 22:25:20 -07:00
Frank Denis
1d921e45da
autoconf: keep moving switches to the top of the file
2013-07-07 22:20:27 -07:00
Frank Denis
c06e228867
autoconf: start moving AC_ARG_ENABLE macros to the top of the script.
2013-07-07 21:46:44 -07:00
Frank Denis
c8a44ba02e
Disable asm implementations when compiling to javascript with emscripten.
2013-07-07 21:33:41 -07:00
Frank Denis
f66ab14d7f
Remove -I/usr/local/include and -L/usr/local/lib
...
libsodium doesn't have any dependency on 3rd party libs.
2013-07-07 19:18:03 -07:00
Frank Denis
c828d169c6
Prepare for a version bump.
2013-07-07 14:10:02 -07:00
Frank Denis
1a0a89df33
No need to define CROSS_COMPILING
2013-05-13 12:45:58 -07:00
Frank Denis
210de1570a
Add --disable-asm option to disable assembly implementations.
...
Check that fesetenv() and fegetenv() are available. If they aren't, still
compile the floating-point implementation of poly1305, but never pick it
in sodium_init().
This helps libsodium compile and work on Emscripten and on environments with
an incomplete libc.
2013-04-28 09:44:23 -07:00
Frank Denis
a68f217a80
Fix AC_INIT()
2013-04-27 16:39:23 -07:00
Frank Denis
02f98ce727
Only trust clang support for mode(TI) on amd64
2013-04-27 14:28:18 -07:00
Frank Denis
bb70f436d0
Just check cpuid itself, don't clobber %ebx
2013-04-27 14:07:39 -07:00
Frank Denis
46f5ec89a6
Fix __STDC_LIMIT_MACROS autoconf check
2013-04-27 13:42:55 -07:00
Frank Denis
318d54e990
Check whether __STDC_LIMIT_MACROS is required
2013-04-27 13:40:22 -07:00
Frank Denis
e5e7c7cc07
Add package URL
2013-04-27 11:42:27 -07:00
Frank Denis
808d1807dc
Add optimized salsa20 amd64 assembly implementation
2013-04-27 10:21:32 -07:00
Frank Denis
ffb1e24ef1
Make the crypto_stream_salsa20 implementation switchable at compile-time
2013-04-27 09:12:26 -07:00
Frank Denis
a669e9353d
Fix ssse3 detection
2013-04-26 22:53:07 -07:00
Frank Denis
2055e38bc6
Just reformat some confusing construction in configure.ac
2013-04-26 22:00:00 -07:00
Frank Denis
ce38abed70
Include <stdlib.h> for NULL in the cpuid autoconf test.
2013-04-26 13:26:10 -07:00
Frank Denis
ba104b2706
-Wbounded is nice, but clang reports the same thing nowadays.
2013-04-25 23:27:47 -07:00
Frank Denis
9131967397
We don't need libltdl
2013-04-25 22:51:19 -07:00
Frank Denis
8574a58488
Bump package version minor
2013-04-25 22:42:35 -07:00
Frank Denis
87a6d01115
Bump library version minor
2013-04-25 21:52:27 -07:00