1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 10:37:24 -07:00
Commit Graph

3785 Commits

Author SHA1 Message Date
Ruslan Baratov
93d683395f Remove '*.cmake' pattern from .gitignore 2018-08-07 18:24:27 +03:00
Frank Denis
49f112da5d xchacha20 test: initialize the full nonce
Spotted by @FiloSottile, thanks!

Fixes #742
2018-08-03 23:24:55 +02:00
Frank Denis
ccb2390e9c xchacha20 test: initialize the full nonce
Spotted by @FiloSottile, thanks!

Fixes #742
2018-08-03 23:23:53 +02:00
Frank Denis
2052cc7847 strnlen() may not be available everywhere 2018-07-22 21:55:01 +02:00
Frank Denis
7cdf3f0e84 strnlen() may not be available everywhere 2018-07-22 21:54:38 +02:00
Frank Denis
d2728ad93e Merge branch 'stable' of github.com:jedisct1/libsodium into stable
* 'stable' of github.com:jedisct1/libsodium:
  Nits
2018-07-22 21:40:51 +02:00
Frank Denis
922e4dcd9e Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Invert (1-y) just before the multiplication by (1+y) for readability
  Nits
2018-07-22 21:40:39 +02:00
Frank Denis
e8fea07f19 memchr() can process its input in any order
Fixes #737
2018-07-22 21:27:56 +02:00
Frank Denis
74ba82210e memchr() can process its input in any order
Fixes #737
2018-07-22 21:26:31 +02:00
Frank Denis
d25d6ce7fb Invert (1-y) just before the multiplication by (1+y) for readability 2018-07-21 00:43:39 +02:00
Frank Denis
dcd9b13e31 Nits 2018-07-19 14:44:42 +02:00
Frank Denis
91d9051bce Nits 2018-07-19 14:44:17 +02:00
Anton Maklakov
c398a51e21 Fix warnings that appeared in GCC7+ (related to -Wimplicit-fallthrough) 2018-07-04 21:19:04 +02:00
Frank Denis
875fbd0e91
Merge pull request #728 from antmak/fix_fallthrou_warnings
Fix warnings in GCC7 related to -Wimplicit-fallthrough
2018-07-04 21:18:32 +02:00
Anton Maklakov
f16896146a Fix warnings that appeared in GCC7+ (related to -Wimplicit-fallthrough) 2018-07-04 23:29:33 +07:00
Frank Denis
bc7eb925bb Clarify what --disable-asm does 2018-07-03 18:01:27 +02:00
Frank Denis
bff91a85f4 Clarify what --disable-asm does 2018-07-03 18:00:38 +02:00
Ryan Lester
973cdb5143 fix for emscripten breaking change (https://github.com/kripken/emscripten/pull/6419) 2018-06-30 20:59:57 +02:00
Frank Denis
850edc1175
Merge pull request #722 from buu700/master
Fix for emscripten breaking change
2018-06-27 21:15:21 +02:00
Ryan Lester
787d173483
fix for emscripten breaking change (https://github.com/kripken/emscripten/pull/6419) 2018-06-20 14:25:08 -04:00
Frank Denis
cfb0f94704 Visual Studio documentation states that eax/ecx/edx don't need to be
preserved in inline assembly code. But that doesn't seem to always
hold true on Visual Studio 2010.
2018-05-12 09:12:36 +02:00
Frank Denis
8b346c86b8 Visual Studio documentation states that eax/ecx/edx don't need to be
preserved in inline assembly code. But that doesn't seem to always
hold true on Visual Studio 2010.
2018-05-12 09:11:01 +02:00
Frank Denis
415f079692 zap trailing spaces 2018-04-29 17:49:01 +02:00
Frank Denis
9c6b2e0ceb zap trailing spaces 2018-04-29 17:48:39 +02:00
Tom Auger
7432c4394b Use _MESSAGEBYTES_MAX in crypto_aead_xchacha20poly1305 2018-04-29 17:48:03 +02:00
Emil Bay
1600dda632 Missing test for abytes 2018-04-29 17:47:55 +02:00
Frank Denis
754cff66d6
Merge pull request #712 from tom-auger/patch-1
Use _MESSAGEBYTES_MAX in crypto_aead_xchacha20poly1305
2018-04-29 17:47:00 +02:00
Tom Auger
462a8ab775 Use _MESSAGEBYTES_MAX in crypto_aead_xchacha20poly1305 2018-04-29 15:12:39 +01:00
Frank Denis
d8a5b63b7b
Merge pull request #706 from emilbayes/patch-1
Missing test for abytes
2018-04-12 18:05:36 +02:00
Emil Bay
2ad8162218
Missing test for abytes 2018-04-12 17:24:10 +02:00
Frank Denis
10207d5aa6 This reverts commit 38b19412e8. 2018-04-01 23:25:06 +02:00
Frank Denis
38b19412e8 Introduce pwhash_ntlm() for low-sodium, salt-free password hashing
. #passthesalt
2018-03-31 21:46:37 +02:00
Frank Denis
b3ffad3648 + lgtm.yml 2018-03-27 14:43:23 +02:00
Frank Denis
06ee95c3f1 Regen autoconf scripts 2018-03-14 12:03:49 -07:00
Frank Denis
31a876a525 build scripts: compile deprecated functions if LIBSODIUM_FULL_BUILD is defined 2018-03-14 12:01:10 -07:00
Frank Denis
7d4976a304 Check NPROCESSORS_ONLN in addition to _NPROCESSORS_ONLN 2018-03-07 10:14:01 +01:00
Frank Denis
816cef5de4 Hide getconf errors 2018-03-07 10:09:56 +01:00
Frank Denis
e1618774a8
Merge pull request #693 from joshjdevl/feature-procs
using POSIX getconf for number of available processors
2018-03-07 10:06:34 +01:00
joshjdevl
212187f87c using POSIX getconf for number of available processors http://pubs.opengroup.org/onlinepubs/9699919799/utilities/getconf.html 2018-03-07 07:15:01 +00:00
Frank Denis
13ed035d7d
Merge pull request #692 from kalaspuffar/master
Adding option to enable a full build
2018-03-06 22:06:25 +01:00
Daniel Persson
c7f0f05209 I turned it around. 2018-03-06 21:20:17 +01:00
Daniel Persson
9d582340c4 Change so we set depending on a full build flag. 2018-03-06 21:10:05 +01:00
Daniel Persson
2f4d911300 Change so all builds will allow full builds. 2018-03-06 20:36:39 +01:00
Daniel Persson
a0cbef0a4a Added configuration option to change the configuration flags. 2018-03-06 20:27:47 +01:00
Frank Denis
6382b91060 wasm bug check: use a function more likely to be present in minimal builds 2018-03-06 10:56:46 +01:00
Frank Denis
f11ffbdd67 wasm bug check: use a function more likely to be present in minimal builds 2018-03-06 10:56:05 +01:00
Ryan Lester
bb437be60c run-time wasm test before resolving ready 2018-03-06 10:54:42 +01:00
Frank Denis
cab7cc6a88
Merge pull request #691 from buu700/master
Run-time wasm test before resolving ready
2018-03-06 09:53:30 +01:00
Ryan Lester
19828dd329
run-time wasm test before resolving ready 2018-03-06 01:48:25 -05:00
Simon Warta
663c6f3af6 Remove obsolete setting FUNCTION_POINTER_ALIGNMENT
FUNCTION_POINTER_ALIGNMENT was removes from emscripten in January 2018:
https://github.com/kripken/emscripten/pull/6091
2018-03-02 11:28:50 +01:00