Commit Graph
100 Commits
Author SHA1 Message Date
Frank Denis 3b458d0eee wasm32-wasi: add /opt/homebrew/bin to the default paths 2022-01-22 23:34:25 +01:00
Frank Denis 77bf2e8273 Lucet has reached EOL 2022-01-22 23:34:01 +01:00
Frank Denis fbe2c92f0d AEGIS: rename constants to match the draft 2022-01-04 16:06:44 +01:00
Frank Denis d2de91eb20 2022 2021-12-31 23:55:42 +01:00
Frank Denis 75175f8ec6 android-build: use -z 2021-12-28 22:41:31 +01:00
Frank Denis c72dce4075 androit-build: add extra quotes 2021-12-28 22:39:25 +01:00
Frank Denis 6274dd3598 The Android NDK cannot target API level 16 any more; bump to 19 2021-12-28 22:37:53 +01:00
Frank Denis 003ad0f1c9 Don't use legacy quotes 2021-12-28 22:15:08 +01:00
Frank Denis 234b7d4ab7 CI: Update Android NDK to r24-beta2 2021-12-28 22:11:28 +01:00
Frank Denis 447cd270d9 edwards25519: faster recovery of the X coordinate 2021-12-27 15:16:56 +01:00
Frank Denis 5df53ce62b Revert "wasm-opt: use --strip-debug"
This reverts commit 85bdde2817.
2021-11-18 14:15:02 +01:00
Frank Denis 85bdde2817 wasm-opt: use --strip-debug 2021-11-17 21:02:17 +01:00
Frank Denis 089f850608 Remove expected length from the pwhash_str_verify()/needs_rehash() 2021-11-11 14:15:24 +01:00
Frank Denis df37f22de0 Azure Pipelines: build on MSVC 2022 2021-11-11 12:58:09 +01:00
Frank Denis eba7c5e0f4 dotnet-core: add aarch64-macos builds
Fixes #1106
2021-11-11 12:38:46 +01:00
Frank Denis 5eb07a9bcc qemu is not needed 2021-11-11 12:13:29 +01:00
Frank Denis 4042deda8c Revert "Retarget the base Visual Studio solution"
This reverts commit 1bdefd6a4e.
2021-11-11 12:11:43 +01:00
Frank Denis 06db7fad81 Indent GitHub Actions code 2021-11-10 15:56:51 +01:00
Frank Denis 826b7d2a10 Compile assembly files 2021-11-10 15:40:20 +01:00
Frank Denis 620d4529b6 Strip non-debug builds 2021-11-10 15:35:22 +01:00
Frank Denis 91340df7a0 Correct target library name 2021-11-10 15:33:37 +01:00
Frank Denis 1329ba8ad8 Remove duplicate definition 2021-11-10 15:31:59 +01:00
Frank Denis 59b869b356 Add preliminary build.zig file 2021-11-10 15:31:32 +01:00
Frank Denis 1bdefd6a4e Retarget the base Visual Studio solution 2021-11-08 22:27:17 +01:00
Frank Denis 7b734bd58e Add Visual Studio 2022 support 2021-11-08 22:19:20 +01:00
Frank Denis b65f8fdf4f Remove unused variables 2021-11-08 22:00:33 +01:00
Frank Denis 7052e4733f H2C: Y should be negative is gx1 is a square
Fixes #1119
2021-11-08 14:31:14 +01:00
Frank Denis fe1d6d11aa Update msys2 2021-07-25 21:46:37 +02:00
Frank Denis 038e4114e9 fe25519_reduce64: handle the top bit
This is only for code clarity and for people copy/pasting that
private code to use it in a different context.

