Frank Denis
3b26a5c1f1
Define _FORTIFY_SOURCE only on linux-gnu
5 years ago
Frank Denis
a72abb0ae1
Add missing randombytes.h inclusion in aead_aegis256.c
5 years ago
Frank Denis
dcc2e06c93
Merge pull request #893 from AJenbo/patch-1
Findsodium.cmake: Support "Generic" platform
5 years ago
Anders Jenbo
449981cb98
Findsodium.cmake: Support "Generic" platform
This allows it to work on the Switch toolchain
5 years ago
Frank Denis
fe04ff5aa5
Use AX_ADD_FORTIFY_SOURCE
Include a workaround for newer versions of MingW
5 years ago
Frank Denis
b999be92e7
Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
Add support for node via wasmer-js
5 years ago
Frank Denis
9476c05afe
Add aegis credits
5 years ago
Frank Denis
65621a1059
Add support for node via wasmer-js
V8 doesn't seem to be currently willing to load the metamorphic test.
5 years ago
Frank Denis
b5d8f36d31
Update wasi-sdk
5 years ago
Frank Denis
066150a94d
Swapped aegis256_is_available implementations
5 years ago
Frank Denis
0f8e034f97
Reorganize aead_aegis256 a bit
5 years ago
Frank Denis
728b7ef237
Add libarmcrypto.la
5 years ago
Frank Denis
c8b6906c60
has_armcrypto_aes -> has_armcrypto
5 years ago
Frank Denis
c9d80901bf
__ARM_NEON is enough
5 years ago
Frank Denis
db64ee1787
Bump the minimum iOS version to iOS 9
Add stricter checks for getrandom()/getentropy()
5 years ago
Frank Denis
b614cfc37f
Bump iOS min version to 8.0.0
5 years ago
Frank Denis
a8dc93192d
On Apple devices, the ARM64_V8 subtype always has the crypto extensions
5 years ago
Frank Denis
dd5fbb632b
Check for AT_HWCAP2 instead of AT_HWCAP where it's used
5 years ago
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.
5 years ago
Frank Denis
456a57f235
__arm__ => __ARM_ARCH
5 years ago
Frank Denis
acaed459ce
Add ARM NEON and AES runtime checks
5 years ago
Frank Denis
c9e95c59bd
Run wasm-opt -O4
5 years ago
Frank Denis
b40674e29a
Add support for WAVM as a WebAssembly runtime
5 years ago
Frank Denis
9e22cb4ad2
Nits
5 years ago
Frank Denis
111f99a2d4
Nits. No binary code change.
5 years ago
Frank Denis
8a76789de3
Add required headers for aegis256_armcrypto
5 years ago
Frank Denis
fc0d0bbc50
Merge pull request #886 from angt/rework-neon-aegis256
Rework NEON version of AEGIS256
5 years ago
Adrien Gallouët
fd5bc21b60
Rework NEON version of AEGIS256
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
5 years ago
Adrien Gallouët
4542a04e1d
Indent
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
5 years ago
Frank Denis
ef89aea64e
Merge pull request #884 from isislovecruft/feature/scalar-succeed-fast
Optimisation to succeed fast when checking signature scalar is reduced.
5 years ago
Frank Denis
6abc6c292a
Compile only the NEON version of AEGIS256 on relevant platforms
5 years ago
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.
5 years ago
Frank Denis
c638d25583
Try Lucet as a last option, after wasmer, due to its unstable interface
5 years ago
Frank Denis
701475c3d2
Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
Update wasi-sdk
5 years ago
Frank Denis
da75f6824b
Lucet removed the "fast" optimization level
We may drop Lucet support entirely until the interface gets more stable
5 years ago
Frank Denis
639782ef87
Update wasi-sdk
5 years ago
Frank Denis
e433b9ee02
Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
Add -S for curl
Add ARM implementation of aegis256 - Not connected to builds yet
5 years ago
Frank Denis
59a195d05f
We don't need to check if data alignment is required any more
5 years ago
Frank Denis
e1bff2608f
Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
Add -S for curl
randombytes: make the emscripten version consistent with others
5 years ago
Frank Denis
d9ce7cbddc
Merge pull request #875 from imba-tjd/patch-1
Add -S for curl
5 years ago
谭九鼎
78da96fc15
Add -S for curl
5 years ago
Frank Denis
2f915846ff
randombytes: make the emscripten version consistent with others
5 years ago
Frank Denis
0460903da5
Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
Make room for several secretstream
Fix .gitignore
5 years ago
Frank Denis
87fac028be
Merge pull request #871 from angt/secretstream
Make room for several secretstream
5 years ago
Adrien Gallouët
019db2bc84
Make room for several secretstream
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
5 years ago
Adrien Gallouët
0bf3bb7a22
Fix .gitignore
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
5 years ago
Frank Denis
44b4526309
Add ARM implementation of aegis256 - Not connected to builds yet
5 years ago
Frank Denis
5990dc00d0
Fix crypto_aead_aegis256_MESSAGEBYTES_MAX
5 years ago
Frank Denis
5a9d93d371
The wasmer path is lost between tasks
5 years ago
Frank Denis
ea92e2e929
Install precompiled wasmer
5 years ago