Frank Denis
1418c97631
apple-xcframework: add arm64e builds
2024-12-21 16:58:26 +01:00
Frank Denis
131c6e771c
defineCMacro -> root_module.addCMacro
2024-12-20 12:15:38 +01:00
Frank Denis
51800948ae
Update to upload-artifact@v4
2024-12-10 23:29:07 +01:00
Frank Denis
32c1768437
Update the NuGet / dotnet-core versions
2024-12-10 23:02:40 +01:00
Frank Denis
8d82c03d28
Build libsodium.dll with VC++ for win-arm64
...
Fixes #1431
2024-12-10 22:55:44 +01:00
Frank Denis
79ebe284a1
dotnet-core CI: update Zig to version nightly 0.14.x
...
This fixes the compatibility issues with DLLs for Windows ARM64
2024-12-10 22:41:02 +01:00
Frank Denis
ec81b62045
xcframework: build full builds by default
2024-12-10 14:31:07 +01:00
Frank Denis
6272f21e6c
msvc/build/buildbase.bat: build for ARM64
2024-12-10 13:30:46 +01:00
Frank Denis
47448b5350
Update MSYS2 to 2024-12-08
2024-12-09 10:46:44 +01:00
Frank Denis
54965256d3
Try to run cifuzz
2024-12-04 18:01:03 +01:00
Frank Denis
d09521458f
Use Zig 0.13.0 and compile to x86-windows
2024-12-04 17:57:47 +01:00
Frank Denis
09675b4876
Sync dotnet-core.yml
2024-12-04 17:57:18 +01:00
Frank Denis
8dd8ca1953
Update autotools
2024-12-04 17:40:38 +01:00
Frank Denis
9e125388a1
Use uint64_t sizes in aegis*_mac()
...
No-op in libsodium for now, but useful if we introduce a streaming
API later.
2024-12-04 17:38:55 +01:00
Frank Denis
8f36e67d8d
CI: wwitch to mlugg/setup-zig@v1
2024-11-04 00:10:04 +01:00
Frank Denis
8855e8c300
Add assembly versions of equal() and negative()
2024-10-23 22:37:37 +02:00
Frank Denis
42f4e42b06
Use an optblocker in crypto_verify_n()
2024-10-23 22:34:15 +02:00
Frank Denis
c1fc74e690
Sync softaes with libaegis
2024-10-23 22:11:51 +02:00
Frank Denis
96d115cf29
Decrement and shift in separate steps
2024-10-23 19:52:14 +02:00
Frank Denis
409b3a70ad
More optblocker usage
2024-10-23 19:10:13 +02:00
Frank Denis
a9cbc57844
Add another optblocker
2024-10-23 19:09:24 +02:00
Frank Denis
b8b8e6bdee
Update libtool
CI / tcc (push) Has been cancelled
CI / zig (push) Has been cancelled
CI / regular (push) Has been cancelled
CI / check-globals (push) Has been cancelled
CI / other-comp (push) Has been cancelled
CI / other-arch (push) Has been cancelled
CI / android (push) Has been cancelled
CodeQL scan / CodeQL-Build (push) Has been cancelled
.NET Package / build-windows-msvc (push) Has been cancelled
.NET Package / build-others (push) Has been cancelled
.NET Package / build-apple (push) Has been cancelled
.NET Package / pack (push) Has been cancelled
.NET Package / build-test-binaries (push) Has been cancelled
.NET Package / run-test-binaries-os-versions (centos:8) (push) Has been cancelled
.NET Package / run-test-binaries-os-versions (debian:10) (push) Has been cancelled
.NET Package / run-test-binaries-cross-plat (arm, /usr/arm-linux-gnueabihf/lib) (push) Has been cancelled
.NET Package / run-test-binaries-cross-plat (arm64, /usr/aarch64-linux-gnu/lib) (push) Has been cancelled
.NET Package / run-test-binaries-cross-plat (x64, /usr/lib) (push) Has been cancelled
2024-10-15 22:55:12 +02:00
Frank Denis
3c6da4b8c2
randombytes_internal_random.c: move clang target attribute down
...
CI / tcc (push) Has been cancelled
CI / zig (push) Has been cancelled
CI / regular (push) Has been cancelled
CI / check-globals (push) Has been cancelled
CI / other-comp (push) Has been cancelled
CI / other-arch (push) Has been cancelled
CI / android (push) Has been cancelled
CodeQL scan / CodeQL-Build (push) Has been cancelled
.NET Package / run-test-binaries-os-versions (debian:10) (push) Has been cancelled
.NET Package / build-windows-msvc (push) Has been cancelled
.NET Package / build-others (push) Has been cancelled
.NET Package / build-apple (push) Has been cancelled
.NET Package / pack (push) Has been cancelled
.NET Package / build-test-binaries (push) Has been cancelled
.NET Package / run-test-binaries-os-versions (centos:8) (push) Has been cancelled
.NET Package / run-test-binaries-cross-plat (arm, /usr/arm-linux-gnueabihf/lib) (push) Has been cancelled
.NET Package / run-test-binaries-cross-plat (arm64, /usr/aarch64-linux-gnu/lib) (push) Has been cancelled
.NET Package / run-test-binaries-cross-plat (x64, /usr/lib) (push) Has been cancelled
Specifically, move it after the system includes.
This appears to address an issue with clang 18 when cross-compiling
to windows.
Fixes #1413
2024-09-26 21:55:38 +02:00
Frank Denis
5b2c1c640a
dotnet-core.yml: try setting include-hidden-files: true
...
Fixes #1414
2024-09-26 21:12:00 +02:00
Frank Denis
57ded05429
Update upload-artifact/download-artifact actions
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-comp (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 22:14:12 +02:00
Saud Khan
ff546a2d9b
Add support for Android's new 16K page sizes ( #1407 )
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