Commit Graph
3747 Commits
Author SHA1 Message Date
Frank Denis f6f50a03da travis-ci.org -> travis-ci.com 2020-02-06 01:00:47 +01:00
Frank Denis a6d317b2f3 Don't even define a .mult_base placeholder for sandy2x
Avoid two indirections for fixed base multiplication until another
implementation possibly exists.
2020-02-06 00:47:18 +01:00
Frank Denis 6a7fbccfd8 Remove sandy2x fixed base scalar multiplication
Thanks to precomputation, the generic implementation is faster.
2020-02-06 00:34:08 +01:00
Frank Denis d227affc63 Add wasm3 to the set of supported WebAssembly runtimes 2020-02-04 19:52:25 +01:00
Frank Denis 89f3a09737 Temporarily remove support for Lucet
Lucet doesn't work on MacOS any more, so testing it has become difficult.
2020-02-04 19:27:09 +01:00
Frank Denisandkappes 705b4ef2c6 Add support for Catalyst (#923)
* added macOS Catalyst support

* removed unintended changes

* moved code snippets around

* Remove duplicate -fembed-bitcode

Co-authored-by: kappes <kappes@users.noreply.github.com>
2020-01-28 16:36:45 +01:00
Frank Denis 1c25d9cc6a Remove duplicate -fembed-bitcode 2020-01-28 13:43:05 +01:00
Frank Denis 41c7e47efd Set a default page size to 64K (wasm/linux large pages) 2020-01-05 21:01:28 -05:00
Frank Denis 587ffc825d 2020 2020-01-01 08:20:09 +01:00
Frank Denis 4f34318399 Try to build the NuGet packages in the next branch 2019-12-30 14:53:28 +01:00
Frank Denis d83cb08137 Merge pull request #910 from ektrah/nuget-package-using-github-actions-pt2
Build NuGet package using GitHub Actions (Pt. 2)
2019-12-30 14:50:41 +01:00
ektrah 3163fdd1eb Update packaging for .NET Core 2019-12-30 13:44:12 +01:00
ektrah 35be7759d9 Update packaging for .NET Core 2019-12-30 13:26:57 +01:00
ektrah 1db04a8e8c Update packaging for .NET Core 2019-12-30 13:26:08 +01:00
Frank Denis e0fee7008a Merge pull request #909 from ektrah/nuget-package-using-github-actions
Build NuGet package using GitHub Actions
2019-12-30 10:32:52 +01:00
ektrah 76289a2db1 Update packaging for .NET Core 2019-12-29 20:43:54 +01:00
ektrah 896b0e254d Build NuGet package using GitHub Actions 2019-12-29 20:38:01 +01:00
Frank Denis 3b26a5c1f1 Define _FORTIFY_SOURCE only on linux-gnu 2019-12-04 23:32:50 +01:00
Frank Denis a72abb0ae1 Add missing randombytes.h inclusion in aead_aegis256.c 2019-12-04 21:07:33 +01:00
Frank Denis dcc2e06c93 Merge pull request #893 from AJenbo/patch-1
Findsodium.cmake: Support "Generic" platform
2019-11-11 08:41:34 +01:00
Anders Jenbo 449981cb98 Findsodium.cmake: Support "Generic" platform
This allows it to work on the Switch toolchain
2019-11-11 02:09:22 +01:00
Frank Denis fe04ff5aa5 Use AX_ADD_FORTIFY_SOURCE
Include a workaround for newer versions of MingW
2019-11-11 01:06:16 +01:00
Frank Denis b999be92e7 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Add support for node via wasmer-js
2019-11-11 00:55:57 +01:00
Frank Denis 9476c05afe Add aegis credits 2019-11-11 00:55:37 +01:00
Frank Denis 65621a1059 Add support for node via wasmer-js
V8 doesn't seem to be currently willing to load the metamorphic test.
2019-11-05 02:08:15 +01:00
Frank Denis b5d8f36d31 Update wasi-sdk 2019-11-01 17:31:07 +01:00
Frank Denis 066150a94d Swapped aegis256_is_available implementations 2019-10-31 09:23:33 +01:00
Frank Denis 0f8e034f97 Reorganize aead_aegis256 a bit 2019-10-23 20:03:23 +02:00
Frank Denis 728b7ef237 Add libarmcrypto.la 2019-10-23 19:30:48 +02:00
Frank Denis c8b6906c60 has_armcrypto_aes -> has_armcrypto 2019-10-23 19:07:33 +02:00
Frank Denis c9d80901bf __ARM_NEON is enough 2019-10-23 19:02:54 +02:00
Frank Denis db64ee1787 Bump the minimum iOS version to iOS 9
Add stricter checks for getrandom()/getentropy()
2019-10-23 18:11:12 +02:00
Frank Denis b614cfc37f Bump iOS min version to 8.0.0 2019-10-23 18:02:43 +02:00
Frank Denis a8dc93192d On Apple devices, the ARM64_V8 subtype always has the crypto extensions 2019-10-23 17:59:17 +02:00
Frank Denis dd5fbb632b Check for AT_HWCAP2 instead of AT_HWCAP where it's used 2019-10-22 23:24:16 +02:00
Frank Denis 1910ca83d8 Detect NEON and ARMCRYPTO on ARM32
Which doesn't mean that the compiler will support these opcodes, so
we need to autoconf magic as well.
2019-10-22 23:20:15 +02:00
Frank Denis 456a57f235 __arm__ => __ARM_ARCH 2019-10-22 22:59:45 +02:00
Frank Denis acaed459ce Add ARM NEON and AES runtime checks 2019-10-22 22:51:58 +02:00
Frank Denis c9e95c59bd Run wasm-opt -O4 2019-10-22 17:16:54 +02:00
Frank Denis b40674e29a Add support for WAVM as a WebAssembly runtime 2019-10-22 08:59:24 +02:00
Frank Denis 9e22cb4ad2 Nits 2019-10-21 15:14:13 +02:00
Frank Denis 111f99a2d4 Nits. No binary code change. 2019-10-21 14:52:20 +02:00
Frank Denis 8a76789de3 Add required headers for aegis256_armcrypto 2019-10-21 14:23:15 +02:00
Frank Denis fc0d0bbc50 Merge pull request #886 from angt/rework-neon-aegis256
Rework NEON version of AEGIS256
2019-10-21 13:18:24 +02:00
Adrien Gallouët fd5bc21b60 Rework NEON version of AEGIS256
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2019-10-21 10:56:09 +00:00
Adrien Gallouët 4542a04e1d Indent
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2019-10-12 06:54:58 +00:00
Frank Denis ef89aea64e Merge pull request #884 from isislovecruft/feature/scalar-succeed-fast
Optimisation to succeed fast when checking signature scalar is reduced.
2019-10-12 02:19:42 +02:00
Frank Denis 6abc6c292a Compile only the NEON version of AEGIS256 on relevant platforms 2019-10-12 02:18:36 +02:00
Isis Lovecruft 6136871607 Optimisation to succeed fast when checking signature scalar is reduced.
This provides a minor optimisation for ed25519 signature verification, when used
without the -DED25519_COMPAT feature, to strictly check for a fully reduced
scalar, `s`, component in variable time by first checking that the most
significant *four* bits are unset, and only if any of them are set proceed to
the `sc25519_is_canonical` check which performs the full reduction.  This should
result in succeeding fast for the check on roughly half of all well-formed,
canonicalised signatures.

This is safely backwards compatible with the previous implementation
of strict checking for signature scalars.
2019-10-11 21:58:15 +00:00
Frank Denis c638d25583 Try Lucet as a last option, after wasmer, due to its unstable interface 2019-10-11 17:31:57 +02:00