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

4085 Commits

Author SHA1 Message Date
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
Frank Denis
f1184e45d9 Include argon2id in crypto_pwhash_primitive()
Fixes #1331
2023-11-10 12:36:32 +01:00
Frank Denis
420356c58a Add a comment where coordinates are expected to be normalized 2023-11-08 07:38:04 +01:00
Frank Denis
faa9bc6ea4 Regen configure 2023-11-02 06:52:12 +01:00
Frank Denis
426082ee25 Zig 0.12 compat 2023-11-02 06:51:44 +01:00
Frank Denis
d1a0b7e7cb _M_AMD64 is the same as _M_X64 2023-11-02 06:40:41 +01:00
Frank Denis
2d14733a5e Typo 2023-10-20 15:46:51 +02:00
Frank Denis
0c62e19aa4 Update ChangeLog 2023-10-20 15:14:54 +02:00
Frank Denis
0158b98bd7 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:12:24 +02:00
Frank Denis
3ebcee0f02 Update ChangeLog 2023-10-20 14:03:15 +02:00
Frank Denis
bb6e6a4b52 aarch64: set compiler attributes *after* including <arm_neon.h>
Fixes #1321
2023-10-20 13:57:44 +02:00
Frank Denis
5391211b5d Try to support both zig 0.11 and zig-master 2023-10-20 12:36:05 +02:00
Frank Denis
9fe76acddd Use -O3 instead of -Ofast in dist-build scripts as well 2023-10-20 12:17:09 +02:00
Frank Denis
7b5c887707 Don't use -Ofast; it's buggy on old gcc versions 2023-10-08 19:56:11 +02:00
Frank Denis
ac6d3909eb xcframework: use proper --host= flags for Apple targets 2023-09-22 20:04:21 +02:00
Frank Denis
0a266e0a7d darwin10 -> darwin23 2023-09-22 19:52:17 +02:00
Frank Denis
86a53a901a autoconf: proper check for ARM crypto extensions 2023-09-13 19:29:34 +02:00
Frank Denis
97f7722f2c autoconf: improve check for ARM crypto extensions
And don't forget to include <arm_neon.h> for the second
attempt.
2023-09-13 18:56:14 +02:00
Frank Denis
fb4533b0a9 Port the GCC target changes for aarch64 to aegis
Fixes #1313
2023-09-13 15:46:16 +02:00
Frank Denis
b795a93fa8 Promote HKDF to minimal builds 2023-09-13 09:00:06 +02:00
Frank Denis
d1177e2eb8 Sync build scripts with 1.0.20 2023-09-13 09:00:06 +02:00
Frank Denis
443617d750 Remove expected length from the pwhash_str_verify()/needs_rehash() 2023-09-13 09:00:06 +02:00