1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00
Commit Graph

344 Commits

Author SHA1 Message Date
Frank Denis
68b64b6ab8 OSX -> MACOS 2020-08-05 17:34:44 +02:00
Frank Denis
7e9095bcc5 WASI: Put the stack before globals
See https://github.com/ziglang/zig/issues/4496
2020-07-28 15:06:04 +02:00
Frank Denis
e60ac864bc ios-xcframework: build for iOS/watchOS on all platforms
Xcode 12 beta 3 now includes the required SDKs.
2020-07-23 20:08:13 +02:00
Frank Denis
906004be2b Update dist-build/Makefile.am after ios.sh renaming 2020-07-23 17:40:06 +02:00
Frank Denis
f8eb6ef24b Rename ios.sh to ios-xcframework.sh so that the latter can go to stable 2020-07-23 16:18:54 +02:00
Frank Denis
6388063c85 ios.sh: build the XCFramework in a single pass
Via @Westacular @svdo
Fixes #985
2020-07-21 14:14:08 +02:00
Frank Denis
d1d777532f ios.sh: don't build Catalyst/arm64 on x86_64 hosts for now
Fixes #980
2020-07-05 01:40:52 +02:00
Frank Denis
21d93b944a osx.sh -> macos.sh 2020-07-04 15:48:56 +02:00
Frank Denis
9340fbebe7 Format 2020-07-04 15:32:13 +02:00
Frank Denis
27f4134785 Add support for Catalyst on Apple Silicon
Of course, we should do feature detection instead of system detection,
but future Xcode 12 versions are probably going to bring things on par.
2020-07-03 22:44:43 +02:00
Frank Denis
a0bee2a883 Remove ios-xcframework.sh and watchos.sh; consolidate ios.sh 2020-07-03 21:29:59 +02:00
Frank Denis
2aae747916 Move global definitions up 2020-07-03 19:47:13 +02:00
Frank Denis
c5d1c546c6 Reduce the differences between ios.sh and ios-xcframework.sh 2020-07-03 19:44:01 +02:00
Alexander Mindov
13e0eb4972
added iOS xcframework build script (#979)
Co-authored-by: Philip M. Sneed <38544113+0xacdc@users.noreply.github.com>
2020-07-03 18:10:00 +02:00
Greg Hazel
c6506e6441
android-build.sh: exit with return code 1 if the NDK is not present 2020-06-06 09:36:57 +02:00
Frank Denis
af27d27f8c emscripten: force filesystem inclusion for tests 2020-05-26 17:32:22 +02:00
Frank Denis
c3ca08913c Add AEGIS-128L for no good reasons 2020-05-19 15:36:22 +02:00
Frank Denis
c2efce113d Add crypto_core_{ed25519,ristretto255}_scalar_is_canonical() 2020-05-13 22:59:08 +02:00
Frank Denis
67a9e79655 Remove memory shielding
That was a great idea to protect against information leak through
speculative loads.

Realistically, nobody is going to use this.
2020-05-10 21:05:24 +02:00
Frank Denis
3a736f4d19 Bump major 2020-03-31 12:21:14 +02:00
Frank Denis
728b26c2c1 Remove edwards25519sha512batch
Tagged as deprecated for years, never imported by `<sodium.h>`, and
intentionally never documented.

`edwards25519sha512batch` was just around for ABI compatibility
with NaCl, but no projects seem to be using it.
2020-03-31 12:11:32 +02:00
Frank Denis
ac48996492 Remove crypto_core_ed25519_from_hash()
Undocumented, was deprecated for a while in stable versions,
obsoleted by `_from_string()` and `from_string_ro()`.
2020-03-31 12:04:47 +02:00
Frank Denis
5fdd12fa97 Add crypto_core_ed25519_from_string() and crypto_core_ed25519_from_string_ro() 2020-03-30 17:19:36 +02:00
Frank Denis
eab70f79c0 Add HKDF/SHA-512 and HKDF/SHA-256 2020-03-28 21:35:54 +01:00
Frank Denis
1088835f25 Bring the MacOS minimum version to 10.10 (Yosemite) 2020-03-18 17:19:51 +01:00
Frank Denis
705b4ef2c6
Add support for Catalyst (#923)
* added macOS Catalyst support

* removed unintended changes

* moved code snippets around

* Remove duplicate -fembed-bitcode

Co-authored-by: kappes <kappes@users.noreply.github.com>
2020-01-28 16:36:45 +01:00
Frank Denis
1c25d9cc6a Remove duplicate -fembed-bitcode 2020-01-28 13:43:05 +01:00
Frank Denis
c8b6906c60 has_armcrypto_aes -> has_armcrypto 2019-10-23 19:07:33 +02:00
Frank Denis
db64ee1787 Bump the minimum iOS version to iOS 9
Add stricter checks for getrandom()/getentropy()
2019-10-23 18:11:12 +02:00
Frank Denis
b614cfc37f Bump iOS min version to 8.0.0 2019-10-23 18:02:43 +02:00
Frank Denis
acaed459ce Add ARM NEON and AES runtime checks 2019-10-22 22:51:58 +02:00
Frank Denis
a59e1f8b54 aegis256: update MSVC solutions, .gitignore, exported emscripten symbols
and the global list of symbols
2019-09-12 22:10:07 +02:00
Ryan Lester
f45693bd35
fix for asm.js async loading 2019-09-11 10:49:46 -04:00
Frank Denis
cfc60eaa92
Merge pull request #862 from buu700/master
Workaround for error caused by latest emscripten
2019-09-11 16:03:03 +02:00
0xmatthias
84492eac88 building shared library for ios.sh 2019-09-09 04:25:59 +02:00
Ryan Lester
2aede0de9a
workaround for error caused by latest emscripten 2019-09-08 21:41:24 -04:00
willclarktech
4bf6ab1f93
Set NODEJS_CATCH_EXIT=0 in emscripten LDFLAGS 2019-08-01 19:01:42 +02:00
Frank Denis
fdfca240d6 Rename WASI_SYSROOT to WASI_LIBC and check both the old and new dirs 2019-07-20 17:29:44 +02:00
Frank Denis
a73f8f15e4 Use /opt/wasi-libc as the default WASI sysroot 2019-07-09 19:37:31 +02:00
Frank Denis
0106e0495d Update emscripten symbols 2019-06-24 14:46:57 +02:00
Frank Denis
06f331d153 Use the same memory limit everywhere 2019-05-21 11:12:07 +02:00
Frank Denis
dee20234c8 Shorten 2019-05-12 13:51:41 +02:00
bas-d
1fd2422623 Properly check if console exists. 2019-05-12 13:04:11 +02:00
bas-d
646c0cfd46 Check if console is null or undefined. 2019-05-12 12:41:55 +02:00
bas-d
e1176fe2bb Override print and printErr 2019-05-11 17:15:14 +02:00
Frank Denis
53cd7d6a6f Export UTF8ToString instead of Pointer_stringify 2019-05-04 18:06:05 +02:00
Frank Denis
10b991d518 wasm32-unknown-wasi -> wasm32-wasi 2019-05-03 11:38:37 +02:00
Frank Denis
a47159de27 Just look for the 'wasi' substring 2019-05-03 11:15:42 +02:00
Frank Denis
4f1d0ccfdb Update the symbol list of the emscripten target 2019-05-02 00:56:02 +02:00
Frank Denis
38ebbac336 set ED25519_NONDETERMINISTIC on WebAssembly/WASI target 2019-04-30 19:44:13 +02:00