Frank Denis
67a7df73b1
Add all the Visual Studio files in the tarball
This is gonna make a big tarball!
Fixes #569
7 years ago
Frank Denis
30e8a2b231
The time has come to use memset_s() if available
memset_s() detection had been removed from the autoconf script a long
time ago because it was incorrectly defined in some obsolete Xcode version.
We're in year 2017, move on.
7 years ago
Frank Denis
24335c250d
Bump
7 years ago
Frank Denis
c3045e2cb0
Check that SIGSEGV handlers work
Tools such as ASAN may trap violations instead of our handlers,
making the sodium_utils{2,3} test fail.
This has been documented for a long time, but it's probably better
to detect this and ignore tests depending on working signal handlers.
7 years ago
Frank Denis
00777f7f10
Clarify what --disable-asm does
7 years ago
Frank Denis
dfc226fed6
Try linking _xgetbv() for obsolete mingw versions
7 years ago
Frank Denis
7fa678bdca
April 1st is over
This reverts commit 1668847409
.
7 years ago
Frank Denis
1668847409
Add support for random.org as a CSPRNG
7 years ago
Frank Denis
aa7ded10e7
Bump package (not library) version
7 years ago
Frank Denis
5a49069ae0
Bump revision
7 years ago
Frank Denis
b434f5ac5b
Add -Wshorten-64-to-32 if supported
7 years ago
Frank Denis
40511c47d4
Compilation with -march=native fails on Raspbian/Raspberry Pi 3
7 years ago
Frank Denis
8679e717db
+ sodium_library_minimal() and SODIUM_LIBRARY_MINIMAL
7 years ago
Frank Denis
e8182741b5
Less confusing autoconf checking messages
7 years ago
Frank Denis
1c2ce89326
_xgetbv() can be defined as a macro, so try an actual compilation
7 years ago
Frank Denis
e5a196a8ee
Always include intrin.h if available
7 years ago
Frank Denis
9eea164007
Check for _xgetbv() presence
7 years ago
Frank Denis
9294e2e699
Revamp the salsa20 implmentations and structure
- Factorize core_salsa20{20,12,8}
- Add support for multiple salsa20 implementations
- Replace the assembly SSE2 implementation with its equivalent using intrisics
7 years ago
Frank Denis
40b4462239
Version bump [not released yet]
7 years ago
Frank Denis
9f489f0794
Compile with -Wno-type-limits
8 years ago
Frank Denis
f31a4b759d
Tweak AX_CHECK_COMPILE_FLAG to also try to link the test program
8 years ago
Frank Denis
db97a35502
Check if atomic operations are supported
8 years ago
Frank Denis
b1f56de00b
Import contrib/FindSodium.cmake
8 years ago
Frank Denis
68564326e1
A compiler *can* still optimize this out
8 years ago
Ilya Maykov
a3b68738db
Better AVX2 detection, try 2 (only using intrinsic functions) ( #420 )
* Better AVX2 detection, try 2 (only using intrinsic functions)
* Slight change to AVX2 detection per jedisct1's feedback
8 years ago
Frank Denis
e08feb04d9
Pasto: CFLAGS_AVX -> CFLAGS_AVX2
Spotted by @ivmaykov
8 years ago
Frank Denis
fa18ba7505
Revert "Better AVX2 detection for GCC compilers"
This reverts commit 534e0774e3
.
8 years ago
Ilya Maykov
534e0774e3
Better AVX2 detection for GCC compilers
8 years ago
Frank Denis
351ae49e53
cpuid is not available on i686-nacl
8 years ago
Frank Denis
29492143ab
Warn if the library is being compiled in a custom way
8 years ago
Frank Denis
a7a3235a39
Version bump (not released yet)
8 years ago
Frank Denis
ba9c296108
Correct whitespace in path detection, and turn it into a fatal error
8 years ago
Frank Denis
474952d3f1
Try using cpuid on NativeClient
8 years ago
Frank Denis
a87d30f3af
Try MMX/SSE/SSE2/SSE3/SSSE4/SSE4.1 instructions on NativeClient
8 years ago
Frank Denis
00e156198a
Disable SIMD instructions on NativeClient
8 years ago
Frank Denis
d463dadc51
Disable ssp and aesni on nativeclient, nativeclient.sh->nativeclient-pnacl.sh
8 years ago
Frank Denis
fbad64f6ef
Disable asm on native client
8 years ago
Frank Denis
f8ff8ebf66
Add locks around sodium_init()
8 years ago
Frank Denis
e816ffb56c
Quotes
8 years ago
Frank Denis
bdf5c8246b
Compile with pthreads
8 years ago
Frank Denis
daeaf63f9c
Not an ELF system, not an Apple system, weak symbols may not work
8 years ago
Frank Denis
703120c1a2
Version bump [only the package]
8 years ago
Frank Denis
abdc839367
Workaround for old gcc versions missing _mm256_broadcastsi128_si256()
Some old gcc versions define vbroadcasti128 as
_mm_broadcastsi128_si256() not _mm256_broadcastsi128_si256().
Detect this, and use _mm_broadcastsi128_si256() in that case.
8 years ago
Frank Denis
c2b8ffb53d
NO_BROWSER is not required any more, even for tests
8 years ago
Frank Denis
2b1d7cb750
Revisit the default set of compiler warnings
8 years ago
Frank Denis
55c3eed151
Have the SSE2 test trigger a conversion with old gcc versions
8 years ago
Frank Denis
3f765f1737
Old gcc versions need -flax-vector-conversions to compile some intrinsics
8 years ago
Frank Denis
b31f59d835
-save-temps is messing with the detection of supported directives
Remove it from --enable-opt, and don't use any directives to restrict
symbol visibility if detection appears to be unreliable
8 years ago
Frank Denis
f4cc8aeb48
Force LITTLE_ENDIAN detection on x86 and x86_64
This is a sad workaround for CompCert 2.6
8 years ago
Frank Denis
7bb9b7fc70
Endianness
8 years ago