Commit Graph

3878 Commits

Author SHA1 Message Date
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
Sean Mollet
f0ad119206 Put the packaging line for nuget back in (#1164) 2022-03-07 17:34:28 +01:00
Frank Denis
32cba2b5e9 Build dotnet core x64 binaries in Ubuntu 16.04
...to provide support for CentOS 7 and Debian 9

Contributed by @enclave-alistair

Fixes #1099
2022-02-27 11:44:12 +01:00
Frank Denis
0e88616f87 edwards25519: faster recovery of the X coordinate 2022-02-15 14:13:36 +01:00
Frank Denis
c53b4cea25 Use deterministic signatures for benchmarking 2022-01-23 00:06:15 +01:00
Frank Denis
5ad0239a1d config.sub update 2022-01-22 23:37:47 +01:00
Frank Denis
a13eef3255 wasm32-wasi: add /opt/homebrew/bin to the default paths 2022-01-22 23:36:42 +01:00
Frank Denis
89b2d420d4 Lucet has reached EOL 2022-01-22 23:36:35 +01:00
Frank Denis
7d67f1909b 2022 2021-12-31 23:55:56 +01:00
Frank Denis
aa099f5e82 Revert "wasm-opt: use --strip-debug"
This reverts commit 0c2fb123f7.
2021-11-18 14:15:26 +01:00
Frank Denis
0c2fb123f7 wasm-opt: use --strip-debug 2021-11-17 21:03:25 +01:00
Frank Denis
77f77a67f5 Add Visual Studio 2022 support 2021-11-11 13:27:44 +01:00
Frank Denis
aed28f9a8c Update Zig to 0.8.1 2021-11-11 13:26:05 +01:00
Frank Denis
8cb92dc44e Azure Pipelines: build on MSVC 2022 2021-11-11 12:58:54 +01:00
Frank Denis
8c7e53f1b6 dotnet-core: add aarch64-macos builds
Fixes #1106
2021-11-11 12:40:09 +01:00
Frank Denis
715cbfad32 qemu is not needed 2021-11-11 12:14:10 +01:00
Frank Denis
5ef23a4b35 Indent GitHub Actions code 2021-11-10 15:59:50 +01:00
Jørgen P. Tjernø
100ccb452d Portability improvements (#1105)
* Move `raise` code to be behind an autoconf check

This moves the call to `raise` behind a `HAVE_RAISE` autoconf check,
in addition to `__wasm__`. This is intended to help porting to
other platforms that don't support `raise` (e.g. modern game consoles).

* Add autoconf check for `sysconf`

Only try to invoke `sysconf` if the target platform supports it, and
don't warn about unknown page size if `PAGE_SIZE` was defined. Add an
include for `sys/param.h` to increase likelihood of finding `PAGE_SIZE`.
This is intended to help porting to other platforms that don't support
`sysconf` (e.g. modern game consoles) that have a fixed hardware page
size.

* Don't try to use raise & sysconf in a WASI environment

Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>
2021-10-09 18:39:02 +02:00
Frank Denis
a016aea612 Update msys2 2021-07-25 21:57:16 +02:00
Frank Denis
17741b1cb0 Remove the need for llvm 2021-07-19 12:55:35 +02:00
Frank Denis
dbb8d4ec44 No need to define the NM and STRIP commands 2021-07-19 12:52:29 +02:00
Frank Denis
4a64ce1836 WASI: remove wasi-sdk dependency; build module with zig 2021-07-19 12:36:29 +02:00
Frank Denis
7d71804ee0 Update config.sub 2021-07-13 16:59:44 +02:00
infinitydev
7d300e4c19 Fix build on z/OS using XLC (#1089)
Handle the Sun and the IBM compilers separately
2021-07-09 15:48:34 +02:00
Frank Denis
95673e5b51 Use assignement + case instead of memcpy() 2021-06-17 20:56:54 +02:00
Frank Denis
94daa0e15a Include private/sse2_64_32.h only where SSE2 is required
Fixes #1074
2021-06-13 21:46:08 +02:00
Frank Denis
355f156ab7 Update msys2 2021-06-13 18:52:34 +02:00