Frank Denis
6ea55eea2c
Travis: run PPC builds
2019-04-02 09:36:52 +02:00
Frank Denis
eebf2255ca
Regen
2019-03-30 11:25:40 +01:00
Frank Denis
dfa8222d27
POSIX threads can be available while mutexes are not implemented
...
This is the odd case of WASI right now
2019-03-30 11:23:20 +01:00
Frank Denis
daa6cb3e78
raise() may not be available
2019-03-26 14:38:55 +01:00
Frank Denis
b347bcfa89
Remove unnecessary brackets
2019-03-26 13:45:28 +01:00
Frank Denis
01ed4737af
Trust another safe arc4random() implementation
2019-03-26 13:44:28 +01:00
Frank Denis
8f8d060e11
Regen autoconf
2019-03-16 00:21:53 +01:00
Frank Denis
697a371a42
Don't enable the stack protector on unknown operating systems
2019-03-16 00:21:31 +01:00
Frank Denis
be509424e9
Typo
2019-02-09 20:49:52 +01:00
Frank Denis
43d131ccd1
Revert "Coverity Scan is having hosting issues"
...
This reverts commit 7d418f8203
.
2019-01-30 18:46:49 +01:00
Frank Denis
7d418f8203
Coverity Scan is having hosting issues
...
https://community.synopsys.com/s/article/Coverity-Scan-Update
2019-01-15 00:31:26 +01:00
Luca Boccassi
ecdcf55173
Add -pthread to pkgconfig's Libs.private if enabled
...
Allows static builds to correctly inherit the pthread dependency when
used with pkg-config --static --libs libsodium
AC_SUBST doesn't require explicit values
Regen autoconf
Fixes #800
2019-01-15 00:29:20 +01:00
Frank Denis
59f55cd420
Force clear the high bit in _noclamp variants
...
_noclamp variants should always be used with a scalar < L, but
if this is not the case, at least explicitly ignore the high bit.
2019-01-14 04:07:41 +01:00
Frank Denis
c2a98a170f
Try -ftree-vectorize and -ftree-slp-vectorize for optimized builds
2019-01-07 12:26:30 +01:00
Frank Denis
bbf14716f6
Merge branch 'master' into stable
...
* master:
undef _box_curve25519xchacha20poly1305_messagebytes_max in !sumo builds
Nits
2019-01-06 21:31:38 +01:00
Frank Denis
b7bf7d9c83
undef _box_curve25519xchacha20poly1305_messagebytes_max in !sumo builds
2019-01-06 20:33:22 +01:00
Frank Denis
b732443c44
undef _box_curve25519xchacha20poly1305_messagebytes_max in !sumo builds
2019-01-06 20:32:54 +01:00
Frank Denis
c943d18f38
Nits
2019-01-06 18:43:57 +01:00
Frank Denis
31ccbdec96
Nits
2019-01-06 18:43:38 +01:00
Frank Denis
b5b2aaffcc
Merge remote-tracking branch 'origin/master' into stable-1.0.17
...
* origin/master:
Bump DLL version
Offline documentation is only available in PDF format now
2019-01-06 17:34:04 +01:00
Frank Denis
4adf25c39f
Bump DLL version
2019-01-06 17:25:35 +01:00
Frank Denis
0b3e2e5742
Offline documentation is only available in PDF format now
2019-01-06 15:55:36 +01:00
Frank Denis
10ac185647
Merge branch 'master' into stable-1.0.17
...
* master: (190 commits)
fileinput is not used any more
2019
local-dynamic is enough
Set tls-model only if TLS is supported
Enable -ftls-model=global-dynamic if available
Set nonce in randombytes_salsa20_random_stir() instead of random_init()
Bump .NET version examples
Add another test
Avoid memory leak and overflow in addition test
Avoid partial array initialization
Bump SODIUM_LIBRARY_VERSION_MINOR
More tests
More tests
Improve clarity
ALLOW_MEMORY_GROWTH is now enabled
AVX512 detection has been improved
Add a conditional to enable retpoline support
must -> should
Add comments, avoid implicit array initialization
Add comments
...
2019-01-06 15:43:38 +01:00
Frank Denis
a75c137020
fileinput is not used any more
2019-01-06 15:38:24 +01:00
Frank Denis
0cf74a3104
2019
2019-01-06 14:42:47 +01:00
Frank Denis
462e9a648b
local-dynamic is enough
2019-01-06 05:04:34 +01:00
Frank Denis
79d6a211b2
Set tls-model only if TLS is supported
2019-01-06 04:52:41 +01:00
Frank Denis
0157a378ca
Enable -ftls-model=global-dynamic if available
2019-01-06 04:45:50 +01:00
Frank Denis
358767f238
Set nonce in randombytes_salsa20_random_stir() instead of random_init()
2019-01-06 04:31:44 +01:00
Frank Denis
ab0932bf80
Bump .NET version examples
2019-01-06 03:50:18 +01:00
Frank Denis
0cdf963799
Add another test
2019-01-05 23:11:02 +01:00
Frank Denis
909983a9d2
Avoid memory leak and overflow in addition test
2019-01-05 23:08:03 +01:00
Frank Denis
531b545578
Avoid partial array initialization
2019-01-05 22:58:07 +01:00
Frank Denis
b7cb241eb9
Bump SODIUM_LIBRARY_VERSION_MINOR
2019-01-05 22:09:32 +01:00
Frank Denis
d4eec69ef1
More tests
2019-01-05 21:17:48 +01:00
Frank Denis
0205a8035e
More tests
2019-01-05 20:56:22 +01:00
Frank Denis
48852da7cd
Improve clarity
2019-01-05 14:31:44 +01:00
Frank Denis
f5c14a46d0
ALLOW_MEMORY_GROWTH is now enabled
2019-01-04 18:36:15 +01:00
Frank Denis
a04f09298d
AVX512 detection has been improved
2019-01-04 12:52:59 +01:00
Frank Denis
a01c5f8fd8
Add a conditional to enable retpoline support
...
Using retpoline in userland code that doesn't run arbitrary code is
questionable to start with.
Linux is also getting SPECTRE v2 userspace-to-userspace protection.
In addition, some platforms have a gcc version that advertises
support for retpolines, but the resulting binaries simply don't work
or cannot be linked.
So, do not enable this by default. Let builders choose if they
really want to enable this in their builds.
2019-01-04 12:43:47 +01:00
Frank Denis
3ab71f873f
must -> should
2019-01-04 11:55:17 +01:00
Frank Denis
e45fadffb1
Add comments, avoid implicit array initialization
2019-01-03 22:44:58 +01:00
Frank Denis
1647f0d53a
Add comments
2019-01-03 22:28:59 +01:00
Frank Denis
32385c6b9a
Avoid negative indices, especially with unsigned types
2019-01-03 22:28:42 +01:00
Frank Denis
1cd6641cde
Add an extra compile-time assertion
2019-01-03 18:52:43 +01:00
Frank Denis
74ccac9e83
Do not assume that CRYPTO_ALIGN works
2019-01-03 18:34:24 +01:00
Frank Denis
3c59cebe91
Make the blake2b and poly1305 state opaque
2019-01-03 18:18:20 +01:00
Frank Denis
7ac557498f
C++ compat
2019-01-03 09:49:33 +01:00
Frank Denis
6fd78e4a39
More paranoid AVX512 detection
2019-01-02 17:35:15 +01:00
Frank Denis
e614671fc8
More paranoid AVX512 detection
2019-01-02 17:33:57 +01:00