Commit Graph

28 Commits

Author SHA1 Message Date
Frank Denis
a678c09ea3 Export chacha20poly1305_ietf functions to JavaScript 2015-05-15 10:27:16 +02:00
Frank Denis
575ce93058 + crypto_box_seal() 2015-04-17 01:01:32 +02:00
Frank Denis
0938b7cf9a Export _crypto_generichash_statebytes() 2015-01-24 11:30:05 +01:00
Frank Denis
dd5224791b Re-add filesystem support for the library 2015-01-18 00:59:59 +01:00
Frank Denis
00f8156457 Do not hardcode the node binary 2015-01-18 00:52:14 +01:00
Frank Denis
98c96f4c99 No browser, no filesystem support required 2015-01-18 00:42:34 +01:00
Frank Denis
e7f410de10 Emscripten: don't use a memory init file any more.
It doesn't take that long to load the module, and it's going to make
users' life way easier.
2015-01-17 22:11:10 +01:00
Frank Denis
87972313d6 Do not export sysrandom symbols on Emscripten 2015-01-17 14:27:37 +01:00
Frank Denis
fa25d38288 Export _crypto_pwhash_scryptsalsa208sha256_ll 2015-01-17 12:42:51 +01:00
Frank Denis
c1b813c16a Emscripten: reserve space for 8 function pointers 2015-01-17 12:37:21 +01:00
Frank Denis
9b85fddfa9 Abort if the JS tests don't pass 2015-01-15 11:26:46 +01:00
Frank Denis
cd67cb17e5 Emscripten: add a file to mark that the build completed, for libsodium.js 2015-01-15 10:59:06 +01:00
Frank Denis
36d3d7cb5b Use io.js instead of node, if available. 2015-01-14 08:20:17 +01:00
Frank Denis
2262a592e6 Export the precomputed interface to emscripten 2015-01-06 17:59:52 +01:00
Frank Denis
b53f5c7f74 The node binary was renamed nodejs on Ubuntu. 2014-12-04 10:28:49 -08:00
Frank Denis
4c1073e4e5 Exporting crypto_box and crypto_secretbox doesn't make sense in Javascript. 2014-11-30 20:00:10 -08:00
Frank Denis
f562d561d8 sodium_utils2 and sodium_utils3 cannot work in Javascript; this is expected. 2014-11-29 22:45:41 -08:00
Frank Denis
6fe4aeaf01 Emscripten: update the list of exported functions 2014-11-29 20:42:16 -08:00
Frank Denis
61620d7e42 Make 'make check' actually run the tests on Emscripten. 2014-11-25 09:51:39 -08:00
Frank Denis
db5b51042a Don't export the JS function names in LDFLAGS. 2014-11-22 14:53:16 -08:00
Frank Denis
e7069f0363 Do not use "=" with "--" options 2014-11-22 11:43:23 -08:00
Frank Denis
88ff698bfb --llvm-lto 1 produces smaller Javascript code.
Also add the symbol map.
2014-08-05 23:24:03 -07:00
Frank Denis
85acbd0020 Do not export low-level functions to Javascript by default 2014-08-05 23:09:39 -07:00
Frank Denis
658ae19e0b Update the list of symbols exported to Javascript. 2014-08-05 22:23:14 -07:00
Frank Denis
80f9d943f7 Export all the symbols to Emscripten 2014-07-12 21:42:16 -07:00
Frank Denis
64c70e0612 Bump up the max allowed memory for Emscripten. Might be required for scrypt. 2014-07-12 19:25:17 -07:00
Frank Denis
e6e0b7d498 Use --enable-minimal with the Javascript build 2014-07-09 21:14:27 -07:00
Frank Denis
d33d0f08e0 Preliminary build script for Emscripten 2014-05-06 14:43:46 -07:00