1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00
Commit Graph

4246 Commits

Author SHA1 Message Date
Frank Denis
e0f6d836a3 Add the ability to convert tests into benchmarks 2022-12-17 21:36:51 +01:00
Frank Denis
fb01eda660 Don't built shared library for WASI 2022-12-17 20:17:50 +01:00
Frank Denis
1fe0149850 Update msys2 2022-12-16 17:28:59 +01:00
Frank Denis
c4a9f1b2af Add missing <stdint.h> includes 2022-12-13 20:33:09 +01:00
Frank Denis
01c237f1f0 packaging/nuget doesn't seem to be used any more 2022-12-12 00:56:38 +01:00
Frank Denis
2d3a21c6c7 Avoid memcmp() with len=0 2022-12-12 00:17:20 +01:00
Frank Denis
da6da4c3a1 Update the Android NDK 2022-12-12 00:07:47 +01:00
Frank Denis
1994ad93bd Sync the AESNI aes_gcm_decrypt_generic() impl with the ARM one 2022-12-11 23:47:46 +01:00
Frank Denis
4482067df9 Add a test for aes256gcm_decrypt with long inputs, make it pass 2022-12-11 23:44:50 +01:00
Frank Denis
ff480f17f0 Nits 2022-12-11 23:15:06 +01:00
Frank Denis
3adc44bab9 Add some additional tests of in-place encryption/decryption 2022-12-11 21:04:49 +01:00
Frank Denis
badf9cb4be Add an AES-GCM test of in-place encryption/decryption 2022-12-11 20:44:35 +01:00
bfren
2bae1e1901 Include linux-musl-arm in NuGet packages (#1234)
* Bumping version to 1.0.18.4 and including linux-musl-arm package
* Updating to 1.0.18.4
2022-12-11 20:05:55 +01:00
Frank Denis
408125a72b Add AEGIS-256 software support 2022-12-10 00:03:42 +01:00
Frank Denis
15cceaad90 MSVC compat 2022-12-09 21:29:33 +01:00
Frank Denis
1ced838f70 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Bump NuGet pathversion
2022-12-09 21:13:13 +01:00
Frank Denis
11d2fa5bb0 Add AEGIS-128L software support 2022-12-09 21:12:35 +01:00
Frank Denis
7948584fb7 generate-emscripten-symbols.sh: allows the lib path to be overridden 2022-12-09 21:12:35 +01:00
Frank Denis
46856e0412 Bump NuGet pathversion 2022-12-09 13:33:10 +01:00
Frank Denis
fce80020b1 .NET: use macOS 10.15 as a target instead of 10.13
macOS 10.15 has reached EOL, and doesn't even get security
fixes from Apple any more. So, hopefully .NET will soon remove
support for it as well.
2022-11-28 00:42:57 +01:00
Frank Denis
8b29e78591 Remove unneeded path 2022-11-28 00:09:24 +01:00
Frank Denis
e3c88ff0be .NET: compile Linux targets with Zig 2022-11-28 00:08:25 +01:00
Frank Denis
e484cf4959 build.zig: require at least SSE4.1 when targeting x86_64 2022-11-27 22:42:29 +01:00
Frank Denis
d0fa8b4178 test/default/run.sh compat with GNU find 2022-11-27 22:12:34 +01:00
Frank Denis
b0a4ef1939 getentropy() didn't exist on old glibc versions 2022-11-27 22:02:39 +01:00
Frank Denis
a3a9773516 getrandom() didn't exist on ancient glibc versions 2022-11-27 22:01:20 +01:00
Frank Denis
520592d38b Tests: disable LTO, strip 2022-11-27 21:49:35 +01:00
Frank Denis
e474a5475c Windows doesn't have getpid() 2022-11-27 21:27:07 +01:00
Frank Denis
f40cb1e142 build.zig: define a few OS-specific feature macros 2022-11-27 21:10:10 +01:00
Frank Denis
2e8b0f2133 CI: use actions/checkout@v3 for the Android tests, too 2022-11-27 16:14:11 +01:00
Frank Denis
134b035345 Explain why we reject low-order R 2022-11-27 15:28:17 +01:00
Frank Denis
0f767c7d07 Get rid of the has_small_order() lookup table 2022-11-27 15:28:15 +01:00
Frank Denis
87ba2c4d36 Unexport _cached_ symbols, regen quirks.h 2022-11-26 22:28:08 +01:00
Frank Denis
f29f58e6ed Leverage p3_add()/p3_sub() 2022-11-26 22:20:37 +01:00
Frank Denis
d2d8f573b7 Add ge25519_p2_to_p3(), ge25519_p3_add(), ge25519_p3_sub() 2022-11-26 22:14:24 +01:00
Frank Denis
42b4a295fc crypto_sign_verify(): add and match the Zig test vectors 2022-11-26 21:25:47 +01:00
Frank Denis
cbf9e63145 Bump dotnet-core / nuget versions to 1.0.18.3 2022-11-25 16:16:38 +01:00
Frank Denis
a7c4cd8b83 dotnet core: try fixing run-test-binaries-cross-plat 2022-11-24 23:16:50 +01:00
Frank Denis
2a7886d8f2 Try to fix dotnet core GitHub action on ARM 2022-11-24 22:46:08 +01:00
Frank Denis
71c7aa0975 Add a simple test runner to zig-out/bin/ 2022-11-23 21:37:20 +01:00
Frank Denis
195e98af39 build.zig: statically compile and install all the tests 2022-11-23 21:17:21 +01:00
Frank Denis
74dda2ed24 Debian 9 has reached EOL 2 years ago 2022-11-23 20:13:48 +01:00
Frank Denis
2977d7d22f Current LTS version of Ubuntu is 22.04 -- Test on that one 2022-11-23 20:05:50 +01:00
Frank Denis
4a5f4a8158 dotnet-core: build on Ubuntu 18.04, don't import backports
Backports are going to be removed in a couple weeks when the
distro will reach EOL.
2022-11-23 20:04:04 +01:00
Frank Denis
15c4730042 Use current versions of GitHub actions 2022-11-23 20:03:58 +01:00
Frank Denis
6251ccb8f7 dotnet-core: bump GitHub actions versions, and use Ubuntu 18.04 as a base 2022-11-23 20:03:54 +01:00
Frank Denis
6e8468d875 Support memset_explicit() if available
NetBSD has explicit_memset(), but C23 decided to implement the
same thing but call it memset_explicit() instead. Go figure.
2022-11-21 15:29:44 +01:00
Frank Denis
415bce5d97 dist-build: use -Ofast or -O3 2022-11-21 13:01:44 +01:00
Frank Denis
ece8e60524 AEGIS: add a specialized function to absorb the AD 2022-11-20 18:16:13 +01:00
DavidKorczynski
43d5a33931
GitHub CI: Add CIFuzz integration (#1231)
Signed-off-by: David Korczynski <david@adalogics.com>

Signed-off-by: David Korczynski <david@adalogics.com>
2022-11-19 23:03:24 +01:00