Ryan Lester
973cdb5143
fix for emscripten breaking change ( https://github.com/kripken/emscripten/pull/6419 )
2018-06-30 20:59:57 +02:00
Frank Denis
06ee95c3f1
Regen autoconf scripts
2018-03-14 12:03:49 -07:00
Frank Denis
31a876a525
build scripts: compile deprecated functions if LIBSODIUM_FULL_BUILD is defined
2018-03-14 12:01:10 -07:00
Frank Denis
f11ffbdd67
wasm bug check: use a function more likely to be present in minimal builds
2018-03-06 10:56:05 +01:00
Ryan Lester
bb437be60c
run-time wasm test before resolving ready
2018-03-06 10:54:42 +01:00
Simon Warta
663c6f3af6
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:28:50 +01:00
Frank Denis
5ebc0d4029
Embed bitcode in iOS builds
2018-02-24 01:47:51 +01:00
Frank Denis
046821b5c1
emscripten: do not use closure
2018-01-15 13:33:58 +01:00
Frank Denis
88c1dd29ce
Disable LTO in ios/osx build scripts
2017-12-31 00:57:16 +01:00
Ryan Lester
a8aedc7ce2
updates for latest emscripten
2017-12-27 08:54:13 +01:00
Frank Denis
71966fd0c6
emscripten: malloc() and free() should be exported as library symbols
2017-12-25 23:35:06 +01:00
Frank Denis
942a6f9fa6
Export setValue, getValue
2017-12-25 22:59:41 +01:00
Frank Denis
deb4a223d2
emscripten: move the set of exported runtime methods
2017-12-25 22:35:02 +01:00
Frank Denis
feddd3fab9
emscripten: export _malloc() and _free()
2017-12-25 22:31:39 +01:00
Frank Denis
a3d8450109
emscripten: export Pointer_stringify() for recent emscripten versions
2017-12-25 22:20:04 +01:00
Frank Denis
eeb135010d
Emscripten: run the tests in benchmark mode
2017-12-21 18:51:56 +01:00
Frank Denis
a2c18ca3ba
Emscripten: bump the memory up for the tests
2017-12-20 23:04:36 +01:00
Frank Denis
858bfd0914
Prefer the system version of nodejs to the emscripten one
2017-12-20 22:52:31 +01:00
Frank Denis
5bc564cac1
1.0.16
...
* master: (221 commits)
Comment
Comments
msys2 build scripts: just use -Ofast
Always prefer vararrays to alloca()
Don't redefine alloca
Return -1 if the scalar is 0 in crypto_scalarmult_ed25519()
Remove trailing space
Import the regen-msvc script
Update ChangeLog
Do not wipe the workspace after argon2 completes
Remove tests for deprecated functions
Give the compiler a change to inline index_alpha()
Immediately allocate all required memory in argon2/scrypt
Check reduced-round salsa variants in non-minimal mode
Coverage exclusion -- this is just an extra, redundant check
Remove incorrect and useless cast
-fomit-frame-pointer makes a different on mips
WebAssembly benefits from the 128-bit types, too
Remove extra spaces
Undef devel
...
2017-12-13 16:21:20 +01:00
Frank Denis
1d85e73d8f
msys2 build scripts: just use -Ofast
2017-12-12 23:42:54 +01:00
Frank Denis
208989010b
Update emscripten symbols
2017-11-25 20:00:50 +01:00
Frank Denis
01e2aabbfd
Android: remove --unified-headers
...
Fixes #635
2017-11-22 14:53:52 +01:00
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
75d507a434
+ crypto_core_ed25519_is_valid_point()
2017-11-13 14:36:40 +01:00
Frank Denis
c01884ea80
Regen emscripten symbols
2017-11-13 14:29:40 +01:00
Frank Denis
57dac9eb60
+ crypto_core_ed25519_add(), crypto_core_ed25519_sub()
2017-11-13 14:22:44 +01:00
Frank Denis
5e1a9c580a
Register sodium_stackzero()
2017-11-10 20:48:39 +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
58fc2dcf5b
Add crypto_sign_ed25519_scalarmult to emscripten symbols
2017-10-21 19:00:54 +02:00
Frank Denis
eb24f8e358
emscripten: actually print the installation prefix
2017-10-18 13:11:56 +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
cd1b97d5a2
Regen autoconf files
2017-10-01 17:17:11 +02:00
Frank Denis
770e7945c3
Bump major for generate-emscripten-symbols.sh 18 -> 23
2017-10-01 13:20:55 +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
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