1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 12:36:01 -07:00
Commit Graph

3731 Commits

Author SHA1 Message Date
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
Frank Denis
c034f34309 Try to build the NuGet packages in the next branch 2019-12-30 14:53:04 +01:00
ektrah
eeadf81e1d Update packaging for .NET Core 2019-12-30 14:51:54 +01:00
ektrah
1f49263c50 Update packaging for .NET Core 2019-12-30 14:51:50 +01:00
ektrah
4472242f42 Update packaging for .NET Core 2019-12-30 14:51:47 +01:00
ektrah
ba0d7ecb32 Update packaging for .NET Core 2019-12-30 10:36:28 +01:00
ektrah
4c0d766c81 Build NuGet package using GitHub Actions 2019-12-30 10:36:02 +01:00
Frank Denis
b486ae3fc6 config.guess fixups 2019-12-22 11:37:38 +01:00
Frank Denis
b69159b5f8 Define _FORTIFY_SOURCE only on linux-gnu 2019-12-04 23:30:37 +01:00
Frank Denis
46afa6c3a9 Undefine _FORTIFY_SOURCE on MinGW - Required for current MinGW versions 2019-12-04 21:04:39 +01:00
Frank Denis
1d4017df58 Regen 2019-11-11 01:08:03 +01:00
Frank Denis
ad9cb57a4e Use AX_ADD_FORTIFY_SOURCE
Include a workaround for newer versions of MingW
2019-11-11 01:07:05 +01:00
Frank Denis
5c804e1ac8 Better getentropy() usability checks 2019-10-23 18:23:31 +02:00
Frank Denis
bfa866e2f0 Deprecate crypto_core_ed25519_from_hash() 2019-10-13 10:03:48 +02:00
Frank Denis
dbab49d48d Try Lucet as a last option, after wasmer, due to its unstable interface 2019-10-11 17:32:22 +02:00
Frank Denis
e06c260d0e Lucet removed the "fast" optimization level
We may drop Lucet support entirely until the interface gets more stable
2019-10-11 16:36:27 +02:00
Frank Denis
36dcdafca4 Update wasi-sdk 2019-10-11 12:24:58 +02:00