Frank Denis
1ac57afa53
Emscripten: handle empty CFLAGS
2026-01-06 14:52:35 +01:00
Frank Denis
52b4239c01
Modernize emscripten optimizations
2026-01-06 14:52:24 +01:00
Frank Denis
4e371ecb0d
Replace -s RESERVED_FUNCTION_POINTERS=8 with -sALLOW_TABLE_GROWTH
2026-01-06 14:43:51 +01:00
Frank Denis
04199cec53
Relax alignment of SHAKE states
2026-01-06 23:04:21 +01:00
Frank Denis
8a7378460f
Add crypto_core_keccak1600_state, remove keccak1600_STATEBYTES
2026-01-06 23:00:21 +01:00
Frank Denis
4a1ff8bf03
Add defensive NULL guard in escrypt_r
2026-01-05 23:52:01 +01:00
Frank Denis
bc6e89e5cb
Remove build-aux if required
2026-01-05 23:51:42 +01:00
Frank Denis
f01a86a607
Add a zig build test target
2026-01-05 22:22:09 +01:00
Frank Denis
5bfe3bc40a
Update THANKS file
2026-01-05 23:23:32 +01:00
Frank Denis
dc12719756
Add more tests
2026-01-05 23:20:32 +01:00
Frank Denis
5aff9f2d89
Rename parameters to improve clarity
2026-01-05 23:12:32 +01:00
Frank Denis
5766a9acd3
Change sodium_ip2bin to take the ip length
2026-01-05 23:09:32 +01:00
Frank Denis
1b6f37d343
Bump
2026-01-05 23:06:32 +01:00
Frank Denis
37ea8300da
Update ChangeLog
2026-01-05 23:00:32 +01:00
Frank Denis
ecd2f868d3
Support compilation with CompCert out of the box
2026-01-03 20:20:48 +01:00
Frank Denis
3878a20a6e
CI: compile to freebsd
2026-01-03 20:14:39 +01:00
Frank Denis
2e2f42f528
build.zig: add support for FreeBSD
2026-01-03 20:11:47 +01:00
Frank Denis
cb14819555
Remove unnecessary checks
2026-01-03 19:29:05 +01:00
Frank Denis
cd87a345f6
Remove unused variable
2026-01-03 19:01:21 +01:00
Frank Denis
739317765c
Sync prototypes
2026-01-03 17:25:02 +01:00
Frank Denis
818e89fcb5
Remove unused constants
2026-01-03 17:24:58 +01:00
Frank Denis
598f5da725
NuGET is gone
2026-01-03 10:20:54 +01:00
Frank Denis
f9b3676a1d
Add a script to check version consistency
2026-01-03 10:19:55 +01:00
Frank Denis
3d7e6563d1
Remove unnecessary multiplication
...
To make the check projective‑invariant.
2026-01-02 12:00:59 +01:00
Frank Denis
d92212b9c1
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Mention emscripten 4 compatibility
2026-01-01 20:39:46 +01:00
Frank Denis
f2e34a80d3
ge25519_has_small_order: remove the inversion
...
Re-express the affine checks in projective form to avoid the inversion.
Based on a suggestion from @Sc00bz in
https://github.com/jedisct1/libsodium/discussions/1500 -- Thanks!
2026-01-01 23:00:57 +01:00
Frank Denis
838c523e64
Mention Windows arm64
2025-12-31 23:01:37 +01:00
Frank Denis
5aeec062e9
Clarify versioning
2025-12-31 23:00:37 +01:00
Frank Denis
fd40f938ff
Mention emscripten 4 compatibility
2025-12-31 16:12:51 +01:00
Frank Denis
1e40f96e57
Regen for emscripten
2025-12-31 12:39:39 +01:00
Frank Denis
e6a7bc2df4
Rename ip2bytes and bytes2ip to ip2bin and bin2ip for consistency
2025-12-31 12:35:41 +01:00
Frank Denis
52fbfd80ed
Update symbols list
2025-12-31 12:25:34 +01:00
Frank Denis
20452e34d5
Add test for IP conversion functions
2025-12-31 12:23:39 +01:00
Frank Denis
776ec1d92c
Add sodium_ip2bytes, sodium_bytes2ip
2025-12-31 12:10:12 +01:00
Frank Denis
f913525a5f
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:40:44 +01:00
Frank Denis
c61b078902
MSVC doesn't allow direct C-style casts between NEON vector types
...
Replace (int8x16_t) with vreinterpretq intrinsics
2025-12-30 22:23:36 +01:00
Frank Denis
a24c9a41c3
buildbase.bat: display error if compilation fails
2025-12-30 22:23:26 +01:00
Frank Denis
f278403874
Use a specialized shuffle macro and avoid non-portable builtins
2025-12-30 21:43:48 +01:00
Frank Denis
65bba587c4
Sort emscripten-symbols.def
2025-12-30 23:11:12 +01:00
Frank Denis
df145a5226
MSVC: add /UndefIntOverflow-
2025-12-30 23:08:12 +01:00
Frank Denis
1f78aa49e5
Use --mapdir instead of --dir for wasmer
2025-12-30 23:04:12 +01:00
Frank Denis
125245d384
Remove AppVeyor badge
2025-12-30 15:44:25 +01:00
Frank Denis
e3f1375f55
CI: run WASI tests
2025-12-30 23:00:12 +01:00
Frank Denis
b490bcbd7c
Try to build and run on wasmer in CI
2025-12-30 12:22:23 +01:00
Frank Denis
e601a273f5
Use AES_{DEC,ENC}LAST in ipcrypt_soft
2025-12-30 12:05:08 +01:00
Frank Denis
06b64190b7
Add softaes encryptlast/decryptlast
2025-12-30 12:01:40 +01:00
Frank Denis
245b63bfcf
Cleanup the ipcrypt tests
2025-12-30 12:00:40 +01:00
Frank Denis
3f02fdaea1
The Android SDK update means that we now support 16 KB page sizes
2025-12-30 09:57:31 +01:00
Frank Denis
93d8f8eefe
Using _mm_add_epi8(a, a) is cleaner than the shift+mask
2025-12-30 09:52:00 +01:00
Frank Denis
53f73b51e4
Align Intel version of pfx_shift_left with the ARM/soft impls
2025-12-30 09:47:48 +01:00