Commit Graph

19 Commits

Author SHA1 Message Date
Frank Denis
8ceb55994b Remove aes128ctr from emscripten 2017-09-27 22:19:04 +02:00
Frank Denis
3e0b4dec6e Add sodium_base64_encoded_len() 2017-09-21 11:25:09 +02:00
Frank Denis
bfab44aa40 initbytes -> headerbytes for clarity 2017-09-16 23:21:28 +02:00
Frank Denis
d0a418a863 + _crypto_pwhash_scryptsalsa208sha256_str_needs_rehash() 2017-09-13 00:36:29 +02:00
Frank Denis
378304f818 Export crypto_pwhash_str_needs_rehash() to Javascript/WebAssembly 2017-09-06 21:00:34 +02:00
Frank Denis
6b43c1ddb6 Javascript: don't define crypto_pwhash constants in non-sumo builds 2017-08-27 16:27:07 +02:00
Frank Denis
a0fea69654 Remove RUNNING_JS_OPTS for WebAssembly 2017-08-25 22:53:31 +02:00
Frank Denis
957c251f8e chmod +x *.sh 2017-08-25 20:36:32 +02:00
Frank Denis
f61a121b81 Regen emscripten symbols 2017-08-25 15:18:55 +02:00
Frank Denis
0ccdfd0c8d Update emscripten symbols list 2017-08-25 14:26:26 +02:00
Frank Denis
19f76d7cb3 Simplify 2017-08-03 22:45:18 +02:00
Frank Denis
53280aa28f Revert "wasm tests: skip over *.asm.js files"
This reverts commit ac8111c315.
2017-08-02 18:26:35 +02:00
Frank Denis
ac8111c315 wasm tests: skip over *.asm.js files 2017-08-02 17:17:04 +02:00
Frank Denis
23c36615cd Remove TOTAL_MEMORY from wasm builds
asmjs builds need to be done separately to get actual asmjs code
and not almost-asmjs code.

Don't build html pages. It doesn't change anything, and support for
asmjs in libsodium.js remains a tricky problem to solve.
2017-08-01 23:21:57 +02:00
Frank Denis
3c3214fbd9 Node need for --expose-wasm any more with recent nodejs versions 2017-08-01 10:19:07 +02:00
Frank Denis
580bf7a19d emscripten-wasm.sh: generate HTML files even if we don't use them
So that emscripten generates the stub to load the wasm code in web browsers.
2017-07-31 12:52:52 +02:00
Frank Denis
ae8cd7208c emscript-wasm: don't use --enable-minimal on sumo builds 2017-07-30 23:31:56 +02:00
Frank Denis
21fd252ac2 Tweak emscripten-wasm.sh 2017-07-18 22:08:15 +02:00
Frank Denis
d4dbf0cc4f Import preliminary compilation script for webassembly
Thanks to @facekapow

This still needs quite a bit of work, so don't add to the distfiles yet
2017-03-12 17:44:29 +01:00