Frank Denis
5a722d2f48
Downgrade ax_valgrind_check.m4
2025-12-08 04:54:06 +01:00
Frank Denis
9bd8c45140
Add XOF tests at rate boundary
2025-11-26 23:03:42 +01:00
Frank Denis
6a892675bc
SHAKE: if the rate is exactly full, process that block before padding
2025-11-26 23:00:42 +01:00
Frank Denis
9b161dccfa
Sort .gitignore
2025-11-18 12:34:20 +01:00
Frank Denis
37e4f5860b
SHAKE: align default separator and test vectors with Zig
...
And remove redundant macros
2025-11-18 12:10:59 +01:00
Frank Denis
a3cd05fa08
Update msys2 to 20250830
2025-11-18 11:47:02 +01:00
Frank Denis
0451996dc9
Update ChangeLog
2025-11-18 11:46:47 +01:00
Frank Denis
ca3acebf8f
XOF: don't absorb/squeeze bytes one by one
2025-11-18 11:46:34 +01:00
Frank Denis
9f94ff30f9
AppVeyor: use MSVC 2022
2025-11-18 11:46:34 +01:00
Frank Denis
19b1c53024
build.zig: update OpenOptions / CopyFileOptions
2025-11-18 11:46:34 +01:00
Frank Denis
ab3621b29e
Add support for MSVC 2026
2025-11-18 12:10:59 +01:00
Frank Denis
7c70a2807e
XOF: use size_t internally, unsigned long long externally
2025-11-18 12:07:59 +01:00
Frank Denis
d11e907107
Remove crypto_xof_*_final
2025-11-18 12:00:59 +01:00
Frank Denis
7f7873c21b
Add support for FilC
2025-11-03 23:00:33 +01:00
Frank Denis
0a9450c679
Add SHAKE and TurboSHAKE
2025-10-18 11:31:29 +02:00
Frank Denis
bd329a3974
buildbase.bat: prevent the PATH from getting too large
2025-10-17 12:14:47 +02:00
Frank Denis
af3a8ffcce
azure-pipelines: compile with windows-latest
2025-10-17 12:14:42 +02:00
Frank Denis
a78c8d1fde
CI: try to use android NDK r29
2025-10-17 12:00:57 +02:00
Frank Denis
589d67b839
configure.ac: fix typos in warning flags
2025-10-04 14:03:33 +02:00
Frank Denis
09e995c0c8
Relax ((nonnull)) attributes where applicable
...
Reported by @stef -- Thanks!
Fixes #1477
2025-09-12 23:07:20 +02:00
Frank Denis
800410cfe7
Generate position-independent static libraries by default
...
".pie" on a static library enables PIC when it is supported by the
target.
Fixes #1474
2025-09-12 23:00:20 +02:00
Frank Denis
85ddc5c2c6
apple-xcframework.sh: remove i386 iOS simulators
2025-08-28 23:09:19 +02:00
Frank Denis
93030d2cae
apple-xcframework.sh: force cross-compilation when relevant
...
Works around instabilities of the latest Tahoe beta version
2025-08-28 23:04:19 +02:00
Frank Denis
ce526f94aa
apple-xcframework.sh: remove support for iOS32
2025-08-28 15:39:50 +02:00
Frank Denis
110138f3cd
Wasmer now needs --mapdir=./:. to load files from the current directory
2025-08-27 22:56:54 +02:00
Frank Denis
e6d6321ab5
More optblockers.
...
- ristretto255_is_canonical
- fe25519_reduce64
- ge25519_from_uniform
2025-08-27 20:33:07 +02:00
Frank Denis
def5b9d306
Add -Werror=vla
2025-08-22 12:11:40 +02:00
Frank Denis
377a6640e8
Update for Zig 0.15
2025-08-22 12:04:40 +02:00
Frank Denis
59b8ba3573
Include <threads.h> if it exists
2025-07-30 23:04:45 +02:00
Frank Denis
4f21b2f4af
Remove duplicate include
2025-07-30 23:03:45 +02:00
Frank Denis
d2c7817500
Update m4/ax_add_fortify_source.m4 and m4/ax_valgrind_check.m4
2025-07-30 12:34:58 +02:00
Frank Denis
c390510484
Update for zig-current
2025-07-15 23:06:45 +02:00
Frank Denis
fd8c876bb5
Update mlugg/setup-zig
2025-06-06 12:00:10 +02:00
Frank Denis
135fe28fc5
Sync ChangeLog
2025-06-06 12:00:10 +02:00
Frank Denis
d537f3010a
Improve AES256-GCM performance on ARM
2025-05-21 23:11:26 +02:00
Frank Denis
8466abb280
Reorder arguments to vaeseq_u8 to improve AArch64 performance
...
The register arguments to the AESE instruction are commutative, however
the first input register is constrained in that it also names the output
register. The constraint on register allocation causes recent LLVM
versions to emit a lot of MOV instructions, significantly impacting
performance.
Swapping the register operands allows the compiler to emit significantly
fewer MOV instructions. This change improves performance on Arm
infrastructure micro-architectures by 14-36% depending on the
micro-architecture
Found and reported by George Steed from ARM. Thanks!
2025-05-21 23:04:26 +02:00
Frank Denis
3e12b517ee
tests/sodium_utils3: skip SIGSEGV check when tsan is enabled
...
Fixes #1450
2025-05-08 22:56:10 -06:00
Jesús López
f59e862f40
Add Android binaries to NuGet package ( #1455 )
...
Add android binaries to NuGet package
2025-05-08 14:28:33 +02:00
Frank Denis
d67b1e8f8d
Nits
2025-04-30 01:41:32 +02:00
Frank Denis
72fdf1b86c
MSC_VER -> _MSC_VER
2025-04-22 11:33:28 +02:00
Frank Denis
25d2455a42
Nits
2025-04-03 23:01:40 +02:00
Frank Denis
34b2a97dcd
Improve the README file
2025-04-03 23:01:40 +02:00
Frank Denis
6ea1d03300
Update msys2
2025-02-21 12:40:26 +01:00
Frank Denis
a808f37cdf
Add autocloser.yml
2025-02-20 15:50:15 +01:00
Frank Denis
a5d5870088
qemu -> qemu-system
2025-02-20 15:43:34 +01:00
Frank Denis
e9b1fa92c9
Import dist-build/android-aar.sh readability
2025-02-20 15:36:43 +01:00
Frank Denis
4d96d503f0
Try to go to the NDK directory containing "source.properties"
2025-02-20 15:14:07 +01:00
Frank Denis
97616c3ace
Check for ANDROID_NDK definition in android-aar.sh
...
Otherwise, the script can report success even though nothing compiles.
2025-02-20 15:03:06 +01:00
Frank Denis
8ee7c45005
target.result.isWasm() -> target.result.cpu.arch.isWasm()
2025-02-20 14:53:08 +01:00
Frank Denis
ea2d5b11dc
Indent Android build scripts
2025-02-20 14:50:57 +01:00