Frank Denis
22758fb362
apple-xcframework: add bitcode support to all emulators
2020-11-10 16:59:37 +01:00
Frank Denis
442a23342f
Build the watchOS simulators with bitcode
2020-10-21 17:00:59 +02:00
Frank Denis
3e10dcd813
emscripten: RUNNING_JS_OPTS has been removed in recent versions
2020-10-13 16:19:49 +02:00
Dan Browne
f5a4cc6337
Add tvOS support for Apple XCFramework generation.
2020-10-13 16:19:45 +02:00
Frank Denis
a95ec8a1d5
Include arm64 simulators
2020-09-21 03:12:42 +02:00
Frank Denis
0d3a991504
Shared libraries may not be buildable for Catalyst
2020-09-21 00:27:18 +02:00
Frank Denis
1510197621
Check if the compiler supports the arm64-macos target
...
instead of checking that this is what the host is running.
Xcode 12 may be able to compile for Apple Silicon even on Intel
platforms already.
2020-08-06 16:02:36 +02:00
Frank Denis
13b6bf4000
Bring Catalyst support back, properly forcing cross-compilation
2020-08-06 15:48:02 +02:00
Frank Denis
124605f3ae
Remove support for Catalyst
2020-08-05 18:17:08 +02:00
Frank Denis
cd8b616764
xcframework: also compile for macOS, rename to apple-xcframework.sh
2020-08-05 17:46:37 +02:00
Frank Denis
01189398e4
OSX -> MACOS
2020-08-05 17:44:28 +02:00
Frank Denis
d37afd6015
WASI: Put the stack before globals
...
See https://github.com/ziglang/zig/issues/4496
2020-07-28 15:07:20 +02:00
Frank Denis
58ec9cc35b
Import dist-build/ios-xcframework.s
2020-07-23 20:48:34 +02:00
Greg Hazel
a230795424
android-build.sh: exit with return code 1 if the NDK is not present
2020-06-06 09:39:18 +02:00
Frank Denis
d553485a92
emscripten: force filesystem inclusion for tests
2020-05-26 17:34:28 +02:00
Frank Denis
3b689a6ab4
New automake version
2020-03-22 22:56:19 +01:00
Frank Denis
8f37dcac04
Remove duplicate -fembed-bitcode
2020-01-28 13:43:26 +01:00
Frank Denis
1d4017df58
Regen
2019-11-11 01:08:03 +01:00
Ryan Lester
d257ec5780
workaround for error caused by latest emscripten
2019-09-11 16:04:34 +02:00
willclarktech
549bf059cd
Set NODEJS_CATCH_EXIT=0 in emscripten LDFLAGS
2019-08-25 23:53:05 +02:00
Frank Denis
5dae1fd9a9
Nits
2019-07-20 17:29:00 +02:00
Frank Denis
1e03d83420
Try to find the WASI libc in the new and the current default locations
2019-07-20 17:27:01 +02:00
Frank Denis
940ef42797
1.0.18
2019-05-30 21:57:51 +02:00
Frank Denis
bb6f156412
Shorten
2019-05-12 13:53:53 +02:00
bas-d
5b9bc08d2f
Properly check if console exists.
2019-05-12 13:53:38 +02:00
Frank Denis
1ae8e5e3b0
Export UTF8ToString
2019-05-04 19:21:21 +02:00
Luca Boccassi
ecdcf55173
Add -pthread to pkgconfig's Libs.private if enabled
...
Allows static builds to correctly inherit the pthread dependency when
used with pkg-config --static --libs libsodium
AC_SUBST doesn't require explicit values
Regen autoconf
Fixes #800
2019-01-15 00:29:20 +01:00
Frank Denis
b7bf7d9c83
undef _box_curve25519xchacha20poly1305_messagebytes_max in !sumo builds
2019-01-06 20:33:22 +01:00
Frank Denis
10ac185647
Merge branch 'master' into stable-1.0.17
...
* master: (190 commits)
fileinput is not used any more
2019
local-dynamic is enough
Set tls-model only if TLS is supported
Enable -ftls-model=global-dynamic if available
Set nonce in randombytes_salsa20_random_stir() instead of random_init()
Bump .NET version examples
Add another test
Avoid memory leak and overflow in addition test
Avoid partial array initialization
Bump SODIUM_LIBRARY_VERSION_MINOR
More tests
More tests
Improve clarity
ALLOW_MEMORY_GROWTH is now enabled
AVX512 detection has been improved
Add a conditional to enable retpoline support
must -> should
Add comments, avoid implicit array initialization
Add comments
...
2019-01-06 15:43:38 +01:00
Frank Denis
0e0dbde088
Emscripten: enable ALLOW_MEMORY_GROWTH
2018-12-30 14:57:06 +01:00
Frank Denis
b3dc89368e
Regen emscripten symbols
2018-12-30 10:37:02 +01:00
Frank Denis
e60049aad1
Revert "Add crypto_kx_ed25519" and "Add low-level kx_curve25519 functions"
...
This reverts commit 2d736dc2bc
.
This reverts commit 7f3bc5cd08
.
2018-12-25 19:22:33 +01:00
Frank Denis
7e8c2d34e5
Regen emscripten symbols
2018-12-25 12:50:13 +01:00
Frank Denis
2d736dc2bc
Add crypto_kx_ed25519
2018-12-25 12:46:21 +01:00
Frank Denis
7e31bbf1e5
Update emscripten symbols
2018-12-25 11:10:01 +01:00
Frank Denis
fdeb11d81c
Regen emscripten symbols
2018-12-20 20:09:57 +01:00
Frank Denis
a8abbec660
watchOS arm64 is actually arm64_32
2018-10-22 19:22:46 +02:00
Frank Denis
0d3640609e
Make watchos.sh looks like other scripts
2018-10-22 19:11:18 +02:00
Joseph Ross
8f5a748335
Add dist-build
script to build libsodium for WatchOS.
2018-10-22 19:07:12 +02:00
Ryan Lester
2a8c2426b5
useBackupModule getRandomValue fix
2018-09-30 00:41:45 +02:00
Ryan Lester
34cbaa8dcd
useBackupModule getRandomValue fix
2018-09-29 18:22:42 -04:00
Ryan Lester
c3aaa3c5c6
asm.js fallback fix
2018-09-04 15:47:39 +02:00
Ryan Lester
f642149364
asm.js fallback fix
2018-08-30 16:54:29 -04:00
Ryan Lester
73687a0044
style consistency fix
2018-08-30 16:54:15 -04:00
Frank Denis
41c87891dc
Emscripten: remove -s NO_FILESYSTEM=1
...
Emscripten support for this has been broken for way too long.
2018-08-29 14:02:57 +02:00
Frank Denis
72ad112e01
Emscripten: remove -s NO_FILESYSTEM=1
...
Emscripten support for this has been broken for way too long.
2018-08-29 14:02:15 +02:00
Ryan Lester
51d76b88df
iOS fix
2018-08-23 10:18:31 +02:00
Ryan Lester
8e138b9f14
iOS fix
2018-08-22 20:06:32 -04:00
Ryan Lester
973cdb5143
fix for emscripten breaking change ( https://github.com/kripken/emscripten/pull/6419 )
2018-06-30 20:59:57 +02:00
Ryan Lester
787d173483
fix for emscripten breaking change ( https://github.com/kripken/emscripten/pull/6419 )
2018-06-20 14:25:08 -04: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
7d4976a304
Check NPROCESSORS_ONLN in addition to _NPROCESSORS_ONLN
2018-03-07 10:14:01 +01:00
Frank Denis
816cef5de4
Hide getconf errors
2018-03-07 10:09:56 +01:00
joshjdevl
212187f87c
using POSIX getconf for number of available processors http://pubs.opengroup.org/onlinepubs/9699919799/utilities/getconf.html
2018-03-07 07:15:01 +00:00
Daniel Persson
c7f0f05209
I turned it around.
2018-03-06 21:20:17 +01:00
Daniel Persson
9d582340c4
Change so we set depending on a full build flag.
2018-03-06 21:10:05 +01:00
Daniel Persson
2f4d911300
Change so all builds will allow full builds.
2018-03-06 20:36:39 +01:00
Daniel Persson
a0cbef0a4a
Added configuration option to change the configuration flags.
2018-03-06 20:27:47 +01:00
Frank Denis
6382b91060
wasm bug check: use a function more likely to be present in minimal builds
2018-03-06 10:56:46 +01: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
Ryan Lester
19828dd329
run-time wasm test before resolving ready
2018-03-06 01:48:25 -05: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
Simon Warta
029652e19c
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:18:38 +01:00
Frank Denis
94e04fe530
Embed bitcode in iOS builds
2018-02-24 01:48:39 +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
bc6541a70a
emscripten: do not use closure
2018-01-15 13:33:33 +01:00
Frank Denis
9ebe443bc7
Who's still using XCode < 8 ?
2018-01-07 13:13:56 +01:00
Frank Denis
88c1dd29ce
Disable LTO in ios/osx build scripts
2017-12-31 00:57:16 +01:00
Frank Denis
7dee41abee
Disable LTO in ios/osx build scripts
2017-12-31 00:56:51 +01:00
Ryan Lester
a8aedc7ce2
updates for latest emscripten
2017-12-27 08:54:13 +01:00
Ryan Lester
4614ca754d
updates for latest emscripten
2017-12-26 22:05:08 -05:00
Frank Denis
71966fd0c6
emscripten: malloc() and free() should be exported as library symbols
2017-12-25 23:35:06 +01:00
Frank Denis
5f5d36a9bb
emscripten: malloc() and free() should be exported as library symbols
2017-12-25 23:34:38 +01:00
Frank Denis
68d845e651
Export setValue, getValue
2017-12-25 23:00:08 +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
387e1833d7
emscripten: move the set of exported runtime methods
2017-12-25 22:33:30 +01:00
Frank Denis
feddd3fab9
emscripten: export _malloc() and _free()
2017-12-25 22:31:39 +01:00
Frank Denis
8eba49b6a8
emscripten: export _malloc() and _free()
2017-12-25 22:31:04 +01:00
Frank Denis
a3d8450109
emscripten: export Pointer_stringify() for recent emscripten versions
2017-12-25 22:20:04 +01:00
Frank Denis
88fca4834c
emscripten: export Pointer_stringify() for recent emscripten versions
2017-12-25 22:18:40 +01:00
Frank Denis
bd631649c1
Emscripten: run the tests in benchmark mode
2017-12-21 18:52:59 +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
f34d5ef17e
Emscripten: bump the memory up for the tests
2017-12-20 23:04:04 +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
65f71fe060
Prefer the system version of nodejs to the emscripten one
2017-12-20 22:51:58 +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