Frank Denis
ca638e8b93
Export _crypto_aead_aes256gcm_is_available to JavaScript
...
Fixes https://github.com/jedisct1/libsodium.js/issues/342
2024-07-08 18:20:11 +02:00
Frank Denis
2e662fb56f
Try running the JavaScript tests with Bun before Node
2024-05-20 21:38:14 +02:00
Frank Denis
bf4fb64457
Emscripten: export crypto_aead_aegis* in standard builds
2024-03-24 10:41:56 +01:00
Frank Denis
f6d0efefc3
Sync
2023-11-30 15:44:36 +01:00
Frank Denis
854947a4ce
Add AEGIS AEADs
2023-09-13 09:00:06 +02:00
Frank Denis
41e93e96c0
emscripten: use different settings for wasm and js builds
2023-02-16 20:08:23 +01:00
Frank Denis
81f58a5c58
emscripten: remove pwhash_* from non-sumo builds
2023-02-16 19:36:15 +01:00
Frank Denis
b9b0c62e46
emscripten: EXTRA_EXPORTED_RUNTIME_METHODS -> EXPORTED_RUNTIME_METHODS
2023-02-16 19:21:16 +01:00
Frank Denis
6318c8c6af
emscripten: setting Module.TOTAL_MEMORY doesn't do anything
2023-02-15 20:02:04 +01:00
Ryan Lester
403da0d1fc
fix for asm.js async loading
2021-01-29 21:36:13 +01:00
Simon Wachter
d5115e26c8
emscripten: build with NODEJS_CATCH_REJECTION=0 ( #1025 )
...
This stops emscripten from adding a `unhandledRejection` handler on the global `process` object that forcefully exits the process.
This allows fixing jedisct1/emscripten.js#253 because we no longer need to remove these listeners to compensate after the fact.
2021-01-28 16:32:11 +01:00
Frank Denis
3e10dcd813
emscripten: RUNNING_JS_OPTS has been removed in recent versions
2020-10-13 16:19:49 +02:00
Frank Denis
d553485a92
emscripten: force filesystem inclusion for tests
2020-05-26 17:34:28 +02:00
Ryan Lester
d257ec5780
workaround for error caused by latest emscripten
2019-09-11 16:04:34 +02:00
willclarktech
549bf059cd
Set NODEJS_CATCH_EXIT=0 in emscripten LDFLAGS
2019-08-25 23:53:05 +02:00
Frank Denis
940ef42797
1.0.18
2019-05-30 21:57:51 +02:00
Frank Denis
bb6f156412
Shorten
2019-05-12 13:53:53 +02:00
bas-d
5b9bc08d2f
Properly check if console exists.
2019-05-12 13:53:38 +02:00
Frank Denis
1ae8e5e3b0
Export UTF8ToString
2019-05-04 19:21:21 +02:00
Frank Denis
b7bf7d9c83
undef _box_curve25519xchacha20poly1305_messagebytes_max in !sumo builds
2019-01-06 20:33:22 +01:00
Frank Denis
0e0dbde088
Emscripten: enable ALLOW_MEMORY_GROWTH
2018-12-30 14:57:06 +01:00
Frank Denis
b3dc89368e
Regen emscripten symbols
2018-12-30 10:37:02 +01:00
Frank Denis
e60049aad1
Revert "Add crypto_kx_ed25519" and "Add low-level kx_curve25519 functions"
...
This reverts commit 2d736dc2bc
.
This reverts commit 7f3bc5cd08
.
2018-12-25 19:22:33 +01:00
Frank Denis
7e8c2d34e5
Regen emscripten symbols
2018-12-25 12:50:13 +01:00
Frank Denis
fdeb11d81c
Regen emscripten symbols
2018-12-20 20:09:57 +01:00
Ryan Lester
34cbaa8dcd
useBackupModule getRandomValue fix
2018-09-29 18:22:42 -04:00
Ryan Lester
f642149364
asm.js fallback fix
2018-08-30 16:54:29 -04:00
Ryan Lester
73687a0044
style consistency fix
2018-08-30 16:54:15 -04:00
Frank Denis
72ad112e01
Emscripten: remove -s NO_FILESYSTEM=1
...
Emscripten support for this has been broken for way too long.
2018-08-29 14:02:15 +02:00
Ryan Lester
8e138b9f14
iOS fix
2018-08-22 20:06:32 -04:00
Ryan Lester
787d173483
fix for emscripten breaking change ( https://github.com/kripken/emscripten/pull/6419 )
2018-06-20 14:25:08 -04: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
Ryan Lester
19828dd329
run-time wasm test before resolving ready
2018-03-06 01:48:25 -05: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
bc6541a70a
emscripten: do not use closure
2018-01-15 13:33:33 +01:00
Ryan Lester
4614ca754d
updates for latest emscripten
2017-12-26 22:05:08 -05:00
Frank Denis
5f5d36a9bb
emscripten: malloc() and free() should be exported as library symbols
2017-12-25 23:34:38 +01:00
Frank Denis
68d845e651
Export setValue, getValue
2017-12-25 23:00:08 +01:00
Frank Denis
387e1833d7
emscripten: move the set of exported runtime methods
2017-12-25 22:33:30 +01:00
Frank Denis
8eba49b6a8
emscripten: export _malloc() and _free()
2017-12-25 22:31:04 +01:00
Frank Denis
88fca4834c
emscripten: export Pointer_stringify() for recent emscripten versions
2017-12-25 22:18:40 +01:00
Frank Denis
bd631649c1
Emscripten: run the tests in benchmark mode
2017-12-21 18:52:59 +01:00
Frank Denis
f34d5ef17e
Emscripten: bump the memory up for the tests
2017-12-20 23:04:04 +01:00
Frank Denis
65f71fe060
Prefer the system version of nodejs to the emscripten one
2017-12-20 22:51:58 +01:00
Frank Denis
c2a16ea77d
Add missing symbols to emscripten-symbols.def , sort
2017-11-15 23:31:01 +01:00
Frank Denis
5257cceda8
Merge crypto_core_ed25519_from_uniform()
...
Fixes #628
although we need another one that keeps montgomery coordinates.
2017-11-14 22:05:37 +01:00
Frank Denis
c01884ea80
Regen emscripten symbols
2017-11-13 14:29:40 +01:00
Frank Denis
5cde320a08
Add pwhash functions to non-sumo wasm builds
...
Server relief is important.
2017-11-05 13:44:29 +01:00
Frank Denis
8996c7d53d
Regen emscripten symbols
2017-10-23 16:13:01 +02:00
Frank Denis
f1e9acef5c
Rename crypto_sign_ed25519_scalarmult() to crypto_scalarmult_ed25519()
2017-10-23 13:22:34 +02:00