1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00
Commit Graph

3747 Commits

Author SHA1 Message Date
Frank Denis
e6d0a57061 Elligator - Faster Chi function 2020-06-15 10:41:59 +02:00
Frank Denis
25d6fc9e17 Add CodeQL scan 2020-06-11 10:23:15 +02:00
Frank Denis
7c4cedaf11 Add CodeQL scan 2020-06-11 10:23:12 +02:00
Greg Hazel
a230795424 android-build.sh: exit with return code 1 if the NDK is not present 2020-06-06 09:39:18 +02:00
Frank Denis
2ea21b96e0 Don't even include signal.h on WASI
Since version 11, wasi-sysroot doesn't ignore it but spits out
an error instead.
2020-06-04 10:53:49 +02:00
Frank Denis
824c8cdf69 Backport wavm support 2020-06-04 10:53:49 +02:00
Frank Denis
6bae891702 Don't add linker flags with the emscripten target
Regen
2020-05-26 17:59:19 +02:00
Frank Denis
d553485a92 emscripten: force filesystem inclusion for tests 2020-05-26 17:34:28 +02:00
Frank Denis
dbc8fa3488 Print something after auto* are done 2020-05-26 14:52:32 +02:00
Frank Denis
9413aec775 libtoolize copy 2020-05-26 14:45:03 +02:00
Frank Denis
b59e21647d Always copy aux files 2020-05-26 14:42:02 +02:00
Frank Denis
38d0079e58 Don't use autoreconf 2020-05-26 14:38:51 +02:00
Frank Denis
4c675bf459 Move all build scripts to build-aux 2020-05-26 14:37:49 +02:00
Frank Denis
b8328f14bb Regen 2020-05-26 14:26:45 +02:00
Frank Denis
b16da4f281 Move AC_USE_SYSTEM_EXTENSIONS up 2020-05-26 14:26:24 +02:00
Frank Denis
c94c477f24 Faster sc25519 inversion, with one less squaring 2020-05-26 14:05:10 +02:00
Frank Denis
c35437c2e5 Add extra box_seal() tests 2020-05-21 18:38:34 +02:00
Frank Denis
81a2655233 crypto_box_seal(): copy the key after encryption to support in-place encryption
Fixes #961
2020-05-21 18:25:27 +02:00
Frank Denis
4681c7722b Update autogen.sh 2020-05-18 22:12:48 +02:00
Frank Denis
f057d474e2 Add --fail to curl options
Fixes #960
2020-05-18 19:33:16 +02:00
Frank Denis
5a300d6480 Remove unused code 2020-05-14 18:46:16 +02:00
Frank Denis
2952a15bfe Additional sc25519 tests 2020-05-14 12:40:59 +02:00
Frank Denis
89943bdd38 Update config.sub 2020-05-05 19:43:52 +02:00
Frank Denis
f88e24f887 config.guess update 2020-04-26 20:47:58 +02:00
Frank Denis
088e78cc58 Simplify scalarmult{2,5} tests 2020-04-26 20:07:29 +02:00
Frank Denis
8cd121c989 Add a scalarmult test to show that the high bit is ignored 2020-04-26 20:07:24 +02:00
Frank Denis
b817cd8fc8 Fix wasi-sdk path 2020-04-25 12:42:01 +02:00
Frank Denis
53ceb6c681 config.sub update 2020-04-25 12:28:15 +02:00
Frank Denis
5fa3afca7a One more test vector cannot hurt 2020-04-25 12:26:45 +02:00
Frank Denis
be00e8d72b ristretto255_is_canonical(): sync with wasm-crypto
Reject string with the top bit set.
2020-04-25 12:18:19 +02:00
Frank Denis
8fbe4ceb64 Fix argument order 2020-04-23 15:40:50 +02:00
Frank Denis
9786e40501 Rename fe25519_scalar_product, use it for all multiplications by A 2020-04-23 11:16:05 +02:00
Emil Bay
73aa0ebad2 fix crypto_stream_chacha20_ietf tests (#946) 2020-04-17 11:01:23 +02:00
Frank Denis
5ce5f2dce6 Apparently, wasi-sdk-9 only works on Ubuntu 18.04 2020-04-07 11:00:58 +02:00
Frank Denis
d0047f9cdf Pipelines: use wasi-sdk 8, remove vs2015-win2012r2 2020-04-07 10:24:17 +02:00
Frank Denis
f931f37bb4 Replace deprecated function in test 2020-03-30 19:08:05 +02:00
Frank Denis
57e753130e Remove useless self inclusion 2020-03-28 20:38:54 +01:00
Frank Denis
3b689a6ab4 New automake version 2020-03-22 22:56:19 +01:00
Frank Denis
d0ea7b549e Remove XOP stub
XOP is dead
2020-03-14 17:16:54 +01:00
Frank Denis
a89940d4aa Reformat comments 2020-03-14 17:16:48 +01:00
Frank Denis
a4e127567f Simplify integerify()
Make offsets 64 bit in the SSE scrypt impl
2020-03-14 17:16:37 +01:00
Loup Vaillant
f1652acba2 Avoid memmove() call when buffers are already the same. (#935)
This completes the work started in commit
fbe3eb265f
2020-03-14 17:15:42 +01:00
Frank Denis
83bfae5bdb travis-ci.org -> travis-ci.com 2020-02-06 00:59:07 +01:00
Frank Denis
182415cb69 Remove sandy2x fixed base scalar multiplication
Thanks to precomputation, the generic implementation is faster.

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:54:39 +01:00
Frank Denis
64779327e9 update build-aux 2020-02-06 00:31:02 +01:00
Frank Denis
b6e61122a4 Add wasm3 to the set of supported WebAssembly runtimes
Also add wasmer-js
2020-02-04 19:54:59 +01:00
Frank Denis
f20e6fdad2 Temporarily remove support for Lucet
Lucet doesn't work on MacOS any more, so testing it has become difficult.
2020-02-04 19:33:13 +01:00
Frank Denis
8f37dcac04 Remove duplicate -fembed-bitcode 2020-01-28 13:43:26 +01:00
Frank Denis
d6961a93cc Set a default page size to 64K (wasm/linux large pages) 2020-01-05 21:00:00 -05:00
Frank Denis
72df226dc1 2020 2020-01-01 08:20:31 +01:00