Commit Graph

4017 Commits

Author SHA1 Message Date
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
Frank Denis
ffcf899875 Improve AX_CHECK_CATCHABLE_SEGV 2022-11-13 23:17:14 +01:00
Frank Denis
35e1fdf5da Zig build: enable ARM Crypto 2022-11-13 20:51:00 +01:00
Frank Denis
fd5cbe9e69 Indent 2022-10-21 17:54:59 +02:00
Frank Denis
c33ab2d45c Update build.zig for Zig-current 2022-10-20 14:42:14 +02:00
Frank Denis
69821eba93 Win32: SecureZeroMemory may not be available 2022-10-20 14:41:59 +02:00
Frank Denis
e84e43d048 Update config.sub 2022-10-11 14:07:16 +02:00
Frank Denis
2a2fe56189 scalarmult(): don't use the output as a temporary buffer
So that application can use the same pointer for the public key
and the shared secret.
2022-10-11 14:04:50 +02:00
Javier Navarro
e2bd402400 ios: remove the support for bitcode (#1210) 2022-09-23 17:30:34 +02:00