Frank Denis
81aed0e45d
Typo
2023-10-20 15:46:37 +02:00
Frank Denis
5d9f54325f
Update ChangeLog
2023-10-20 15:16:16 +02: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
8f453f41f8
aarch64: set compiler attributes *after* including <arm_neon.h>
...
Fixes #1321
2023-10-20 13:47:57 +02:00
Frank Denis
cb4d121517
Try to support both zig 0.11 and zig-master
2023-10-20 12:33:25 +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
9ff9301465
Update for Zig-master
2023-10-16 18:07:55 +02:00
Frank Denis
ffd1e37498
Don't use -Ofast; it's buggy on old gcc versions
2023-10-08 19:58:42 +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
c7df4b0681
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
midipix support (#1315 )
2023-09-14 22:25:35 +02:00
Ørjan Malde
0bbfe33ba9
midipix support ( #1315 )
2023-09-14 18:00:27 +02:00
Frank Denis
c0dbeb68e2
Import ChangeLog from 1.0.19
2023-09-14 12:00:26 +02:00
Frank Denis
3e86d95ae0
autoconf: proper check for ARM crypto extensions
2023-09-13 19:28:12 +02:00
Frank Denis
e5deb2c85d
autoconf: improve check for ARM crypto extensions
...
And don't forget to include <arm_neon.h> for the second
attempt.
2023-09-13 18:57:27 +02:00
Frank Denis
f26b9f72eb
Use ANDROID_CPU_ARM64_FEATURE_AES for AES detection on Android/aarch64
2023-09-13 08:59:14 +02:00
Frank Denis
45aa3adb96
Handle SIGPROT, CHERI's in-address space security exception
2023-09-12 21:02:18 +02:00
Frank Denis
38ada39711
Forgotten attribute pop
2023-09-12 16:02:49 +02:00
Frank Denis
8b1f568cb1
aarch64: try harder when checking for the crypto extensions
2023-09-12 15:57:03 +02:00
Frank Denis
1074191f87
Don't hardcode type sizes
2023-09-12 12:51:53 +02:00
Frank Denis
d2f57c0124
Upgrade Android NDK
2023-09-11 20:24:00 +02:00
Frank Denis
605382399b
Promote HKDF to minimal builds
2023-09-11 19:31:38 +02:00
Frank Denis
1ef7b43ae9
Switch AEGIS to 256-bit tags by default
2023-09-11 18:02:24 +02:00
Frank Denis
b7ac85b5b7
Don't hardcode the AEGIS tag length
2023-09-11 17:38:29 +02:00
Frank Denis
2a63dcb04f
MSVC: try building Windows/ARM64 libraries in buildbase.bat
2023-09-11 13:08:46 +02:00
Frank Denis
e15f2f7ffa
New attempt to move Appveyor CI scripts to ci/appveyor
2023-09-11 11:42:54 +02:00
Frank Denis
286530e284
Keep original configurations for top-level libsodium.vcxproj
2023-09-11 02:37:03 +02:00
Frank Denis
e3c0c54e60
Reintroduce 13144d11c1
2023-09-11 02:27:53 +02:00
Frank Denis
e44d293626
Import ARM64.props
2023-09-11 02:27:50 +02:00
Frank Denis
4b9baefce5
Remove Windows/ARM64 support for Visual Studio
2023-09-11 02:19:11 +02:00
Frank Denis
be66af3b27
Debug/DebugLIB
2023-09-11 02:12:32 +02:00
Frank Denis
8cb94b9a74
Revert "The Visual Studio "Debug" target was renamed to "DebugLIB""
...
This reverts commit b9fe85c299
.
2023-09-11 02:08:19 +02:00
Frank Denis
b9fe85c299
The Visual Studio "Debug" target was renamed to "DebugLIB"
...
Spent 3 hours on this, as I wasn't expecting a breaking change.
2023-09-11 02:00:45 +02:00
Frank Denis
c3b923d6c2
Try moving all the Visual Studio/Appveyor stuff into ci/appveyor
2023-09-11 01:53:09 +02:00
Frank Denis
9db77385d0
Visual Studio: define __ARM_NEON on Windows/ARM
2023-09-11 00:58:53 +02:00
Frank Denis
08070591be
Define additional capabilities when using Visual Studio
2023-09-11 00:52:12 +02:00
Frank Denis
5b056f65f8
Import ARM64.props
2023-09-11 00:34:04 +02:00
Frank Denis
8ab880bf95
Reintroduce 13144d11c1
2023-09-11 00:31:01 +02:00
Frank Denis
b5bd5b8771
.NET: assume at least a Sandybridge CPU for x86_64 .NET packages
2023-09-11 00:15:20 +02:00
Frank Denis
ec27581dd3
build.zig: predefine some CPU features
...
Eventually, we should compile files depending on specific CPU
extensions separately, like what regular Makefiles are doing.
2023-09-11 00:07:44 +02:00
Frank Denis
6704276bc5
Add Visual Studio 2022 build files to the dist tarballs
2023-09-10 23:37:39 +02:00
Frank Denis
3cbdacbd8c
Revert "Enable building win/arm64 package using visual studio ( #1130 )"
...
This reverts commit 13144d11c1
.
It doesn't work.
Trying to open the solutions in Visual Studio results in
"libsodium.vcxproj(8,3): The element <#text> beneath element
<ItemGroup> is unrecognized."
2023-09-10 23:32:42 +02:00
Frank Denis
0c8f366d3e
.NET: target baseline CPU
2023-09-09 20:41:19 +02:00
Frank Denis
0a44a9eb73
Enable more SIMD optimizations when using Zig
2023-09-09 20:38:53 +02:00
Frank Denis
3567436865
Replace the aegis256 implementation with the libaegis implementation
2023-09-09 20:20:54 +02:00
Frank Denis
2056215af5
Update msys2
2023-09-09 17:43:19 +02:00
Frank Denis
e494ce3e69
Move sodium implementations out of their dedicated directory
2023-09-09 17:24:49 +02:00
Frank Denis
3acf050566
Replace aegis128l implementation with libaegis' implementation
2023-09-09 17:24:46 +02:00
Frank Denis
314f603929
Add support for VisionOS
2023-09-09 10:56:02 +02:00
Frank Denis
0df2340a99
Just refer to "aegis" since we have at least 2 variants
2023-09-09 08:54:53 +02:00