The top 128 bits are always zero.
2021-07-22 00:41:50 +02:00
Frank Denis 78c9d1eade Azure Pipelines CI: remove the need for llvm 2021-07-19 13:00:16 +02:00
Frank Denis 677572ec1b No need to define the STRIP command 2021-07-19 12:53:26 +02:00
Frank Denis c2d66aaec9 WASI: remove wasi-sdk dependency; build module with zig 2021-07-19 12:45:33 +02:00
Frank Denis 07c2f6c053 Handle the Sun and the IBM compilers separately 2021-07-09 15:47:40 +02:00
Frank Denis 6efaa0264a emscripten: EXTRA_EXPORTED_RUNTIME_METHODS -> EXPORTED_RUNTIME_METHODS 2021-06-17 21:58:25 +02:00
Frank Denis 558886fd0e Use assignement + case instead of memcpy() 2021-06-17 20:57:21 +02:00
Frank Denis a2ee77b90a Include private/sse2_64_32.h only where SSE2 is required
Fixes #1074
2021-06-13 21:40:54 +02:00
Frank Denis 4aafe7517a Update msys2 2021-06-13 18:52:15 +02:00
Frank Denis 7993f5ec51 Format 2021-06-02 21:35:16 +02:00
Frank Denis ca638d428a Format 2021-05-26 19:59:11 +02:00
Frank Denis e1186130f7 sync dotnet-core.yml with stable 2021-05-26 19:57:33 +02:00
Frank Denis d1a5aaecf0 Ubuntu 16.04 has reached EOL and Alpine 3.7 looks really old as well 2021-05-26 16:23:00 +02:00
Frank Denis cf2766d685 Format 2021-05-26 16:11:25 +02:00
Frank Denis b1873666b4 CI: Ubuntu's autoconf version is old - Try with version 2.69 2021-05-25 19:16:00 +02:00
Frank Denis 6b21ef2f2d Call AC_CANONICAL_TARGET 2021-05-22 12:21:58 +02:00
Frank Denis 63165fd148 wasi-libc exposes getpid() but it doesn't work without emulation 2021-05-22 11:56:52 +02:00
Frank Denis 0e870c5406 Don't define DllMain in static builds 2021-05-22 10:29:00 +02:00
Frank Denis 85e48722a8 Enable crypto extensions on ARMv8 2021-04-08 11:13:40 +02:00
Frank Denis 8a40c424ab COMPILE -> LINK 2021-04-08 11:06:56 +02:00
Frank Denis 6ced025490 Restore compile flag test 2021-04-08 10:55:46 +02:00
Frank Denis cd1bd8f1b3 Update some autoconf macros 2021-04-08 10:51:50 +02:00
Frank Denis 731f7c0d95 Add Android builds to CI 2021-04-08 10:44:25 +02:00
Frank Denis 6d566070b4 Add some more base64 decoding tests 2021-03-20 00:08:20 +01:00
Frank Denis 0d7c5bec06 Autoconf updates 2021-03-16 19:30:52 +01:00
Frank Denis ea15384f9b Proper check for the check-globals script 2021-03-15 12:04:23 +01:00
Frank Denis c93662b27c Add AEGIS128L test, regen the ones for AEGIS256, sort 2021-03-15 11:00:18 +01:00
Frank Denis 421212fe42 Add LLVM, move lucet down 2021-03-10 18:49:13 +01:00
Frank Denis 57d950a54e apt-get update may be required on workflows 2021-03-01 12:50:21 +01:00
Frank Denis 71f91b2f6e Update msys2 2021-02-28 21:06:19 +01:00
Frank Denis 55bb5af253 wasm bench: make lucet performance significantly better
By default, lucetc generates code with explicit bound checking,
even though the runtime has guard pages.

