Frank Denis
89fc95b6d2
Update oss-fuzz
2026-03-08 16:48:25 +01:00
Frank Denis
7035cb0e27
Remove useless sodium_memzero, add one that makes sense
2026-03-08 15:27:35 +01:00
Frank Denis
c948d3d2c6
Add some sodium_memzero
2026-03-08 15:07:37 +01:00
Frank Denis
35dad2e7b5
Add a couple sodium_memzero
2026-03-08 14:49:53 +01:00
Scott Arciszewski
678c8f3435
ci: use zizmor to prevent supply chain attacks via GHA ( #1518 )
2026-03-08 13:18:04 +01:00
W McElderry and W McElderry
148d2d60dd
Add further tests for ristretto255 hash to element from RFC9497 ( #1516 )
...
Co-authored-by: W McElderry <8887746+wmcelderry@users.noreply.github.com >
2026-02-27 13:29:37 +01:00
Frank Denis
5224134ce4
Add .swival to .gitignore
2026-02-26 00:02:29 +01:00
Frank Denis
3d9d8f5001
Regen emscripten
2026-02-20 23:41:12 +01:00
Frank Denis
84e25e8f81
Format
2026-02-20 23:32:12 +01:00
Frank Denis
354e997bba
Adjust KAT order
2026-02-20 23:31:12 +01:00
Frank Denis
af0dd1b4ac
Indent
2026-02-20 23:27:12 +01:00
Frank Denis
38a82863f1
crypto_core_*_from_string: drop the _ro suffix
2026-02-20 23:23:12 +01:00
Frank Denis
8bb79ae24d
Rename crypto_core_*_from_string to crypto_core_*_from_string_nu
...
RO should be the default
2026-02-20 23:19:12 +01:00
Frank Denis
44cf631d04
Add argon2_fill_segment_neon to the quirks
2026-02-20 23:12:12 +01:00
Frank Denis
530252d9a3
Add crypto_core_ed25519_scalar_from_string
2026-02-20 23:06:12 +01:00
Frank Denis
78c80a9f73
Update emscripten symbols
2026-02-20 23:00:12 +01:00
Frank Denis
1cde0d85d9
Add tests for crypto_core_ristretto255_from_string_ro
...
Using test vectors from RFC 9497. Suggested by @wmcelderry, thanks!
Fixes #1515
2026-02-20 12:24:47 +01:00
Frank Denis
babd0c3e59
Remove crypto_core_ristretto255_from_string
2026-02-20 12:05:55 +01:00
Frank Denis
ed661cd1fc
More fixes for MSVC/aarch64
2026-02-10 23:05:40 +01:00
Frank Denis
e4575f45e2
Add casts for aarch64+gcc
2026-02-10 23:00:40 +01:00
Frank Denis
47eaab6bd6
Update ChangeLog
2026-02-10 08:56:52 +01:00
Frank Denis
f6e26ce153
Try to enable aes256-gcm even on non-clang compilers
2026-02-10 08:56:52 +01:00
Frank Denis
f823ff3450
dotnet-core: ubuntu 20.04 is unsupported
2026-02-08 16:43:50 +01:00
Frank Denis
e8492b1859
Zero the state afetr AES decryption
2026-02-05 21:42:03 +01:00
Frank Denis
69435b04fe
SHAKE: in case update is called right after squeezing, permute
...
Calling update after squeezing is undocumented and non standard,
but if an application still decides to do it, permute the state
before absorbing so that it's still safe to do so.
We can easily do it since we keep track of the state.
Still return an error as this is not the expected usage of SHAKE,
and zeroing the state is another thing we could do.
2026-02-05 23:08:48 +01:00
Frank Denis
012bab9616
Zeroize a few things after use
2026-02-05 23:01:48 +01:00
Frank Denis
92b2a81616
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium: (46 commits)
Update ChangeLog
apple-xcframework: move headers into a Clibsodium subdirectory
Change crypto_core_ed25519_from_string to take a binary string
Add hardware acceleration for SHA256 on aarch64
core_ed25519_h2c.c test: verify y coordinate as well
Add NEON optimizations for Argon2
Add WASM SIMD implementations of Argon2
Emscripten: add an option to compile with SIMD
Just use sodium_memcmp
Add a high-level crypto_kem API mapping to xwing
Add X-Wing
Add back symbols for Intel implementations
Cleanup symbols
Remove SHA3 wrapper
ml-kem: remove internal SHA3 implememtation
Add new symbols
Add support for SHA3
JavaScript: faster randomness generation
Compatibility with gcc 4.x
Set emscripten reserved memory to 80MB
...
2026-02-03 23:59:34 +01:00
Frank Denis
866075b4d1
VS 2026 toolsets may not define PlatformToolsetVersion
2026-02-03 23:59:15 +01:00
Frank Denis
28b8bc53bf
Update ChangeLog
2026-01-29 13:29:22 +01:00
Frank Denis
af4ec309ef
apple-xcframework: move headers into a Clibsodium subdirectory
...
The generated Clibsodium.xcframework will have headers at
Headers/Clibsodium/ instead of Headers/
This prevents the module.modulemap collision when used alongside
other xcframeworks.
2026-01-29 13:26:13 +01:00
Frank Denis
3e4de8a134
Change crypto_core_ed25519_from_string to take a binary string
2026-01-23 23:07:00 +01:00
Frank Denis
54cd5d0ae9
Add hardware acceleration for SHA256 on aarch64
2026-01-23 23:01:00 +01:00
Frank Denis
03786f4de5
core_ed25519_h2c.c test: verify y coordinate as well
2026-01-23 12:24:48 +01:00
Frank Denis
9561aea8e5
Add NEON optimizations for Argon2
2026-01-22 12:00:49 +01:00
Frank Denis
b36e407fe5
Add WASM SIMD implementations of Argon2
2026-01-22 12:00:49 +01:00
Frank Denis
368ceb845d
Emscripten: add an option to compile with SIMD
2026-01-22 11:19:41 +01:00
Frank Denis
15e6dad043
Just use sodium_memcmp
2026-01-15 23:30:59 +01:00
Frank Denis
557dc9e51d
Add a high-level crypto_kem API mapping to xwing
2026-01-15 23:29:59 +01:00
Frank Denis
bd6a8af323
Add X-Wing
2026-01-15 23:26:59 +01:00
Frank Denis
44443f9bcb
Add back symbols for Intel implementations
2026-01-15 19:26:15 +01:00
Frank Denis
bc43c46a43
Cleanup symbols
2026-01-15 23:18:59 +01:00
Frank Denis
02e707a963
Remove SHA3 wrapper
2026-01-15 23:17:59 +01:00
Frank Denis
49d1b7e0ea
ml-kem: remove internal SHA3 implememtation
...
Now that there's a public SHA3 API.
2026-01-15 23:10:59 +01:00
Frank Denis
036e268e17
Add new symbols
2026-01-15 23:10:59 +01:00
Frank Denis
a6038f815c
Add support for SHA3
2026-01-15 23:03:59 +01:00
Frank Denis
e7c1796015
JavaScript: faster randomness generation
...
Fill entire buffers directly.
2026-01-13 23:00:03 +01:00
Frank Denis
4a7692a723
Compatibility with gcc 4.x
...
Reported by @pedro0311
Fixes #1507
2026-01-13 20:00:17 +01:00
Frank Denis
d603d6b151
Set emscripten reserved memory to 80MB
2026-01-11 22:53:49 +01:00
Frank Denis
2852c0ea68
Update ChangeLog
2026-01-11 20:03:32 +01:00
Frank Denis
bb7fb0e0f0
CI: also compile with GCC/aarch64 with the SHA3 extensions
2026-01-11 17:52:41 +01:00