Commit Graph

3642 Commits

Author SHA1 Message Date
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
Frank Denis
d64a3c6e2f
Merge pull request #686 from webmaster128/rm-FUNCTION_POINTER_ALIGNMENT
Remove obsolete setting FUNCTION_POINTER_ALIGNMENT
2018-03-02 11:28:07 +01:00
Simon Warta
029652e19c 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:18:38 +01:00
Frank Denis
94e04fe530 Embed bitcode in iOS builds 2018-02-24 01:48:39 +01:00
Frank Denis
5ebc0d4029 Embed bitcode in iOS builds 2018-02-24 01:47:51 +01:00
Frank Denis
28e62a6c86 Use only -mindirect-branch=thunk / -mretpoline for now
Move the application of these flags up
2018-02-21 01:59:15 +01:00
Frank Denis
1655dede9f Add retpoline support for clang
Assembly implementations don't seem to be using any indirect calls
2018-02-21 01:52:43 +01:00
Frank Denis
03f5e93e64 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Add spectre v2 migitations for GCC
2018-02-21 01:44:50 +01:00
Frank Denis
a7d03e0f17
Merge pull request #682 from hackersdotmu/master
Add spectre v2 migitations for GCC
2018-02-21 01:43:51 +01:00
Loganaden Velvindron
1203d721ce Add spectre v2 migitations for GCC 2018-02-18 18:58:24 +04:00
Frank Denis
356310ba76 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  README: link to libsodium-doc repository
2018-02-15 13:39:50 +01:00
Frank Denis
91b774d49d
Merge pull request #675 from enkore/patch-2
README: link to libsodium-doc repository
2018-02-07 17:50:04 +01:00
enkore
1d777b671d
README: link to libsodium-doc repository 2018-02-07 17:47:03 +01:00
Frank Denis
19f5c4f620 Include limits.h for ancient Android NDKs. Sigh. 2018-01-19 16:48:06 +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
57ca449c7e Include <stdint.h> for SIZE_MAX, and <stddef.h> as a dependency 2018-01-19 15:25:01 +01:00
Frank Denis
13513e886b Keep things simple; directly initialize the example RNG from the system one 2018-01-17 15:11:18 +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
673b2b2b1e Revert "Check for -mretpoline / -zretpolineplt support"
This reverts commit 93887f179d.
2018-01-17 01:28:35 +01:00
Frank Denis
e2581d9105 Swap #ifdef branches for clarity 2018-01-16 01:06:03 +01:00
Frank Denis
958060e2ec Signatures: do not reject weak public keys if ED25519_COMPAT is defined 2018-01-16 01:02:29 +01:00
Frank Denis
0468e778d2 Revert "Solaris Studio apparently supports __attribute__()"
This reverts commit 74a4496cc5.
2018-01-15 13:34:31 +01:00
Frank Denis
046821b5c1 emscripten: do not use closure 2018-01-15 13:33:58 +01:00
Frank Denis
bc6541a70a emscripten: do not use closure 2018-01-15 13:33:33 +01:00
Frank Denis
74a4496cc5 Solaris Studio apparently supports __attribute__()
Fixes #660
2018-01-14 23:09:46 +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
794ec886e7 Check for __aarch64__ instead of __ARM_NEON for 128-bit arithmetic 2018-01-07 15:40:27 +01:00
Frank Denis
9ebe443bc7 Who's still using XCode < 8 ? 2018-01-07 13:13:56 +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
93887f179d Check for -mretpoline / -zretpolineplt support 2018-01-04 18:04:39 +01:00
Frank Denis
b01a622c75 2018 2017-12-31 19:17:47 +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
764656443f Check if we can use inline asm code, not only on x86_64 2017-12-31 01:23:58 +01:00
Frank Denis
a18e21b49d Use (""::"r"(pnt):"memory") instead of (""::"p"(pnt)) for the barrier 2017-12-31 01:11:45 +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
7dee41abee Disable LTO in ios/osx build scripts 2017-12-31 00:56:51 +01:00
Frank Denis
103e3decad Regen configure 2017-12-27 09:28:09 +01:00