Frank Denis
53a746c68d
Remove unused variables
2024-09-18 12:41:05 +02:00
Frank Denis
f2303ba3f0
Update autoconf
2024-08-01 13:57:57 +02:00
Frank Denis
3e17b33c70
Fix flaky non-deterministic box_seal tests
...
With very small messages, there's a significant probability that the
ciphertext is identical to the message.
Fixes #1388
2024-06-30 21:13:02 +02:00
Frank Denis
93a1ec76c2
constcheck: include Homebrew paths by default
2024-05-24 13:16:46 +02:00
Frank Denis
60c0c40b55
Add forgotten crypto_kdf_hkdf_sha512_statebytes()
2023-11-29 22:03:05 +01:00
Frank Denis
2945e73efd
egrep -> grep -E
2023-11-23 13:36:02 +01:00
Frank Denis
f1184e45d9
Include argon2id in crypto_pwhash_primitive()
...
Fixes #1331
2023-11-10 12:36:32 +01:00
Frank Denis
854947a4ce
Add AEGIS AEADs
2023-09-13 09:00:06 +02:00
Frank Denis
b8a6fecdb6
Add support for HKDF
2023-09-13 09:00:06 +02:00
Frank Denis
a589d64b42
Handle SIGPROT, CHERI's in-address space security exception
2023-09-12 21:04:06 +02:00
Frank Denis
6c35bcaabf
Downgrade ax_valgrind_check
2023-09-10 22:26:31 +02:00
Frank Denis
1bafad7899
Sync wasi-test-wrapper.sh and wintest.bat
2023-09-09 12:52:02 +02:00
Frank Denis
3a6a6025cc
Backport aarch64 support for aes256-gcm
2023-09-09 01:04:48 +02:00
Frank Denis
a77269a21b
Regen
2023-09-08 22:03:03 +02:00
Frank Denis
dd7f1ce488
Remove --experimental-wasm-bigint for the tests using Node
2023-07-27 12:13:36 +02:00
Frank Denis
e4fd497b98
sodium_utils{2,3} are not worth running in benchmarks
2023-06-16 19:01:20 +02:00
Frank Denis
abfbcab412
Use CLOCK_MONOTONIC for benchmarking, if possible
2023-02-15 19:53:33 +01:00
Frank Denis
410d0a38b7
Check for iwasm existence before trying to use it
2023-02-07 18:35:25 +01:00
Frank Denis
045bdc0782
Add a pwhash test with guarded memory; it doesn't hurt
2023-01-09 10:48:51 +01:00
Frank Denis
6d726c70e4
Skip the misuse handler test when running benchmarks or wasm
2022-12-20 13:17:31 +01:00
Frank Denis
65d56b1077
iwasm requires precompilation to get decent speed
2022-12-19 12:34:51 +01:00
Frank Denis
374a58c1e1
Bun: explicitly print the output of the wasm module to the console
2022-12-19 10:27:36 +01:00
Frank Denis
45da50ab0e
Bun requires an absolute path
2022-12-19 10:22:09 +01:00
Frank Denis
c3c2595bd7
Add support for Bun as a WebAssembly runtime
2022-12-19 10:15:22 +01:00
Frank Denis
4ffb2dd0ef
Node requires an async function to start wasm code
2022-12-18 21:37:01 +01:00
Frank Denis
6c3b1492b2
Running tests with Node requires --experimental-wasm-bigint
2022-12-18 21:21:27 +01:00
Frank Denis
b73238ff32
Remove unused MAX_MEMORY_TESTS constant
2022-12-17 21:46:32 +01:00
Frank Denis
51f6b2df8d
Add wazero to the list of tested wasm runtimes
2022-12-17 21:46:00 +01:00
Frank Denis
3cbaea8bc6
Avoid memcmp() with len=0
2022-12-12 00:16:51 +01:00
Frank Denis
8b9a98c47f
Add a test for aes256gcm_decrypt with long inputs, make it pass
2022-12-11 23:45:59 +01:00
Frank Denis
c69b3ec9be
Add some additional tests of in-place encryption/decryption
2022-12-11 21:05:23 +01:00
Frank Denis
634df56c5d
Add an AES-GCM test of in-place encryption/decryption
2022-12-11 20:44:28 +01:00
Frank Denis
35089b7870
Ship run.sh
2022-11-27 22:43:19 +01:00
Frank Denis
1904d6ad21
test/default/run.sh compat with GNU find
2022-11-27 22:12:40 +01:00
Frank Denis
3075417ef8
Add a simple test runner to zig-out/bin/
2022-11-23 21:47:39 +01:00
Frank Denis
f1da14de2b
sodium_utils tests: exit() -> _exit()
2022-11-14 22:16:45 +01:00
Yi
17d9198774
Update wasi-test-wrapper: SSVM was renamed to WasmEdge ( #1179 )
2022-05-12 12:37:09 +02:00
Frank Denis
7389bf7f29
libtool update
2022-04-03 00:03:17 +02:00
Frank Denis
89b2d420d4
Lucet has reached EOL
2022-01-22 23:36:35 +01:00
Frank Denis
aa099f5e82
Revert "wasm-opt: use --strip-debug"
...
This reverts commit 0c2fb123f7
.
2021-11-18 14:15:26 +01:00
Frank Denis
0c2fb123f7
wasm-opt: use --strip-debug
2021-11-17 21:03:25 +01:00
Jørgen P. Tjernø
100ccb452d
Portability improvements ( #1105 )
...
* Move `raise` code to be behind an autoconf check
This moves the call to `raise` behind a `HAVE_RAISE` autoconf check,
in addition to `__wasm__`. This is intended to help porting to
other platforms that don't support `raise` (e.g. modern game consoles).
* Add autoconf check for `sysconf`
Only try to invoke `sysconf` if the target platform supports it, and
don't warn about unknown page size if `PAGE_SIZE` was defined. Add an
include for `sys/param.h` to increase likelihood of finding `PAGE_SIZE`.
This is intended to help porting to other platforms that don't support
`sysconf` (e.g. modern game consoles) that have a fixed hardware page
size.
* Don't try to use raise & sysconf in a WASI environment
Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>
2021-10-09 18:39:02 +02:00
Frank Denis
b5b62722b7
Autoconf update & regen
2021-05-22 12:21:15 +02:00
Frank Denis
7168944f16
Update some autoconf definitions
2021-04-08 10:57:21 +02:00
Frank Denis
0389b96972
Regen autoconf files
2021-04-08 10:12:12 +02:00
Frank Denis
b5753e3fae
Add some more base64 decoding tests
2021-03-20 00:08:54 +01:00
Frank Denis
dc2d459cc5
Regen autoconf
2021-03-15 11:04:51 +01:00
Frank Denis
312bb605ee
Move lucet down
2021-03-10 18:46:07 +01:00
Tobias Nießen
fcff8e9cee
test: fix two error messages ( #1034 )
2021-02-24 23:56:35 +01:00
Frank Denis
3d807d9205
wasm bench: make lucet performance significantly better
...
By default, lucetc generates code with explicit bound checking,
even though the runtime has guard pages.
Elision only happens with --reserved-size=4GiB
2021-02-24 21:52:44 +01:00