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 |
|
Frank Denis
|
a84d222d07
|
disable ssp/pie for emscripten
|
2017-10-22 01:55:28 +02:00 |
|
Frank Denis
|
08387eea8b
|
emscripten: actually print the installation prefix
|
2017-10-18 13:11:15 +02:00 |
|
Ryan Lester
|
381080bf02
|
libsodium.js totalMemory minor fix (#610)
|
2017-10-05 10:45:31 +02:00 |
|
Frank Denis
|
c431a42658
|
"this" doesn't seem to ever be defined in a module
isNan is undefined
|
2017-10-05 08:31:07 +02:00 |
|
Frank Denis
|
af5ce360b4
|
this may not be defined
|
2017-10-05 08:12:05 +02:00 |
|
Frank Denis
|
1393681662
|
Move declaration closer to usage
|
2017-10-05 02:28:14 +02:00 |
|
Ryan Lester
|
ec4432a388
|
allow setting total memory from JS (#608)
|
2017-10-05 02:26:00 +02:00 |
|
Frank Denis
|
60366ac447
|
asmjs requires TOTAL_MEMORY to be a multiple of 16MB
|
2017-10-04 23:01:02 +02:00 |
|
Frank Denis
|
6db1adbf4e
|
Reserve more memory for wasm sumo builds
|
2017-10-04 22:52:22 +02:00 |
|
Frank Denis
|
3659d342af
|
Avoid losing the reference to Module in the promise.
by @buu700
|
2017-09-29 19:31:42 +02:00 |
|
Frank Denis
|
24ff2a7049
|
Emscripten: just use Module.onRuntimeInitialized = resolve;
|
2017-09-29 08:49:42 +02:00 |
|
Ryan Lester
|
170661671d
|
Save libsodium.js (#605)
* revert wasm/asmjs split build changes
* combined wasm + asm.js build
* minor cleanup
|
2017-09-29 08:22:01 +02:00 |
|
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
|
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
|
5026954466
|
Remove extra character in the list of sumo symbols for the js builds
|
2017-07-12 09:55:33 +02:00 |
|
Frank Denis
|
e325b6d76b
|
Regen emscripten.sh export list
|
2017-07-07 22:03:24 +02:00 |
|
Frank Denis
|
c77ba98d7b
|
Update emscripten symbols
|
2017-06-28 16:44:06 +02:00 |
|
Frank Denis
|
c1ab6f2328
|
emscripten: don't use --enable-minimal on sumo builds
|
2017-03-17 16:56:20 +01:00 |
|
Frank Denis
|
849a35bd82
|
+ crypto_kx_*() API
This doesn't include a full key exchange API yet.
|
2017-03-12 13:15:39 +01:00 |
|
Frank Denis
|
c759324679
|
Emscripten memory size must be a multiple of 16MB
|
2017-03-08 14:33:15 +01:00 |
|
Frank Denis
|
5777418548
|
Export sodium_library_minimal() to javascript
|
2017-03-06 11:09:12 +01:00 |
|
Frank Denis
|
cac339b226
|
Update emscripten symbols
|
2017-03-05 14:53:02 +01:00 |
|
Frank Denis
|
60e9668c14
|
Regen the emscripten build script with the updated list of symbols
|
2017-03-01 17:24:55 +01:00 |
|
Frank Denis
|
8b961fb1bd
|
Trim TOTAL_MEMORY_SUMO to a 64k multiple
|
2017-01-21 01:42:28 +01:00 |
|
Frank Denis
|
7afd929e70
|
js: measuring make check time is not useful, especially not in a web browser
|
2016-10-30 01:25:32 +02:00 |
|
Frank Denis
|
bdf5c8246b
|
Compile with pthreads
|
2016-04-18 20:54:46 +02:00 |
|
Frank Denis
|
214f16802b
|
Do not use emscripten's headless mode
|
2016-04-17 23:58:44 +02:00 |
|
Frank Denis
|
4ff0d326e1
|
Remove crypto_pwhash_*() from the non-sumo Javascript distribution
|
2016-04-17 23:18:18 +02:00 |
|
Frank Denis
|
9aab628b97
|
pwhash_*() require heap allocations, but everything else doesn't
|
2016-04-17 23:15:53 +02:00 |
|
Frank Denis
|
5dce2b5c64
|
Revamp the emscripten build script
|
2016-04-17 22:45:37 +02:00 |
|
Frank Denis
|
7055d81aaa
|
Reduce TOTAL_MEMORY
|
2016-04-15 00:32:09 +02:00 |
|
Frank Denis
|
da65a7f003
|
JS target: use -Os instead of -O3
Performance is roughly the same, but output is noticeably smaller
|
2016-04-14 23:13:40 +02:00 |
|
Frank Denis
|
2e7247d8b1
|
Use absolute .done files
|
2016-04-06 18:21:27 +02:00 |
|
Frank Denis
|
99576d46d0
|
Use a specific "done" file for every javascript target
|
2016-04-06 15:05:59 +02:00 |
|
Frank Denis
|
50a8c61086
|
Use different folders for libsodium-js and for the sumo version
|
2016-04-06 14:53:33 +02:00 |
|
Frank Denis
|
55f4cac2c9
|
Increase TOTAL_MEMORY for the Javascript target
|
2016-04-04 00:24:59 +02:00 |
|
Frank Denis
|
d4fd35d543
|
Update the list of symbols exported to Javascript
|
2016-04-01 21:28:21 +02:00 |
|