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
Frank Denis
08e39ef24d
Remove unused variable
2026-01-03 19:09:39 +01:00
Frank Denis
148f62784b
Add a script to check version consistency
2026-01-03 10:19:44 +01:00
Frank Denis
d44593f1a5
Mention emscripten 4 compatibility
2025-12-31 16:12:23 +01:00
Frank Denis
1f37b79e27
Mention Windows arm64
2025-12-31 13:57:36 +01:00
Frank Denis
98e0129d6f
Clarify versioning
2025-12-31 13:55:10 +01:00
Frank Denis
5a18746b9a
Emscripten: add -s SINGLE_FILE_BINARY_ENCODE=0
...
Emscripten 4 changed the WASM binary encoding mode from base64 to
a custom UTF-8 binary encoding with binaryDecode().
The new encoding uses control characters and non-printable ASCII
that get corrupted when served to browsers.
2025-12-31 00:39:21 +01:00
Frank Denis
d85942b1fd
Remove AppVeyor badge
2025-12-30 22:27:15 +01:00
Frank Denis
e65a3625ec
buildbase.bat: display error if compilation fails
2025-12-30 22:24:04 +01:00
Frank Denis
dc49ff876d
Sort emscripten-symbols.def
2025-12-30 23:05:53 +01:00
Frank Denis
9212de89c1
MSVC: add /UndefIntOverflow-
2025-12-30 17:41:38 +01:00
Frank Denis
058138bdd1
Try to build and run on wasmer in CI
2025-12-30 23:00:53 +01:00
Frank Denis
d32de5b36a
test/constcheck.sh: sync with master
2025-12-30 10:38:23 +01:00
Frank Denis
be3c80dd58
The Android SDK update means that we now support 16 KB page sizes
2025-12-30 09:58:15 +01:00
Frank Denis
af33f28716
Xcode doesn't support the iPhone simulator on i386 any more
2025-12-30 00:21:01 +01:00
Frank Denis
43f9821e0b
Sync android aar with dotnet package version for consistency
2025-12-29 23:32:15 +01:00