1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00
Commit Graph

217 Commits

Author SHA1 Message Date
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
2c73b8e3b5 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Remove aes128ctr from emscripten
  Regen MSVC files
  Remove aes128ctr
  Remove aes128ctr, add secretstream
2017-09-29 02:36:42 +02:00
Frank Denis
5233df125f Add -s SINGLE_FILE=1 when compiling to Emscripten 2017-09-29 02:36:03 +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
a0fea69654 Remove RUNNING_JS_OPTS for WebAssembly 2017-08-25 22:53:31 +02:00
Frank Denis
d863c96652 chmod +x *.sh 2017-08-25 20:37:17 +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
f8e535a446 messagesbytes -> messagebytes 2017-08-25 15:12:35 +02:00
Frank Denis
cd721cfc1f Have generate-emscripten-symbols.sh automatically update the js/wasm build script 2017-08-25 15:11:37 +02:00
Frank Denis
0ccdfd0c8d Update emscripten symbols list 2017-08-25 14:26:26 +02:00
Frank Denis
242045cb4d Update emscripten symbols list 2017-08-25 14:24:34 +02:00
Frank Denis
19f76d7cb3 Simplify 2017-08-03 22:45:18 +02:00
Frank Denis
f711c6d049 + emscripten-wasm.sh 2017-08-03 16:20:07 +02:00
Frank Denis
1a3b474f7f Update the exported list of JS symbols 2017-08-03 13:38:15 +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
f02770b2ad Revert "+ sodium_alloc_overhead()"
This reverts commit c5b61d8129.
2017-08-02 14:26:56 +02:00
Frank Denis
c5b61d8129 + sodium_alloc_overhead() 2017-08-02 12:34:56 +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
b5b67d074e Add -fembed-bitcode to the iOS 64 target, for WatchOS and TVOS 2017-07-31 14:54:15 +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
f2a7b61230 Update symbols 2017-07-30 21:34:09 +02:00
Frank Denis
21fd252ac2 Tweak emscripten-wasm.sh 2017-07-18 22:08:15 +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
ccb842f488 Add a xchacha version of crypto_box_seal
No high level API for it, no reasons to, so not available in minimal mode.
2017-07-06 15:30:36 +02:00
Frank Denis
c77ba98d7b Update emscripten symbols 2017-06-28 16:44:06 +02:00
Frank Denis
51e6a59b8d Android: use PLATFORM 16 by default, don't bother with compat for API 21 2017-05-20 19:16:05 +02:00
Adriaan Duz
dbd7026bc5 Add armv7s architecture to dist-build/ios.sh (#528) 2017-04-07 07:16:44 -07:00
Frank Denis
415bc429a7 Android: the mipsel target that disappeared in r14 is back in r14b 2017-03-24 17:22:33 +01:00
Frank Denis
c1ab6f2328 emscripten: don't use --enable-minimal on sumo builds 2017-03-17 16:56:20 +01: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
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
eaf19f25d0 Use clang to compile for Android. Except on mips64, where we have to stick to gcc. 2017-03-06 16:53:08 +01:00
Frank Denis
2abe6b9e05 Revert "Remove android-mip32.sh"
This reverts commit da76a860af.
2017-03-06 15:51:38 +01:00
Frank Denis
14f6c26ef6 Python3's fine for make_standalone_toolchain.py after all 2017-03-06 13:33:25 +01:00
Frank Denis
5777418548 Export sodium_library_minimal() to javascript 2017-03-06 11:09:12 +01:00
Frank Denis
8caab6db57 Simplify the python2 detection code 2017-03-06 10:54:00 +01:00
Frank Denis
4f2881a528 make_standalone_toolchain.py requires Python2, sigh 2017-03-06 10:08:01 +01:00
Frank Denis
3e56ce235d Revert "+x"
This reverts commit 8465469167.
2017-03-06 10:06:24 +01:00
Frank Denis
8465469167 +x 2017-03-06 09:25:40 +01:00