1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00
Commit Graph

3953 Commits

Author SHA1 Message Date
Frank Denis
410d0a38b7 Check for iwasm existence before trying to use it 2023-02-07 18:35:25 +01:00
Frank Denis
5f32a74e1a The --stack-first link option doesn't exist any more 2023-02-07 13:01:40 +01:00
Frank Denis
cadf901940 Azure: update to zig 0.10.1 2023-02-07 12:57:21 +01:00
Frank Denis
800c31d9fa Use Zig 0.10.1 2023-02-07 12:38:20 +01:00
Frank Denis
4275023f16 On Windows, a ".LIB" file can be either shared or static
We were overwriting the static library with the shared one.
2023-01-18 23:04:24 +01:00
Frank Denis
ab4adc2741 apple-xcframework.sh: add the ability to skip simulators 2023-01-16 13:46:55 +01:00
Frank Denis
045bdc0782 Add a pwhash test with guarded memory; it doesn't hurt 2023-01-09 10:48:51 +01:00
Frank Denis
b435217779 2023 2023-01-05 19:03:57 +01:00
Frank Denis
5961da0223 MSVC: apply patches from Conan to for debugging information 2023-01-05 19:03:49 +01:00
Frank Denis
6d726c70e4 Skip the misuse handler test when running benchmarks or wasm 2022-12-20 13:17:31 +01:00
Frank Denis
62424f2840 wasm32-wasi.sh: match the number of iterations from build.zig 2022-12-20 08:31:27 +01:00
Frank Denis
65d56b1077 iwasm requires precompilation to get decent speed 2022-12-19 12:34:51 +01:00
Frank Denis
4acf8befe0 Mention that mlock() failing is not a hard error for sodium_malloc() 2022-12-19 12:12:29 +01:00
Frank Denis
374a58c1e1 Bun: explicitly print the output of the wasm module to the console 2022-12-19 10:27:36 +01:00
Frank Denis
45da50ab0e Bun requires an absolute path 2022-12-19 10:22:09 +01:00
Frank Denis
c3c2595bd7 Add support for Bun as a WebAssembly runtime 2022-12-19 10:15:22 +01:00
Frank Denis
4ffb2dd0ef Node requires an async function to start wasm code 2022-12-18 21:37:01 +01:00
Frank Denis
6c3b1492b2 Running tests with Node requires --experimental-wasm-bigint 2022-12-18 21:21:27 +01:00
Frank Denis
b73238ff32 Remove unused MAX_MEMORY_TESTS constant 2022-12-17 21:46:32 +01:00
Frank Denis
51f6b2df8d Add wazero to the list of tested wasm runtimes 2022-12-17 21:46:00 +01:00
Frank Denis
1ff1396283 Add the ability to convert tests into benchmarks 2022-12-17 21:36:15 +01:00
Frank Denis
6aa4e8c240 Don't built shared library for WASI 2022-12-17 20:18:11 +01:00
Frank Denis
b740dc84c1 Update msys2 2022-12-16 17:29:51 +01:00
Frank Denis
3cbaea8bc6 Avoid memcmp() with len=0 2022-12-12 00:16:51 +01:00
Frank Denis
fbad6b933b Update the Android NDK 2022-12-12 00:12:25 +01:00
Frank Denis
a5ea347381 Sync the AESNI aes_gcm_decrypt_generic() impl with the ARM one 2022-12-11 23:48:30 +01:00
Frank Denis
8b9a98c47f Add a test for aes256gcm_decrypt with long inputs, make it pass 2022-12-11 23:45:59 +01:00
Frank Denis
dab102d404 On stable, on failed decryption, fill buffer with 0x00
Not with 0xd0, to keep the previous behavior. NSec expicitly checked
for that value.
2022-12-11 21:07:42 +01:00
Frank Denis
c69b3ec9be Add some additional tests of in-place encryption/decryption 2022-12-11 21:05:23 +01:00
Frank Denis
634df56c5d Add an AES-GCM test of in-place encryption/decryption 2022-12-11 20:44:28 +01:00
bfren
19537d42ed 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:06:31 +01:00
Frank Denis
991b56c739 generate-emscripten-symbols.sh: allows the lib path to be overridden 2022-12-09 21:15:55 +01:00
Frank Denis
b706a78d38 Bump NuGet pathversion 2022-12-09 13:32:52 +01:00
Frank Denis
57863e390d .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:39:22 +01:00
Frank Denis
8b348ab16c Merge commit '5bb26cbb9487f870a2ea8352d1b431d7f0921c88' into stable
* commit '5bb26cbb9487f870a2ea8352d1b431d7f0921c88':
  Compile .NET Linux targets with Zig
  Remove unneeded path
  build.zig: require at least SSE4.1 when targeting x86_64
  test/default/run.sh compat with GNU find
2022-11-28 00:07:17 +01:00
Frank Denis
5bb26cbb94 Compile .NET Linux targets with Zig 2022-11-28 00:06:22 +01:00
Frank Denis
565bea3602 Remove unneeded path 2022-11-28 00:06:22 +01:00
Frank Denis
782b5d49fc build.zig: require at least SSE4.1 when targeting x86_64 2022-11-28 00:06:21 +01:00
Frank Denis
0d2f6d2a7b test/default/run.sh compat with GNU find 2022-11-28 00:06:21 +01:00
Frank Denis
35089b7870 Ship run.sh 2022-11-27 22:43:19 +01:00
Frank Denis
42743db558 build.zig: require at least SSE4.1 when targeting x86_64 2022-11-27 22:42:44 +01:00
Frank Denis
1904d6ad21 test/default/run.sh compat with GNU find 2022-11-27 22:12:40 +01:00
Frank Denis
f480b547e4 getentropy() didn't exist on old glibc versions 2022-11-27 22:02:32 +01:00
Frank Denis
284bc95456 getrandom() didn't exist on ancient glibc versions 2022-11-27 22:01:26 +01:00
Frank Denis
eee31da071 Tests: disable LTO, strip 2022-11-27 21:49:13 +01:00
Frank Denis
1203bbcc4d Windows doesn't have getpid() 2022-11-27 21:27:28 +01:00
Frank Denis
8081df0b64 build.zig: define a few OS-specific feature macros 2022-11-27 21:11:18 +01:00
Frank Denis
3eb1b40ade Stable: check Android support in CI, too 2022-11-27 16:19:22 +01:00
Frank Denis
6bce2fe9c9 Bump dotnet-core / nuget versions to 1.0.18.3 2022-11-25 16:15:36 +01:00
Frank Denis
eb04310952 Merge branch 'next' into stable
* next:
  dotnet core: try fixing run-test-binaries-cross-plat
  dotnet core: try to fix build-linux-glibc-arm
  Add a simple test runner to zig-out/bin/
  build.zig: statically compile and install all the tests
  Use current versions of GitHub actions
2022-11-24 23:24:20 +01:00