Frank Denis
3ce49ae85d
CI: compile using GCC on aarch64
2026-01-07 11:25:27 +01:00
Frank Denis
3525fdeacc
Update ChangeLog
2026-01-07 12:05:49 +01:00
Frank Denis
91fe8a46ec
Fix compilation with GCC on aarch64
...
Use unsigned NEON intrinsics everywhere
Fixes #1502
2026-01-07 12:00:49 +01:00
Frank Denis
d24faf5621
Regen
1.0.21-RELEASE
2026-01-06 15:42:08 +01:00
Frank Denis
6a569ef3be
Relax alignment of SHAKE states
2026-01-06 15:42:08 +01:00
Frank Denis
d66b358741
Add crypto_core_keccak1600_state, remove keccak1600_STATEBYTES
2026-01-06 15:42:08 +01:00
Frank Denis
fa79f073ad
Add more tests
2026-01-06 15:42:08 +01:00
Frank Denis
995c501554
Rename parameters to improve clarity
2026-01-06 15:42:08 +01:00
Frank Denis
7fcc982618
Change sodium_ip2bin to take the ip length
2026-01-06 15:42:08 +01:00
Frank Denis
7df634f2c5
Remove unnecessary checks
2026-01-06 15:42:08 +01:00
Frank Denis
7572dcccb9
Sync prototypes
2026-01-06 15:42:08 +01:00
Frank Denis
2fd321e42c
Remove unused constants
2026-01-06 15:42:08 +01:00
Frank Denis
f7e948f75a
Typos
2026-01-06 15:42:08 +01:00
Frank Denis
ae7ca7ef13
Bump
2026-01-06 15:42:08 +01:00
Frank Denis
b4263fc800
Add missing prototype
2026-01-06 15:42:08 +01:00
Frank Denis
d832790fa6
Regen emscripten
2026-01-06 15:42:08 +01:00
Frank Denis
ff05585f75
Add sodium_ip2bin, sodium_bin2ip
2026-01-06 15:42:07 +01:00
Frank Denis
232a878877
MSVC doesn't allow direct C-style casts between NEON vector types
...
Replace (int8x16_t) with vreinterpretq intrinsics
2026-01-06 15:42:07 +01:00
Frank Denis
f1eeb2787e
Use a specialized shuffle macro and avoid non-portable builtins
2026-01-06 15:42:07 +01:00
Frank Denis
ed5b6b4b20
Regen emscripten
2026-01-06 15:42:07 +01:00
Frank Denis
c3c8617ac9
Update .gitignore
2026-01-06 15:42:07 +01:00
Frank Denis
5aa6d1910b
Import ipcrypt
2026-01-06 15:42:07 +01:00
Frank Denis
fe63b9cfb5
Regen MSVC solutions and add /UndefIntOverflow-
2026-01-06 15:42:07 +01:00
Frank Denis
350604eb25
Import SHAKE128, SHAKE256, TurboSHAKE128, and TurboSHAKE256
...
- crypto_core_keccak1600: Keccak-f[1600] permutation
- crypto_xof_shake128/256: FIPS 202 SHAKE functions
- crypto_xof_turboshake128/256: TurboSHAKE (faster, 12-round variant)
2026-01-06 15:42:07 +01:00
Frank Denis
348456f37a
build-aux/depcomp may not even be needed
2026-01-06 15:42:07 +01:00
Frank Denis
93a7d0d41f
Update ChangeLog
1.0.20-FINAL
2026-01-06 23:22:45 +01:00
Siddhesh Poyarekar
a4832a91b1
Build correctly with IBT and Shadow Stack ( #1289 )
...
Add .gnu.property notes to indicate support for IBT and shadow stacks
when libsodium is built with it. There's no stack switching code in
here, so this should not need any other codegen changes.
2026-01-06 15:38:52 +01:00
Frank Denis
22b9c35f28
Add fences
2026-01-06 23:17:45 +01:00
Frank Denis
76ddc9c983
Update GitHub actions
2026-01-06 15:15:18 +01:00
Frank Denis
e7acc1a884
CI: update MSYS2
2026-01-06 15:01:17 +01:00
Frank Denis
9010e0634c
Emscripten: handle empty CFLAGS
2026-01-06 23:09:45 +01:00
Frank Denis
8814186181
Regen
2026-01-06 23:01:45 +01:00
Frank Denis
afc81e4429
Replace -s RESERVED_FUNCTION_POINTERS=8 with -sALLOW_TABLE_GROWTH
2026-01-06 14:43:19 +01:00
Frank Denis
da13b289c8
Update ChangeLog
2026-01-06 23:00:45 +01:00
Frank Denis
27b1c7e1eb
Modernize emscripten optimizations
2026-01-06 14:29:20 +01:00
Frank Denis
b000439e01
Add defensive NULL guard in escrypt_r
2026-01-05 23:51:23 +01:00
Frank Denis
f703a31935
kdf_hkdf_sha*: wipe the entire structure
2026-01-05 23:51:19 +01:00
Frank Denis
d89ef3c7ca
Remove build-aux if required
2026-01-05 23:16:18 +01:00
Frank Denis
ad8860da7b
Add a zig build test target
2026-01-05 22:21:59 +01:00
Frank Denis
f80e3d83a4
Update THANKS file
2026-01-05 21:23:17 +01:00
Frank Denis
bfdaf7a355
Remove duplicate
2026-01-05 15:26:53 +01:00
Frank Denis
c6e4a6d42f
Add some ending CRLF
2026-01-05 15:10:33 +01:00
Frank Denis
3bc2d7a223
apple-xcframework.sh: force cross-compilation to avoid rosetta
2026-01-05 15:10:27 +01:00
Frank Denis
417c6f36ec
apple-xcframework.sh: provide guidance is only the CLI tools are installed
2026-01-05 15:10:22 +01:00
Frank Denis
a318b7909d
Typos
2026-01-05 23:00:51 +01:00
Frank Denis
44208e412c
Support compilation with CompCert out of the box
2026-01-03 20:42:40 +01:00
Frank Denis
2739452575
Update ChangeLog
2026-01-03 20:40:26 +01:00
Frank Denis
58eabbc7a8
Support compilation with CompCert out of the box
2026-01-03 20:37:23 +01:00
Frank Denis
8ed8f9f3bb
CI: compile to freebsd
2026-01-03 20:14:21 +01:00
Frank Denis
e9db97d4fb
build.zig: add support for FreeBSD
2026-01-03 20:12:08 +01:00