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

4070 Commits

Author SHA1 Message Date
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
Frank Denis
89a62f0fa8 Move Appveyor CI scripts to ci/appveyor 2023-09-13 09:00:06 +02:00
Frank Denis
a7f6e8d218 Update the ChangeLog 2023-09-13 09:00:06 +02:00
Frank Denis
dc63ae9aab Visual Studio: add Windows/ARM64 support 2023-09-13 09:00:06 +02:00
Frank Denis
854947a4ce Add AEGIS AEADs 2023-09-13 09:00:06 +02:00
Frank Denis
b8a6fecdb6 Add support for HKDF 2023-09-13 09:00:06 +02:00
Frank Denis
c7fc4c5e92 osx.sh -> macos.sh 2023-09-13 09:00:05 +02:00
Frank Denis
ad0e68cff7 Bump 2023-09-13 09:00:05 +02:00
Frank Denis
61674c6c87 Use ANDROID_CPU_ARM64_FEATURE_AES for AES detection on Android/aarch64 2023-09-13 08:59:50 +02:00
Frank Denis
a589d64b42 Handle SIGPROT, CHERI's in-address space security exception 2023-09-12 21:04:06 +02:00
Frank Denis
b6bcb3dc22 Forgotten attribute pop 2023-09-12 16:03:13 +02:00
Frank Denis
8a87181b6b Regen 2023-09-12 16:00:40 +02:00
Frank Denis
dddd55df72 Regen 2023-09-12 15:59:44 +02:00
Frank Denis
e2935b6943 aarch64: try harder when checking for the crypto extensions 2023-09-12 15:59:05 +02:00
Frank Denis
17ea717fd7 Support ARM Morello 2023-09-12 14:06:09 +02:00
Frank Denis
652c081535 Don't hardcode type sizes 2023-09-12 12:52:08 +02:00