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

4397 Commits

Author SHA1 Message Date
Frank Denis
9c0c1f709e Revert "Avoid 128-bit arithmetic when on WebAssembly targets"
This reverts commit 74781400dc.
2024-05-19 16:31:02 +02:00
Frank Denis
c9c34fb31f Always add -enable-sign-ext to the wasm-opt command-line
At least LLVM 18 seems to emit these instructions by default.
2024-05-19 13:04:29 +02:00
Frank Denis
b582d20ab4 WASI: disable PIE. PIE doesn't work with WASI. 2024-05-19 11:22:21 +02:00
Frank Denis
6e27e98777 Remove CI test for x86-linux 2024-05-09 22:31:49 +02:00
Frank Denis
4ad956470f Explicitly enabling evex512 is now required with LLVM 18 2024-05-09 22:27:45 +02:00
Frank Denis
2f003eead5 Replace .{ .path= ...} with b.path() 2024-05-09 21:28:34 +02:00
Frank Denis
f927de1702 Update msys2 to version 20240507 2024-05-07 14:14:53 +02:00
Frank Denis
113781628b Add GitHub attestation build provenance for NuGet packages 2024-05-02 23:28:10 +02:00
Frank Denis
a904cb8aad .NET: update minimal supported versions to .NET 8 2024-04-29 11:38:24 +02:00
Frank Denis
36bf6ce89c Exclude shared libraries on WebAssembly 2024-04-29 00:18:31 +02:00
Frank Denis
44b1e9da87 .NET: ship .so files for linux-musl 2024-04-28 23:07:16 +02:00
Frank Denis
15eb13283b Don't skip shared libraries for musl, but do it for android 2024-04-28 22:51:20 +02:00
Frank Denis
d0eec97024 Update {download,upload}-artifact GitHub actions
Keep download-artifact@v3 only for ancient Linux distros still supported
by .NET
2024-04-28 16:50:05 +02:00
Frank Denis
2e8edcd939 Update ChangeLog 2024-04-28 15:50:54 +02:00
Frank Denis
08fa6d1de6 .NET: add ios/tvos/catalyst 2024-04-28 14:29:02 +02:00
Frank Denis
9336e0ef06 Azure Pipelines: fix MSYS64 download URL 2024-04-27 23:47:52 +02:00
Frank Denis
55329daeb8 Update ChangeLog 2024-04-27 23:43:01 +02:00
Frank Denis
80aca14c8d Simplify build of .NET pakages, including Windows/arm64 2024-04-27 23:13:39 +02:00
Frank Denis
da0ce565d2 Use clang pragmas to enable features rather than depend on compiler settings 2024-04-27 23:05:38 +02:00
Frank Denis
c9a92ea41a Update zig action; musl builds are static 2024-04-27 00:54:11 +02:00
Frank Denis
fae180b7ab Revert "Zig build: enable CPU-specific flags only on relevant files"
This reverts commit 9b369db0d5.
2024-04-27 00:51:20 +02:00
Frank Denis
d3f165405f Revert "Try changing the target for every lib"
This reverts commit 45ee1c31b8.
2024-04-27 00:51:10 +02:00
Frank Denis
be7c9c2f51 Revert "Do not install CPU-specific libs"
This reverts commit e6b1f1c9f2.
2024-04-27 00:50:57 +02:00
Frank Denis
ef17ae3923 Test compilation on x86-linux and x86-windows 2024-04-26 15:34:22 +02:00
Frank Denis
e6b1f1c9f2 Do not install CPU-specific libs 2024-04-26 15:26:09 +02:00
Frank Denis
45ee1c31b8 Try changing the target for every lib 2024-04-26 15:21:10 +02:00
Frank Denis
9b369db0d5 Zig build: enable CPU-specific flags only on relevant files
Fixes https://github.com/jedisct1/libsodium/discussions/1358
2024-04-26 13:50:49 +02:00
Frank Denis
edb94a99a6 Remove redundant definition 2024-04-26 13:50:40 +02:00
Frank Denis
74781400dc Avoid 128-bit arithmetic when on WebAssembly targets
See https://github.com/WebAssembly/tool-conventions/pull/223#issuecomment-2052101191
2024-04-12 19:19:48 +02:00
Frank Denis
f8ca998c52 Update for zig-current 2024-04-08 21:16:26 +02:00
Frank Denis
b7b1d027cc Avoid quote 2024-04-08 18:59:30 +02:00
Frank Denis
07ccd8d8ae Revert "Improve Debian package"
This reverts commit a2c75d7f29.
2024-04-02 08:22:57 +02:00
Frank Denis
a2c75d7f29 Improve Debian package 2024-04-01 15:01:52 +02:00
Frank Denis
055a54655a Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Fixed xcframework build for iOS 11 and later (#1361)
2024-03-25 17:18:39 +01: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
810abf2d9b Emscripten: --memory-init-file is not supported any more 2024-03-24 13:10:45 +01:00
Frank Denis
e08d3e59e1 Emscripten: export crypto_aead_aegis* in standard builds 2024-03-24 10:44:55 +01:00
Frank Denis
5fc2aff012 Update checkout action to v4 2024-03-03 23:19:34 +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
Tobias Nießen
4cdcefaff2
It's been a decade (#1351) 2024-02-17 15:11:56 +01:00
Andrzej Fiedukowicz
b564794edd
Move includes in crypto_onetimeauth_poly1305.h outside of extern C (#1345)
Includes being outside of `extern "C"` are de-facto standard in all other include files of libsodium.

At the same time, having inside the `extern "C"` is causing problem with C++ vs. C toolchain being confused about which libraries should be linked. This was especially painful while working on `swift-sodium` integration with windows.
2024-01-17 15:06:11 +01:00
Frank Denis
f62efca336 Update MSYS2 2024-01-13 22:49:20 +01:00
Frank Denis
b39a9072ea Update ChangeLog 2024-01-07 19:19:33 +01:00
Frank Denis
2ac811eac7 2024 2024-01-07 19:15:51 +01:00
Frank Denis
4c56848dcc When using MSVC on aarch64, __ARM_ARCH is not defined
Reported by RADDI.net -- Thanks!
2024-01-07 16:14:21 +01:00
Frank Denis
56bef8abc5 Update setup-zig action 2024-01-04 13:06:18 +01:00
Frank Denis
5696d735c4 2024 2024-01-04 12:07:31 +01:00
Frank Denis
3990da5802 Update for zig-master 2024-01-04 12:07:16 +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