Adrien Gallouët
019db2bc84
Make room for several secretstream
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
5 years ago
Adrien Gallouët
0bf3bb7a22
Fix .gitignore
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
5 years ago
Frank Denis
5990dc00d0
Fix crypto_aead_aegis256_MESSAGEBYTES_MAX
5 years ago
Frank Denis
5a9d93d371
The wasmer path is lost between tasks
5 years ago
Frank Denis
ea92e2e929
Install precompiled wasmer
5 years ago
Frank Denis
5e8969a48d
Revert "Try installing wasmtime instead of wasmer"
This reverts commit 0dc43505f7
.
5 years ago
Frank Denis
eb96e7ecda
WASI can't read its own writes without an explicit fflush()
5 years ago
Frank Denis
cb4160b82c
Merge pull request #869 from angt/aegis256-mac-verification
aegis256: Support mac verification when m is NULL
5 years ago
Frank Denis
1d536ffab7
Indent
5 years ago
Adrien Gallouët
0a31dd5a31
aegis256: Support mac verification when m is NULL
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
5 years ago
Frank Denis
f537541a0a
For clarity, don't use different terms for the same thing
5 years ago
Frank Denis
a59e1f8b54
aegis256: update MSVC solutions, .gitignore, exported emscripten symbols
and the global list of symbols
5 years ago
Frank Denis
4de2620fb1
Indent
5 years ago
Frank Denis
88717d995b
Indent
5 years ago
Frank Denis
11208ede8e
Merge pull request #868 from angt/fix-def-enosys
Define ENOSYS where it is useful
5 years ago
Adrien Gallouët
4520c080cc
Define ENOSYS where it is useful
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
5 years ago
Frank Denis
285b34141d
Merge pull request #867 from angt/add-test-aegis256
Add tests for AEGIS-256
5 years ago
Adrien Gallouët
3c14a1581c
Add tests for AEGIS-256
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
5 years ago
Frank Denis
22ecbb63b4
Merge pull request #866 from buu700/master
Fix for new emscripten LLVM backend
5 years ago
Ryan Lester
f45693bd35
fix for asm.js async loading
5 years ago
Frank Denis
cfc60eaa92
Merge pull request #862 from buu700/master
Workaround for error caused by latest emscripten
5 years ago
Frank Denis
6680116e85
Merge pull request #865 from angt/add-aegis256
Add AEGIS-256 (aesni only)
5 years ago
Adrien Gallouët
0eecb81466
aegis256: Remove restrict
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
5 years ago
Adrien Gallouët
452ac1f3ee
Add AEGIS-256 (aesni only)
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
5 years ago
Frank Denis
009851974d
Merge pull request #863 from 0xmatthias/master
building shared library for ios.sh
5 years ago
0xmatthias
84492eac88
building shared library for ios.sh
5 years ago
Ryan Lester
2aede0de9a
workaround for error caused by latest emscripten
5 years ago
Frank Denis
c8d15621c7
Use AC_LINK_IFELSE for everything using inline assembly
5 years ago
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.
5 years ago
Frank Denis
ab2c18cec2
Use rust-beta, that may be required to build wasmtime
5 years ago
Frank Denis
0dc43505f7
Try installing wasmtime instead of wasmer
5 years ago
Frank Denis
33e7fa9ee9
Update the WASI SDK
5 years ago
Frank Denis
24d3e0ab1b
Merge pull request #853 from willclarktech/nodejs-catch-exit
Set NODEJS_CATCH_EXIT=0 in emscripten LDFLAGS
5 years ago
willclarktech
4bf6ab1f93
Set NODEJS_CATCH_EXIT=0 in emscripten LDFLAGS
5 years ago
Frank Denis
3f27018394
Indent
5 years ago
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
5 years ago
Frank Denis
aaaaf7b8b8
Units are not required any more for Lucet
5 years ago
Frank Denis
fdfca240d6
Rename WASI_SYSROOT to WASI_LIBC and check both the old and new dirs
5 years ago
Frank Denis
a26467874a
Merge pull request #845 from opencollective/opencollective
Add Open Collective contributors to readme
5 years ago
jess
374125dde2
Add Open Collective contributors to readme
5 years ago
Frank Denis
55a81d9460
lucetc-wasi requires units with --max-heap-size
5 years ago
Frank Denis
e97760ad68
shielding requires memory protection
5 years ago
Frank Denis
a73f8f15e4
Use /opt/wasi-libc as the default WASI sysroot
5 years ago
Frank Denis
0106e0495d
Update emscripten symbols
5 years ago
Frank Denis
2f5363150e
Merge pull request #840 from mpex/patch-1
Update utils.c
5 years ago
mpex
fb8e4d00df
Update utils.c
I noticed that the shielding_key is not used in sodium_mshield() (only filled in crypto_generichash())
Is the wrong key used in crypto_stream_xor?
5 years ago
Frank Denis
61992a838d
Register new symbols
5 years ago
Frank Denis
495fdb3693
mshield requires memory protection
5 years ago
Frank Denis
bfeca0eb73
Implement key shielding to protect against side channels
We may want to fold this into `sodium_mprotect_*()` instead of
exposing these functions.
The drawback is that a transition from PROT_NONE to PROT_READ
(or the other way round) would need an intermediary state in PROT_WRITE
for shielding/unshielding.
Shielding is also not thread-safe, while the `mprotect_*()` functions
are, and adding locks would make things more complicated than they
probably should.
5 years ago
Frank Denis
60f4bc8212
getconf(1) may not be available
5 years ago