Elision only happens with --reserved-size=4GiB
2021-02-24 21:50:12 +01:00
Frank Denis 28e6cc1a95 Remove unused hash2.exp 2021-02-21 00:53:18 +01:00
Frank Denis 9039eea1e3 Add support for Node without wasmer-js 2021-02-20 21:26:23 +01:00
Frank Denis cd5252328f WASM benchmarks: add lucet and WAMR, update wasmtime & wasmer 2021-02-19 23:13:10 +01:00
Frank Denis af6366efc3 Braces 2021-02-13 12:10:38 +01:00
Frank Denis f01675fcf2 Fix alignment after #1032 2021-02-12 17:15:00 +01:00
Frank Denis 758db56bf6 Only run test-globals if it exists 2021-02-07 14:00:51 +01:00
Frank Denis 4020f76a5f Put <meta> tag outside <style>
Fixes https://github.com/jedisct1/libsodium.js/pull/267
2021-02-07 13:58:23 +01:00
Frank Denis e4206f1337 Change crypto_core_ed25519_from_string() to accept a hash function 2021-01-24 19:21:07 +01:00
Frank Denis e0629769d3 Move the H2C string->hash functions to their own files 2021-01-24 18:45:14 +01:00
Frank Denis 83ad278a28 Add GitHub Actions badge 2021-01-23 22:36:05 +01:00
Frank Denis b1ed64613a Enable GitHub Actions 2021-01-23 22:32:17 +01:00
Frank Denis a424d6026d Update global symbols 2021-01-23 22:32:09 +01:00
Frank Denis 4bed9dfe6b Farewell, Travis
"Builds have been temporarily disabled for public repositories due to a
negative credit balance"
2021-01-23 21:48:48 +01:00
Frank Denis 5ff2b1a0e7 Allow arbitrary long string-to-H2C-hash operations
Make the ristretto and edwards25519 string to hash code lookalike.
2021-01-23 21:41:20 +01:00
Frank Denis 41e6cb3368 Use SHA-256 for the hash-to-ristretto255 operation
We may eventually revert to SHA-512
2021-01-23 19:00:05 +01:00
Frank Denis 89916bbe11 Explicit 2021-01-07 19:54:07 +01:00
Frank Denis ad65e5dc3e Update msys2 2021-01-05 20:30:24 +01:00
Frank Denis fa66f4b6ed 2021 2021-01-01 00:02:37 +01:00
Frank Denis 899c3a62b2 CentOS doesn't exist any more 2020-12-10 23:16:32 +01:00
Frank Denis c4a6c6b8bf CodeQL: remove git checkout HEAD^2 2020-12-10 23:16:31 +01:00
Frank Denis eb38ff4a85 Sort 2020-12-10 22:22:38 +01:00
Frank Denis 611e1a0bc1 Typo (risretto -> ristretto)
Fixes #1014
2020-12-10 22:17:06 +01:00
Frank Denis a5e2122177 Make the text logo slightly more readable in dark mode 2020-12-08 23:16:26 +01:00
Frank Denis 45bca21a95 Detect ARM features with elf_aux_info on FreeBSD >= 12.0
by @devnexen, thanks!

Fixes #1012
2020-12-04 15:34:27 +01:00
Frank Denis 761c1b34cd Reorganize ARM features detection 2020-12-04 15:27:32 +01:00
Frank Denis 7af3ed9237 wasm-ld doesn't support --no-threads any more 2020-12-03 17:32:15 +01:00
Frank Denis 5e262eeb8f Bump wasi-sdk version 2020-12-03 17:32:13 +01:00
Frank Denis 4aa74923d2 pwhash never supported "in-place" operation - return EINVAL 2020-11-24 22:50:15 +01:00
Frank Denis dbbd8c6bb9 Update msys2-base 2020-11-13 21:48:41 +01:00
Frank Denis ec552621cb apple-xcframework: add bitcode support to all emulators 2020-11-10 16:59:57 +01:00
Frank Denis 3f1df65173 MSYS2's CI repository is no more 2020-11-04 19:29:33 +01:00
Frank Denis b302c8e8e1 secretbox_xchacha: don't do useless rounds for the first block 2020-10-29 18:39:40 +01:00
Frank Denis 31436eb1df secretbox_open: no need to encrypt the first block twice 2020-10-29 18:30:14 +01:00
Frank Denis 1801900486 Build the watchOS simulators with bitcode 2020-10-21 17:01:52 +02:00
Frank Denis b02dbf2519 Register _crypto_core_ristretto255_from_string_ro 2020-10-13 16:36:14 +02:00
Frank Denis dd72efe41f emscripten: RUNNING_JS_OPTS has been removed in recent versions 2020-10-13 16:25:06 +02:00
Frank Denis 82652f0a0b Merge branch 'master' of github.com:jedisct1/libsodium into master
* 'master' of github.com:jedisct1/libsodium:
  docs: fix simple typo, interoperatibility -> interoperability (#1002)
  Repair AEGIS on aarch64
2020-10-12 11:51:13 +02:00
Frank Denis 0263be7a15 Unbreak unchecked_sqrt if pointers are distinct 2020-10-06 13:27:09 +02:00
Frank Denis 29041d8ba1 Comment 2020-10-06 12:58:31 +02:00
Frank Denis ae4add8681 Repair AEGIS on aarch64
fixes #999
2020-10-04 15:24:03 +02:00
Frank Denis e945207b77 Remove unused variable in tests
Fixes #998
2020-09-29 11:05:31 +02:00