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

3964 Commits

Author SHA1 Message Date
Frank Denis
f5f8efbc81 comment 2020-08-16 11:41:54 +02:00
Frank Denis
3b9cbcf60d argon2 - copy raw hash after possible encoding, not before
(irrelevant in libsodium)
2020-08-16 11:39:31 +02:00
Frank Denis
4a75300b45 Validate argon2 lanes before memory cost 2020-08-16 11:39:26 +02:00
Frank Denis
1510197621 Check if the compiler supports the arm64-macos target
instead of checking that this is what the host is running.

Xcode 12 may be able to compile for Apple Silicon even on Intel
platforms already.
2020-08-06 16:02:36 +02:00
Frank Denis
13b6bf4000 Bring Catalyst support back, properly forcing cross-compilation 2020-08-06 15:48:02 +02:00
Frank Denis
124605f3ae Remove support for Catalyst 2020-08-05 18:17:08 +02:00
Frank Denis
cd8b616764 xcframework: also compile for macOS, rename to apple-xcframework.sh 2020-08-05 17:46:37 +02:00
Frank Denis
01189398e4 OSX -> MACOS 2020-08-05 17:44:28 +02:00
Frank Denis
899149f988 Shorten 2020-08-05 16:34:53 +02:00
Frank Denis
d37afd6015 WASI: Put the stack before globals
See https://github.com/ziglang/zig/issues/4496
2020-07-28 15:07:20 +02:00
Frank Denis
58ec9cc35b Import dist-build/ios-xcframework.s 2020-07-23 20:48:34 +02:00
Frank Denis
03b5d011a4 Update config.* to support Apple Silicon 2020-07-23 20:27:08 +02:00
Ryan
2b5f8f2b68
s/eabi/eabi*/g in configure scripts to support eabihf (#977) 2020-07-03 11:45:52 +02:00
Frank Denis
ecbe5316dd Disable PIE/PIC/SP/async-unwind on eabi 2020-06-30 07:43:28 +02:00
Frank Denis
a43c3a6f11 config.guess, config.sub update 2020-06-28 20:58:35 +02:00
Frank Denis
9b024b50b1 box_seal test: don't check empty messages
Fixes #974
2020-06-22 18:31:46 +02:00
Frank Denis
d9027a2693 Use autogen.sh -s in lgtm 2020-06-18 19:37:46 +02:00
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