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
Frank Denis
84697a789d
dotnet core: try fixing run-test-binaries-cross-plat
2022-11-24 23:15:45 +01:00
Frank Denis
23b3ca6016
dotnet core: try to fix build-linux-glibc-arm
2022-11-24 22:46:32 +01:00
Frank Denis
5ca9ce8fe4
Use current versions of GitHub actions
2022-11-23 21:48:09 +01:00
Frank Denis
3075417ef8
Add a simple test runner to zig-out/bin/
2022-11-23 21:47:39 +01:00
Frank Denis
14e6867981
build.zig: statically compile and install all the tests
2022-11-23 21:47:35 +01:00
Frank Denis
03137a5817
Add a simple test runner to zig-out/bin/
2022-11-23 21:37:58 +01:00
Frank Denis
9159da5c8a
build.zig: statically compile and install all the tests
2022-11-23 21:07:55 +01:00
Frank Denis
a4a6e64f2b
Back to Xenial in order to build code that works on CentOS 7
...
This is going to be an issue soon. Maybe we should use CentOS 7
directly to test?
2022-11-23 20:20:10 +01:00
Frank Denis
e15ded0cef
Debian 9 has reached EOL 2 years ago
2022-11-23 20:13:26 +01:00
Frank Denis
a0ebe66e6f
Current LTS version of Ubuntu is 22.04 -- Test on that one
2022-11-23 20:06:15 +01:00
Frank Denis
1bc6912943
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 19:56:12 +01:00
Frank Denis
9ee4e3ddb4
Use current versions of GitHub actions
2022-11-23 19:44:10 +01:00
Frank Denis
c19164f02e
dotnet-core: bump GitHub actions versions, and use Ubuntu 18.04 as a base
2022-11-23 19:42:39 +01:00
bfren
a0503b5c24
[dotnet core] build for linux-musl-arm64 ( #1174 )
...
* Adding aarch64 build
* Removing workflow_dispatch
* Re-adding x64
* Disable libgcrypt hash - #1173
* Adding sudo to gcrypt disable - #1173
* Remove sudo, put gcrypt disable before building source list - #1173
* Adding linux-musl-arm64 build to NuGet package - #1174
* Explain the gcrypt configuration hack
2022-11-23 19:17:32 +01:00
Frank Denis
1cfba584db
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:25 +01:00
Frank Denis
d0c73fcefc
Backport the new AES-GCM implementation to -stable
2022-11-17 23:07:10 +01:00
Frank Denis
2298b56fd2
Regen configure script
2022-11-17 22:58:12 +01:00
Frank Denis
e8dbdab216
Try using -Ofast / -O3 by default
2022-11-17 22:52:58 +01:00
Frank Denis
180ee26d06
Add -Wno-unknown-pragmas if supported
2022-11-16 22:24:14 +01:00
Frank Denis
12023defc8
salsa20: initialize partial block
...
A compiler trying to be too smart could notice that we are shifting
ununitialized data (even though we then discard it), and apply
unwanted optimizations.
2022-11-16 13:43:43 +01:00
Frank Denis
63a46474e4
Repair CFLAGS/ CWFLAGS mixup
2022-11-16 13:42:47 +01:00
Frank Denis
d264b5cfe5
Nits
2022-11-14 23:44:21 +01:00
Frank Denis
0fc788d6af
-mcpu=native -> -mtune=native
2022-11-14 23:23:34 +01:00
Frank Denis
d5566cb08e
GitHub CI: check compilation with zig cc
2022-11-14 22:16:55 +01:00
Frank Denis
f1da14de2b
sodium_utils tests: exit() -> _exit()
2022-11-14 22:16:45 +01:00
Frank Denis
c4b1c04c02
Azure Pipelines: update Zig to 0.10.0 to compile to WebAssembly/WASI
2022-11-14 00:30:13 +01:00
Frank Denis
b5490b8159
Azure pipelines: the vs2017-win2016 image doesn't exist any more
2022-11-14 00:25:31 +01:00
Frank Denis
7d920a0ed5
Regen
2022-11-13 23:18:57 +01:00