Frank Denis
e08d3e59e1
Emscripten: export crypto_aead_aegis* in standard builds
2024-03-24 10:44:55 +01:00
Frank Denis
93a6e79750
Sync
2023-11-30 15:45:40 +01:00
Frank Denis
5755a5c009
emscripten: remove pwhash_* from non-sumo builds
...
Also use different memory settings for js and wasm builds
2023-02-16 20:12:54 +01:00
Frank Denis
6bb5197c2c
emscripten: enable EVAL_CTORS for WASM builds
2023-02-16 19:25:56 +01:00
Frank Denis
82696ef8c4
emscripten: setting Module.TOTAL_MEMORY doesn't do anything
2023-02-15 20:16:14 +01:00
Frank Denis
1bd73c1a68
Add crypto_kdf_hkdf_sha{256,512}_extract_{init,update,final}
2023-01-08 22:16:34 +01:00
Frank Denis
408125a72b
Add AEGIS-256 software support
2022-12-10 00:03:42 +01:00
Frank Denis
11d2fa5bb0
Add AEGIS-128L software support
2022-12-09 21:12:35 +01:00
Frank Denis
6efaa0264a
emscripten: EXTRA_EXPORTED_RUNTIME_METHODS -> EXPORTED_RUNTIME_METHODS
2021-06-17 21:58:25 +02:00
Simon Wachter
12f03c310f
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:27:36 +01:00
Frank Denis
611e1a0bc1
Typo (risretto -> ristretto)
...
Fixes #1014
2020-12-10 22:17:06 +01:00
Frank Denis
b02dbf2519
Register _crypto_core_ristretto255_from_string_ro
2020-10-13 16:36:14 +02:00
Frank Denis
dd72efe41f
emscripten: RUNNING_JS_OPTS has been removed in recent versions
2020-10-13 16:25:06 +02:00
Frank Denis
9340fbebe7
Format
2020-07-04 15:32:13 +02:00
Frank Denis
af27d27f8c
emscripten: force filesystem inclusion for tests
2020-05-26 17:32:22 +02:00
Frank Denis
c2efce113d
Add crypto_core_{ed25519,ristretto255}_scalar_is_canonical()
2020-05-13 22:59:08 +02:00
Frank Denis
67a9e79655
Remove memory shielding
...
That was a great idea to protect against information leak through
speculative loads.
Realistically, nobody is going to use this.
2020-05-10 21:05:24 +02:00
Frank Denis
5fdd12fa97
Add crypto_core_ed25519_from_string() and crypto_core_ed25519_from_string_ro()
2020-03-30 17:19:36 +02:00
Frank Denis
eab70f79c0
Add HKDF/SHA-512 and HKDF/SHA-256
2020-03-28 21:35:54 +01:00
Ryan Lester
f45693bd35
fix for asm.js async loading
2019-09-11 10:49:46 -04:00
Ryan Lester
2aede0de9a
workaround for error caused by latest emscripten
2019-09-08 21:41:24 -04:00
willclarktech
4bf6ab1f93
Set NODEJS_CATCH_EXIT=0 in emscripten LDFLAGS
2019-08-01 19:01:42 +02:00
Frank Denis
0106e0495d
Update emscripten symbols
2019-06-24 14:46:57 +02:00
Frank Denis
06f331d153
Use the same memory limit everywhere
2019-05-21 11:12:07 +02:00
Frank Denis
dee20234c8
Shorten
2019-05-12 13:51:41 +02:00
bas-d
1fd2422623
Properly check if console exists.
2019-05-12 13:04:11 +02:00
bas-d
646c0cfd46
Check if console is null or undefined.
2019-05-12 12:41:55 +02:00
bas-d
e1176fe2bb
Override print and printErr
2019-05-11 17:15:14 +02:00
Frank Denis
53cd7d6a6f
Export UTF8ToString instead of Pointer_stringify
2019-05-04 18:06:05 +02:00
Frank Denis
4f1d0ccfdb
Update the symbol list of the emscripten target
2019-05-02 00:56:02 +02:00
Frank Denis
411ec2de84
Update emscripten symbols for ristretto
2019-02-18 14:10:43 +01:00
Frank Denis
b732443c44
undef _box_curve25519xchacha20poly1305_messagebytes_max in !sumo builds
2019-01-06 20:32:54 +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