Frank Denis
4917510626
Regen ./configure
2018-10-31 10:44:27 +01:00
Frank Denis
43d51e4e6d
Disable AVX512 when using ancient versions of GCC
2018-10-31 10:38:43 +01:00
Frank Denis
1dae690ad7
Avoid memset(NULL, _, 0)
2018-10-18 13:49:42 +02:00
Frank Denis
0d948d4b7e
Use chacha20_ietf in the tv_ietf test
...
Fixes #772
2018-10-18 00:43:55 +02:00
Frank Denis
574a45afc3
Add a dummy return value
2018-09-30 23:49:57 +02:00
Ryan Lester
2a8c2426b5
useBackupModule getRandomValue fix
2018-09-30 00:41:45 +02:00
SlavSlavov
70d52cbea2
Update Findsodium.cmake
...
A STREQUAL was left during the previous fix. Removed now.
2018-09-27 18:51:04 -05:00
SlavSlavov
c0cb0a9f98
Update Findsodium.cmake
...
When libsodium is build and installed from source, the line:
list(REMOVE_DUPLICATES sodium_PKG_STATIC_LIBRARIES)
generates an error because sodium_PKG_STATIC_LIBRARIES is empty
The proposed change fixes this issue
2018-09-26 23:00:01 -06:00
Frank Denis
675a899d11
No need to provison for the tag if we are below SIZE_MAX
2018-09-12 15:26:38 +02:00
Frank Denis
90112d3eb0
Substract the number of blocks, and make similar code more uniform
2018-09-12 15:26:33 +02:00
Frank Denis
f9c1947fce
Do not count the overhead in xchacha20poly1305_MESSAGEBYTES_MAX
2018-09-12 08:44:06 +02:00
Ryan Lester
c3aaa3c5c6
asm.js fallback fix
2018-09-04 15:47:39 +02:00
Frank Denis
41c87891dc
Emscripten: remove -s NO_FILESYSTEM=1
...
Emscripten support for this has been broken for way too long.
2018-08-29 14:02:57 +02:00
Frank Denis
2fe2893616
Indent
2018-08-27 12:30:06 +02:00
Jakob Rieck
d7df251cd0
Fixes padding for blocksizes > 256
2018-08-27 12:22:07 +02:00
Ryan Lester
51d76b88df
iOS fix
2018-08-23 10:18:31 +02:00
Ruslan Baratov
16744191cc
Remove '*.cmake' pattern from .gitignore
2018-08-07 20:22:56 +02: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
2052cc7847
strnlen() may not be available everywhere
2018-07-22 21:55:01 +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
e8fea07f19
memchr() can process its input in any order
...
Fixes #737
2018-07-22 21:27:56 +02:00
Frank Denis
dcd9b13e31
Nits
2018-07-19 14:44:42 +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
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
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
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
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
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
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
Frank Denis
5ebc0d4029
Embed bitcode in iOS builds
2018-02-24 01:47:51 +01:00
Frank Denis
b862bf0267
Include limits.h for ancient Android NDKs. Sigh.
2018-01-19 16:46:46 +01:00
Frank Denis
729d80a1ac
Include <stdint.h> for SIZE_MAX, and <stddef.h> as a dependency
2018-01-19 15:25:39 +01:00
Frank Denis
f1e330d7d7
Regen configure
2018-01-17 01:29:43 +01:00
Frank Denis
19d1affa79
Revert "Check for -mretpoline / -zretpolineplt support"
...
This reverts commit 93887f179d
.
2018-01-17 01:28:46 +01:00
Frank Denis
046821b5c1
emscripten: do not use closure
2018-01-15 13:33:58 +01:00
Frank Denis
60e86eb03d
Regen configure
2018-01-07 15:41:43 +01:00
Frank Denis
482ec23611
Check for __aarch64__ instead of __ARM_NEON for 128-bit arithmetic
2018-01-07 15:41:27 +01:00
Frank Denis
4df69b6310
Regen configure
2018-01-04 18:05:54 +01:00
Frank Denis
d76885d554
Check for -mretpoline / -zretpolineplt support
2018-01-04 18:05:26 +01:00
Frank Denis
5398407a5b
2018
2018-01-04 18:05:23 +01:00
Frank Denis
090b8318cb
Regen configure script
2017-12-31 01:37:28 +01:00
Frank Denis
59f8556bfa
Check if we can use inline asm code, not only on x86_64
2017-12-31 01:24:26 +01:00
Frank Denis
8c2e89d109
Use (""::"r"(pnt):"memory") instead of (""::"p"(pnt)) for the barrier
2017-12-31 01:10:48 +01:00
Frank Denis
88c1dd29ce
Disable LTO in ios/osx build scripts
2017-12-31 00:57:16 +01:00
Frank Denis
103e3decad
Regen configure
2017-12-27 09:28:09 +01:00