Commit Graph

3712 Commits

Author SHA1 Message Date
Frank Denis
f931f37bb4 Replace deprecated function in test 2020-03-30 19:08:05 +02:00
Frank Denis
57e753130e Remove useless self inclusion 2020-03-28 20:38:54 +01:00
Frank Denis
3b689a6ab4 New automake version 2020-03-22 22:56:19 +01:00
Frank Denis
d0ea7b549e Remove XOP stub
XOP is dead
2020-03-14 17:16:54 +01:00
Frank Denis
a89940d4aa Reformat comments 2020-03-14 17:16:48 +01:00
Frank Denis
a4e127567f Simplify integerify()
Make offsets 64 bit in the SSE scrypt impl
2020-03-14 17:16:37 +01:00
Loup Vaillant
f1652acba2 Avoid memmove() call when buffers are already the same. (#935)
This completes the work started in commit
fbe3eb265f
2020-03-14 17:15:42 +01:00
Frank Denis
83bfae5bdb travis-ci.org -> travis-ci.com 2020-02-06 00:59:07 +01:00
Frank Denis
182415cb69 Remove sandy2x fixed base scalar multiplication
Thanks to precomputation, the generic implementation is faster.

Don't even define a .mult_base placeholder for sandy2x

Avoid two indirections for fixed base multiplication until another
implementation possibly exists.
2020-02-06 00:54:39 +01:00
Frank Denis
64779327e9 update build-aux 2020-02-06 00:31:02 +01:00
Frank Denis
b6e61122a4 Add wasm3 to the set of supported WebAssembly runtimes
Also add wasmer-js
2020-02-04 19:54:59 +01:00
Frank Denis
f20e6fdad2 Temporarily remove support for Lucet
Lucet doesn't work on MacOS any more, so testing it has become difficult.
2020-02-04 19:33:13 +01:00
Frank Denis
8f37dcac04 Remove duplicate -fembed-bitcode 2020-01-28 13:43:26 +01:00
Frank Denis
d6961a93cc Set a default page size to 64K (wasm/linux large pages) 2020-01-05 21:00:00 -05:00
Frank Denis
72df226dc1 2020 2020-01-01 08:20:31 +01:00
Frank Denis
c034f34309 Try to build the NuGet packages in the next branch 2019-12-30 14:53:04 +01:00
ektrah
eeadf81e1d Update packaging for .NET Core 2019-12-30 14:51:54 +01:00
ektrah
1f49263c50 Update packaging for .NET Core 2019-12-30 14:51:50 +01:00
ektrah
4472242f42 Update packaging for .NET Core 2019-12-30 14:51:47 +01:00
ektrah
ba0d7ecb32 Update packaging for .NET Core 2019-12-30 10:36:28 +01:00
ektrah
4c0d766c81 Build NuGet package using GitHub Actions 2019-12-30 10:36:02 +01:00
Frank Denis
b486ae3fc6 config.guess fixups 2019-12-22 11:37:38 +01:00
Frank Denis
b69159b5f8 Define _FORTIFY_SOURCE only on linux-gnu 2019-12-04 23:30:37 +01:00
Frank Denis
46afa6c3a9 Undefine _FORTIFY_SOURCE on MinGW - Required for current MinGW versions 2019-12-04 21:04:39 +01:00
Frank Denis
1d4017df58 Regen 2019-11-11 01:08:03 +01:00
Frank Denis
ad9cb57a4e Use AX_ADD_FORTIFY_SOURCE
Include a workaround for newer versions of MingW
2019-11-11 01:07:05 +01:00
Frank Denis
5c804e1ac8 Better getentropy() usability checks 2019-10-23 18:23:31 +02:00
Frank Denis
bfa866e2f0 Deprecate crypto_core_ed25519_from_hash() 2019-10-13 10:03:48 +02:00
Frank Denis
dbab49d48d Try Lucet as a last option, after wasmer, due to its unstable interface 2019-10-11 17:32:22 +02:00
Frank Denis
e06c260d0e Lucet removed the "fast" optimization level
We may drop Lucet support entirely until the interface gets more stable
2019-10-11 16:36:27 +02:00
Frank Denis
36dcdafca4 Update wasi-sdk 2019-10-11 12:24:58 +02:00
谭九鼎
2b88282106 Add -S for curl 2019-09-25 17:17:33 +02:00
Frank Denis
146ce11b11 Use -fno-stack-check as an alternative to -ffreestanding 2019-09-17 15:43:25 +02:00
Frank Denis
78bb279b6c The wasmer path is lost between tasks 2019-09-13 17:34:48 +02:00
Frank Denis
67f2f10dd6 Install precompiled wasmer 2019-09-13 17:27:32 +02:00
Frank Denis
2b332befe2 Revert "Try installing wasmtime instead of wasmer"
This reverts commit c572f24ddf.
2019-09-13 11:34:40 +02:00
Frank Denis
59e6551ecb Add support for Twizzler 2019-09-13 11:18:40 +02:00
Frank Denis
80807b30c5 WASI can't read its own writes without an explicit fflush() 2019-09-13 11:17:55 +02:00
Ryan Lester
d257ec5780 workaround for error caused by latest emscripten 2019-09-11 16:04:34 +02:00
Frank Denis
d9eec819b4 Merge branch 'next' into stable
* next:
  Update wasi-sdk and use rust-beta, currently required to build wasmtime
2019-08-29 18:21:41 +02:00
Frank Denis
0428e7baad Merge branch 'stable' of github.com:jedisct1/libsodium into stable
* 'stable' of github.com:jedisct1/libsodium:
  Add a workaround for broken Xcode 11 beta versions
2019-08-29 18:21:34 +02:00
Frank Denis
7ce1e62919 Update wasi-sdk and use rust-beta, currently required to build wasmtime 2019-08-29 18:07:12 +02:00
Frank Denis
203220116a Temporarily disable getentropy()/getrandom() when using ASAN
ASAN assumes a recent version of the C library has been installed and
may end up intercepting functions that didn't exist if the actual C
library is old.
2019-08-29 17:48:20 +02:00
Frank Denis
d1e33bbc71 Add a workaround for broken Xcode 11 beta versions 2019-08-26 15:35:12 +02:00
willclarktech
549bf059cd Set NODEJS_CATCH_EXIT=0 in emscripten LDFLAGS 2019-08-25 23:53:05 +02:00
Frank Denis
f7695fd634 Use AC_LINK_IFELSE for everything using inline assembly 2019-08-16 13:09:57 +02:00
Frank Denis
4b448b5095 Use AC_LINK_IFELSE instead of _COMPILE_IFELSE for cpuid detection
This apparently works around a bug on OpenSuSE on ARM and PPC when
LTO is enabled.

Still, as documented, LTO shouldn't be used when compiling the library.
2019-08-16 12:28:42 +02:00
Frank Denis
a179b25eb0 Update config.guess 2019-08-08 00:34:15 +02:00
Frank Denis
c572f24ddf Try installing wasmtime instead of wasmer 2019-08-07 19:52:44 +02:00
Frank Denis
a9d6857665 Update config.sub 2019-07-24 01:07:00 +02:00