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

405 Commits

Author SHA1 Message Date
Frank Denis
101610670a Remove empty line 2024-09-18 12:40:45 +02:00
Saud Khan
d2694fc37d
Add support for Android's new 16K page sizes (#1407) 2024-09-11 16:04:43 +02:00
Frank Denis
0c1ea8aa4d Regen dist-build/emscripten.sh 2024-07-08 18:29:09 +02:00
Frank Denis
7858b58b35 emscripten: create JS-only builds 2024-05-23 15:42:35 +02:00
Frank Denis
9703516a5e Try running the JavaScript tests with Bun before Node 2024-05-20 21:37:16 +02:00
Frank Denis
b582d20ab4 WASI: disable PIE. PIE doesn't work with WASI. 2024-05-19 11:22:21 +02:00
Nikita Savko
8806992b1b
Fixed xcframework build for iOS 11 and later (#1361)
* Fixed inability to create xcframework with minimal iOS deployment target newer than iOS 10.x

* Set OS_VERSION_MIN as default value for OS_SIMULATOR_VERSION_MIN
2024-03-25 17:15:38 +01:00
Frank Denis
e08d3e59e1 Emscripten: export crypto_aead_aegis* in standard builds 2024-03-24 10:44:55 +01:00
小明
7e6ea701b7
fixed inability to create xcframework in Symbolic Link (#1356)
Creating Clibsodium.xcframework...
error: cannot compute path of binary 'Path(str: "/private/tmp/libsodium-stable/libsodium-apple/macos/lib/libsodium.a")' relative to that of '/tmp/libsodium-stable/libsodium-apple/macos/lib/libsodium.a'
ls: /tmp/libsodium-stable/libsodium-apple/Clibsodium.xcframework: No such file or directory

ls -l /tmp
lrwxr-xr-x@ 1 root  wheel  11 12 15 22:43 /tmp -> private/tmp
2024-02-29 11:19:58 +01:00
Frank Denis
93a6e79750 Sync 2023-11-30 15:45:40 +01:00
Frank Denis
712d0f3fb9 Bump dev version 2023-11-29 22:10:35 +01:00
Frank Denis
5466030cce egrep -> grep -E 2023-11-23 13:34:36 +01:00
Frank Denis
16cd369c65 Don't compile for VisionOS if Xcode doesn't support it
Drop APPLE_SILICON_SUPPORTED, since Xcode has had support for it
for ages.
2023-10-20 15:15:13 +02:00
Frank Denis
0e0e2c1640 Use -O3 instead of -Ofast in dist-build scripts as well 2023-10-20 12:21:06 +02:00
Frank Denis
7e3500e878 xcframework: use proper --host= flags for Apple targets 2023-09-22 20:03:11 +02:00
Frank Denis
41f34e89bc darwin10 -> darwin23 2023-09-22 19:52:48 +02:00
Frank Denis
314f603929 Add support for VisionOS 2023-09-09 10:56:02 +02:00
Frank Denis
9dc6b80d8c Bump dev version 2023-09-08 21:44:54 +02:00
Frank Denis
5755a5c009 emscripten: remove pwhash_* from non-sumo builds
Also use different memory settings for js and wasm builds
2023-02-16 20:12:54 +01:00
Frank Denis
6bb5197c2c emscripten: enable EVAL_CTORS for WASM builds 2023-02-16 19:25:56 +01:00
Frank Denis
82696ef8c4 emscripten: setting Module.TOTAL_MEMORY doesn't do anything 2023-02-15 20:16:14 +01:00
Frank Denis
ee009287af The --stack-first link option doesn't exist any more 2023-02-07 18:38:23 +01:00
Frank Denis
9cad824a9c apple-xcframework.sh: add the ability to skip simulators 2023-01-16 13:34:10 +01:00
Frank Denis
1bd73c1a68 Add crypto_kdf_hkdf_sha{256,512}_extract_{init,update,final} 2023-01-08 22:16:34 +01:00
Frank Denis
ab7c855fc4 wasm32-wasi.sh: match the number of iterations from build.zig 2022-12-20 08:30:59 +01:00
Frank Denis
408125a72b Add AEGIS-256 software support 2022-12-10 00:03:42 +01:00
Frank Denis
11d2fa5bb0 Add AEGIS-128L software support 2022-12-09 21:12:35 +01:00
Frank Denis
7948584fb7 generate-emscripten-symbols.sh: allows the lib path to be overridden 2022-12-09 21:12:35 +01:00
Frank Denis
415bce5d97 dist-build: use -Ofast or -O3 2022-11-21 13:01:44 +01:00
Elie Hage
3a99e1ec8a
Add support for arm64 watchOS (#1211) 2022-09-23 17:29:44 +02:00
Javier Navarro
907c2b64ef
ios: remove the support for bitcode (#1210) 2022-09-19 14:04:02 +02:00
Frank Denis
cc7e7de81d Catalyst: iOS 13.1 is the minimum target for Xcode 13
Fixes #1167
2022-04-03 00:00:54 +02:00
Frank Denis
d30251f03e Improve readability 2022-02-05 20:59:16 +01:00
ReenigneCA
68baef3f03
Added script to generate all android versions and script to create AAR (#1155)
* Added script to generate all android versions and script to create AAR with prefab

* disable-pie so x86 static lib works. Update AAR to fix bug related to soname field in .so files themselves. Integrate android-all.sh into android-aar.sh

* Missed updated android-build.sh in last commit. This adds --disable-pie to the configure flags

* Added message after android-aar compilation explaining aar usage
2022-02-05 20:38:12 +01:00
Frank Denis
dce3bca3ba Use deterministic signatures for benchmarking 2022-01-23 00:04:57 +01:00
Frank Denis
3b458d0eee wasm32-wasi: add /opt/homebrew/bin to the default paths 2022-01-22 23:34:25 +01:00
Frank Denis
75175f8ec6 android-build: use -z 2021-12-28 22:41:31 +01:00
Frank Denis
c72dce4075 androit-build: add extra quotes 2021-12-28 22:39:25 +01:00
Frank Denis
6274dd3598 The Android NDK cannot target API level 16 any more; bump to 19 2021-12-28 22:37:53 +01:00
Frank Denis
003ad0f1c9 Don't use legacy quotes 2021-12-28 22:15:08 +01:00
ReenigneCA
c3d0f1b666
update android build scripts to support latest ndk version and prebuilt toolchains (#1138)
* Update android-armv7-a.sh

update HOST_COMPILER variable to be compatible with updated android-build.sh that supports latest ndk and use of prebuilt toolchains.

* Update android-build.sh

update to allow use of prebuilt toolchains in latest ndk. The latest ndk does not support arm prior to armv7a and the HOST_COMPILER for armv7a must now be armv7a not just arm.

* Delete android-arm.sh

arm prior to armv7a is no longer supported by android ndk.

* Update android-build.sh

removing unneeded MAKE_TOOLCHAIN variable

* Update Makefile.am

removing obsolete android targets

* Delete android-mips32.sh

* Delete android-mips64.sh
2021-12-28 22:12:52 +01:00
Frank Denis
677572ec1b No need to define the STRIP command 2021-07-19 12:53:26 +02:00
Frank Denis
c2d66aaec9 WASI: remove wasi-sdk dependency; build module with zig 2021-07-19 12:45:33 +02:00
Frank Denis
6efaa0264a emscripten: EXTRA_EXPORTED_RUNTIME_METHODS -> EXPORTED_RUNTIME_METHODS 2021-06-17 21:58:25 +02:00
Frank Denis
85e48722a8 Enable crypto extensions on ARMv8 2021-04-08 11:13:40 +02:00
Simon Wachter
12f03c310f
emscripten: build with NODEJS_CATCH_REJECTION=0 (#1025)
This stops emscripten from adding a `unhandledRejection` handler on the global `process` object that forcefully exits the process.

This allows fixing jedisct1/emscripten.js#253 because we no longer need to remove these listeners to compensate after the fact.
2021-01-28 16:27:36 +01:00
Frank Denis
eb38ff4a85 Sort 2020-12-10 22:22:38 +01:00
Frank Denis
611e1a0bc1 Typo (risretto -> ristretto)
Fixes #1014
2020-12-10 22:17:06 +01:00
Frank Denis
7af3ed9237 wasm-ld doesn't support --no-threads any more 2020-12-03 17:32:15 +01:00
Frank Denis
ec552621cb apple-xcframework: add bitcode support to all emulators 2020-11-10 16:59:57 +01:00