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

3904 Commits

Author SHA1 Message Date
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
Elie Hage
52e9b08c79 Add support for arm64 watchOS (#1211) 2022-09-23 17:30:02 +02:00
Steve Thomas
d69a2342bc Clear decrypted block from stack (#1190) 2022-06-18 20:32:53 +02:00
Frank Denis
77ab3f8811 Strip builds 2022-06-07 17:36:00 +02:00
Frank Denis
3f3d350387 sodium_compare(): cast operands to unsigned int
This matches the Zig implementation and
fixes #1184
2022-06-05 14:31:35 +02:00
Yi
17d9198774 Update wasi-test-wrapper: SSVM was renamed to WasmEdge (#1179) 2022-05-12 12:37:09 +02:00
Frank Denis
fd4b6edc0f Simplify scrypt blkcpy()/blkxor() 2022-05-11 18:12:45 +02:00
Frank Denis
60aa65f68a azure-pipelines: wasi-sdk is not used any more 2022-05-10 17:31:01 +02:00
ektrah
78b6f57493 Use .NET 6.0 SDK to build and test the NuGet package (#1175) 2022-04-30 21:48:26 +02:00
Frank Denis
07f9ab9020 Add Zig build system 2022-04-28 18:21:39 -07:00
Frank Denis
7389bf7f29 libtool update 2022-04-03 00:03:17 +02:00
Frank Denis
d6fcd7030d Catalyst: iOS 13.1 is the minimum target for Xcode 13
Fixes #1167
2022-04-03 00:02:09 +02:00
Frank Denis
044da260cf Sync documentation links with -master 2022-03-29 15:39:22 +02:00
Frank Denis
3bbee37fa3 Remove link to offline documentation 2022-03-29 15:36:39 +02:00