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

4119 Commits

Author SHA1 Message Date
Saud Khan
ff546a2d9b Add support for Android's new 16K page sizes (#1407)
Some checks are pending
CI / other-comp (push) Waiting to run
CI / tcc (push) Waiting to run
CI / zig (push) Waiting to run
CI / regular (push) Waiting to run
CI / check-globals (push) Waiting to run
CI / other-arch (push) Waiting to run
CI / android (push) Waiting to run
CodeQL scan / CodeQL-Build (push) Waiting to run
.NET Package / build-windows-msvc (push) Waiting to run
.NET Package / build-others (push) Waiting to run
.NET Package / build-apple (push) Waiting to run
.NET Package / pack (push) Blocked by required conditions
.NET Package / build-test-binaries (push) Blocked by required conditions
.NET Package / run-test-binaries-os-versions (centos:8) (push) Blocked by required conditions
.NET Package / run-test-binaries-os-versions (debian:10) (push) Blocked by required conditions
.NET Package / run-test-binaries-cross-plat (arm, /usr/arm-linux-gnueabihf/lib) (push) Blocked by required conditions
.NET Package / run-test-binaries-cross-plat (arm64, /usr/aarch64-linux-gnu/lib) (push) Blocked by required conditions
.NET Package / run-test-binaries-cross-plat (x64, /usr/lib) (push) Blocked by required conditions
2024-09-25 21:38:20 +02:00
Frank Denis
ec4e5d0708 Remove empty line 2024-09-18 12:41:19 +02:00
Frank Denis
53a746c68d Remove unused variables 2024-09-18 12:41:05 +02:00
mschwarzl
b7b1c08272 Support for Cloudflare Workers for javascript_stir (#1401)
* Support for Cloudflare Workers for javascript_stir

* Ramove debugging comment

---------

Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>
2024-08-13 21:40:54 +02:00
Frank Denis
445dc37c16 Disable ssp on Solaris where people may use old toolchains 2024-08-11 15:07:51 +02:00
Frank Denis
0217d07326 Start introducing optblockers to prevent unwanted conditional jumps 2024-08-03 18:14:26 +02:00
Frank Denis
fb80cbfa59 Test using centos:8 2024-08-01 14:34:07 +02:00
Frank Denis
09eb3757da Remove aarch64_32 2024-08-01 14:16:51 +02:00
Frank Denis
f2303ba3f0 Update autoconf 2024-08-01 13:57:57 +02:00
Frank Denis
dcc6471e26 Indent 2024-08-01 13:57:32 +02:00
SeungHwan Hur
28ac48d112 help MSVC optimize ROL/ROR functions (#1392) 2024-08-01 13:57:26 +02:00
Frank Denis
48e78c8066 Merge branch 'stable' of github.com:jedisct1/libsodium into stable
* 'stable' of github.com:jedisct1/libsodium:
  Export _crypto_aead_aes256gcm_is_available to JavaScript
2024-07-11 09:22:30 +02:00
Frank Denis
8b6f31f44f Refuse VLAs 2024-07-11 09:22:04 +02:00
Frank Denis
ca638e8b93 Export _crypto_aead_aes256gcm_is_available to JavaScript
Fixes https://github.com/jedisct1/libsodium.js/issues/342
2024-07-08 18:20:11 +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