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

4106 Commits

Author SHA1 Message Date
Frank Denis
8b6f31f44f Refuse VLAs 2024-07-11 09:22:04 +02:00
Frank Denis
3e17b33c70 Fix flaky non-deterministic box_seal tests
With very small messages, there's a significant probability that the
ciphertext is identical to the message.

Fixes #1388
2024-06-30 21:13:02 +02:00
Frank Denis
37179b5f01 Add .zig-cache to .gitignore 2024-06-23 13:22:13 +02:00
Frank Denis
9511c982fb 1.0.20 2024-05-25 14:13:52 +02:00
Frank Denis
b85bf57f78 Add forgotten distribution files 2024-05-25 14:13:52 +02:00
Frank Denis
87f46367c4 AEGIS: improve performance of AD absorption on x86_64
No apparent regression on other platforms.

Adapted from libaegis.
2024-05-25 00:43:57 +02:00
Frank Denis
93a1ec76c2 constcheck: include Homebrew paths by default 2024-05-24 13:16:46 +02:00
Frank Denis
ce19f2d494 Add quotes 2024-05-24 12:48:02 +02:00
Frank Denis
4de111b8cf Update ChangeLog 2024-05-23 15:56:56 +02:00
Frank Denis
c6316cecca Regen configure 2024-05-23 15:52:06 +02:00
Frank Denis
e9cc216804 Undefine HAVE_{AMD64,AVX}_ASM with the Windows calling convention
Fixes #1371
2024-05-23 15:49:46 +02:00
Frank Denis
2e662fb56f Try running the JavaScript tests with Bun before Node 2024-05-20 21:38:14 +02:00
Frank Denis
eac1063b68 WASI: disable PIE. PIE doesn't work with WASI. 2024-05-19 11:21:41 +02:00
Frank Denis
54b04533cc Explicitly enabling evex512 is now required with LLVM 18 2024-05-09 22:21:10 +02:00
Frank Denis
4b9ddc6b8d Replace .{ .path= ...} with b.path() 2024-05-09 22:08:08 +02:00
Frank Denis
25be123d48 Update msys2 to version 20240507 2024-05-07 14:50:25 +02:00
Frank Denis
b6d2cf8752 Add GitHub attestation build provenance for NuGet packages 2024-05-02 23:28:03 +02:00
Frank Denis
b6ed54f17f Exclude shared libraries on WebAssembly 2024-04-29 00:19:08 +02:00
Frank Denis
a83f5a7e80 Downgrade upload/download actions to @v3 2024-04-28 23:42:26 +02:00
Frank Denis
9f5a497d51 .NET package 1.0.19.2 2024-04-28 23:06:15 +02:00
Frank Denis
4b28941d4d .NET: ship .so files for linux-musl 2024-04-28 23:06:11 +02:00
Frank Denis
e77588fe8f Don't skip shared libraries for musl, but do it for android 2024-04-28 22:52:05 +02:00
Frank Denis
df545b484c Update {download,upload}-artifact GitHub actions
Keep download-artifact@v3 only for ancient Linux distros still supported
by .NET
2024-04-28 17:06:10 +02:00
Frank Denis
0234f4e913 .NET package 1.0.19.1 2024-04-28 15:50:35 +02:00
Frank Denis
80fdb3c7d1 Update ChangeLog 2024-04-28 15:50:06 +02:00
Frank Denis
7d2eec3603 .NET: add ios/tvos/catalyst 2024-04-28 14:28:56 +02:00
Frank Denis
18091f3258 Update ChangeLog 2024-04-28 00:16:18 +02:00
Frank Denis
ef9ad0c041 Simplify build of .NET pakages, including Windows/arm64 2024-04-28 00:16:15 +02:00
Frank Denis
4feb28379a Azure Pipelines: fix MSYS64 download URL 2024-04-27 23:53:15 +02:00
Frank Denis
bf972efda0 Use clang pragmas to enable features rather than depend on compiler settings 2024-04-27 23:18:59 +02:00
Nikita Savko
3de5e505f0 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-04-27 23:17:25 +02:00
Frank Denis
4c35c49029 Avoid quote 2024-04-27 23:16:00 +02:00
Frank Denis
73248a4972 Emscripten: --memory-init-file is not supported any more 2024-03-24 13:11:06 +01:00
Frank Denis
bf4fb64457 Emscripten: export crypto_aead_aegis* in standard builds 2024-03-24 10:41:56 +01:00
Frank Denis
f7e3c6d206 Add support for LLVM libc 2024-03-24 10:37:10 +01:00
小明
74fd1d4584 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:20:17 +01:00
Andrzej Fiedukowicz
b3333f07fa 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:29 +01:00
Frank Denis
3df3612c4c Update MSYS2 2024-01-13 22:48:51 +01:00
Frank Denis
19b145f604 Update ChangeLog 2024-01-07 19:18:58 +01:00
Frank Denis
f86b0f7be5 2024 2024-01-07 19:16:01 +01:00
Frank Denis
194772adb3 Autoconf update 2024-01-07 16:13:55 +01:00
Frank Denis
5068a8f257 When using MSVC on aarch64, __ARM_ARCH is not defined
Reported by RADDI.net -- Thanks!
2024-01-07 16:12:41 +01:00
Frank Denis
6b76229db3 2024 2024-01-04 13:10:34 +01:00
Frank Denis
4b0bf89417 Sync ci.yml with master 2024-01-04 13:10:08 +01:00
Frank Denis
632afd5c7c Update setup-zig action 2024-01-04 13:07:10 +01:00
Frank Denis
f6d0efefc3 Sync 2023-11-30 15:44:36 +01:00
Frank Denis
0160174b0a Update ChangeLog 2023-11-29 22:05:21 +01:00
Frank Denis
60c0c40b55 Add forgotten crypto_kdf_hkdf_sha512_statebytes() 2023-11-29 22:03:05 +01:00
Frank Denis
2945e73efd egrep -> grep -E 2023-11-23 13:36:02 +01:00
Frank Denis
6669f95b9f Zig: use "const" for variables that are never mutated 2023-11-20 18:59:15 +01:00