Commit Graph
3698 Commits
Author SHA1 Message Date
Frank Denis c638d25583 Try Lucet as a last option, after wasmer, due to its unstable interface 2019-10-11 17:31:57 +02:00
Frank Denis 701475c3d2 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Update wasi-sdk
2019-10-11 16:35:13 +02:00
Frank Denis da75f6824b Lucet removed the "fast" optimization level
We may drop Lucet support entirely until the interface gets more stable
2019-10-11 16:33:36 +02:00
Frank Denis 639782ef87 Update wasi-sdk 2019-10-11 12:24:14 +02:00
Frank Denis e433b9ee02 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Add -S for curl
  Add ARM implementation of aegis256 - Not connected to builds yet
2019-10-09 02:15:26 +02:00
Frank Denis 59a195d05f We don't need to check if data alignment is required any more 2019-10-09 02:15:04 +02:00
Frank Denis e1bff2608f Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Add -S for curl
  randombytes: make the emscripten version consistent with others
2019-09-25 17:16:43 +02:00
Frank Denis d9ce7cbddc Merge pull request #875 from imba-tjd/patch-1
Add -S for curl
2019-09-25 17:16:23 +02:00
谭九鼎 78da96fc15 Add -S for curl 2019-09-25 23:00:19 +08:00
Frank Denis 2f915846ff randombytes: make the emscripten version consistent with others 2019-09-24 16:56:49 +02:00
Frank Denis 0460903da5 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Make room for several secretstream
  Fix .gitignore
2019-09-17 15:38:13 +02:00
Frank Denis 87fac028be Merge pull request #871 from angt/secretstream
Make room for several secretstream
2019-09-16 17:51:07 +02:00
Adrien Gallouët 019db2bc84 Make room for several secretstream
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2019-09-16 15:38:38 +00:00
Adrien Gallouët 0bf3bb7a22 Fix .gitignore
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2019-09-16 15:29:14 +00:00
Frank Denis 44b4526309 Add ARM implementation of aegis256 - Not connected to builds yet 2019-09-16 14:52:10 +02:00
Frank Denis 5990dc00d0 Fix crypto_aead_aegis256_MESSAGEBYTES_MAX 2019-09-13 19:46:57 +02:00
Frank Denis 5a9d93d371 The wasmer path is lost between tasks 2019-09-13 17:38:12 +02:00
Frank Denis ea92e2e929 Install precompiled wasmer 2019-09-13 17:26:51 +02:00
Frank Denis 5e8969a48d Revert "Try installing wasmtime instead of wasmer"
This reverts commit 0dc43505f7.
2019-09-13 11:26:23 +02:00
Frank Denis eb96e7ecda WASI can't read its own writes without an explicit fflush() 2019-09-13 11:16:58 +02:00
Frank Denis cb4160b82c Merge pull request #869 from angt/aegis256-mac-verification
aegis256: Support mac verification when m is NULL
2019-09-13 10:39:43 +02:00
Frank Denis 1d536ffab7 Indent 2019-09-13 00:17:46 +02:00
Adrien Gallouët 0a31dd5a31 aegis256: Support mac verification when m is NULL
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2019-09-12 21:11:07 +00:00
Frank Denis f537541a0a For clarity, don't use different terms for the same thing 2019-09-12 22:24:39 +02:00
Frank Denis a59e1f8b54 aegis256: update MSVC solutions, .gitignore, exported emscripten symbols
and the global list of symbols
2019-09-12 22:10:07 +02:00
Frank Denis 4de2620fb1 Indent 2019-09-12 20:48:52 +02:00
Frank Denis 88717d995b Indent 2019-09-12 20:28:54 +02:00
Frank Denis 11208ede8e Merge pull request #868 from angt/fix-def-enosys
Define ENOSYS where it is useful
2019-09-12 20:16:16 +02:00
Adrien Gallouët 4520c080cc Define ENOSYS where it is useful
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2019-09-12 18:13:19 +00:00
Frank Denis 285b34141d Merge pull request #867 from angt/add-test-aegis256
Add tests for AEGIS-256
2019-09-12 19:56:40 +02:00
Adrien Gallouët 3c14a1581c Add tests for AEGIS-256
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2019-09-12 14:42:19 +00:00
Frank Denis 22ecbb63b4 Merge pull request #866 from buu700/master
Fix for new emscripten LLVM backend
2019-09-11 17:16:15 +02:00
Ryan Lester f45693bd35 fix for asm.js async loading 2019-09-11 10:49:46 -04:00
Frank Denis cfc60eaa92 Merge pull request #862 from buu700/master
Workaround for error caused by latest emscripten
2019-09-11 16:03:03 +02:00
Frank Denis 6680116e85 Merge pull request #865 from angt/add-aegis256
Add AEGIS-256 (aesni only)
2019-09-11 15:24:12 +02:00
Adrien Gallouët 0eecb81466 aegis256: Remove restrict
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2019-09-11 13:14:32 +00:00
Adrien Gallouët 452ac1f3ee Add AEGIS-256 (aesni only)
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2019-09-11 12:53:22 +00:00
Frank Denis 009851974d Merge pull request #863 from 0xmatthias/master
building shared library for ios.sh
2019-09-09 11:46:49 +02:00
0xmatthias 84492eac88 building shared library for ios.sh 2019-09-09 04:25:59 +02:00
Ryan Lester 2aede0de9a workaround for error caused by latest emscripten 2019-09-08 21:41:24 -04:00
Frank Denis c8d15621c7 Use AC_LINK_IFELSE for everything using inline assembly 2019-08-29 18:16:23 +02:00
Frank Denis e72a7d183a 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-29 18:14:44 +02:00
Frank Denis ab2c18cec2 Use rust-beta, that may be required to build wasmtime 2019-08-29 18:13:22 +02:00
Frank Denis 0dc43505f7 Try installing wasmtime instead of wasmer 2019-08-07 19:33:54 +02:00
Frank Denis 33e7fa9ee9 Update the WASI SDK 2019-08-07 19:26:27 +02:00
Frank Denis 24d3e0ab1b Merge pull request #853 from willclarktech/nodejs-catch-exit
Set NODEJS_CATCH_EXIT=0 in emscripten LDFLAGS
2019-08-06 12:06:24 +02:00
willclarktech 4bf6ab1f93 Set NODEJS_CATCH_EXIT=0 in emscripten LDFLAGS 2019-08-01 19:01:42 +02:00
Frank Denis 3f27018394 Indent 2019-07-23 22:29:52 +02:00
Frank Denis fbd47e868c Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Rename WASI_SYSROOT to WASI_LIBC and check both the old and new dirs
  Add Open Collective contributors to readme
2019-07-23 22:24:17 +02:00
Frank Denis aaaaf7b8b8 Units are not required any more for Lucet 2019-07-23 22:23:50 +02:00