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
Frank Denis
4f498b72d4
Format
2025-12-30 01:37:16 +01:00
Frank Denis
ab8a8a1ee6
Add PFX variant
2025-12-30 01:35:44 +01:00
Frank Denis
b7db09d61e
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
ipcrypt-nd: correct soft implementation of tweak_expand
2025-12-30 00:58:42 +01:00
Frank Denis
864e1b27b3
Add in-place encryption test
2025-12-30 00:58:26 +01:00
Frank Denis
04919d35d0
ipcrypt-nd: correct soft implementation of tweak_expand
2025-12-30 00:56:50 +01:00
Frank Denis
7a58f66b43
SHAKE: add a test for custom delimiters with the MSB set
2025-12-30 00:42:54 +01:00
Frank Denis
32f787a79b
SHAKE: a custom domain byte may have its MSB set, so xor the padding
2025-12-30 00:25:39 +01:00
Frank Denis
8c84e36514
Use consistent names for ipcrypt array lengths
2025-12-29 23:13:17 +01:00
Frank Denis
12b39aab60
Sync ChangeLog
2025-12-29 23:09:17 +01:00
Frank Denis
f4cae188c4
Add extra scalarmult tests
2025-12-29 22:09:37 +01:00
Frank Denis
ad3004ec87
core_ed25519_is_valid_point: check Y==Z in addition to X==0
2025-12-29 22:09:31 +01:00