Frank Denis
ee6f457225
argon2 - copy raw hash after possible encoding, not before
...
(irrelevant in libsodium)
2020-08-16 11:35:08 +02:00
Frank Denis
bc3b6a4694
Validate argon2 lanes before memory cost
2020-08-16 11:31:20 +02:00
Frank Denis
e919f86257
Comments
2020-08-15 13:51:04 +02:00
Frank Denis
b2d94a6da1
Cleaner ladder
2020-08-15 13:50:49 +02:00
Frank Denis
679f448d38
Indent
2020-08-14 08:37:39 +02:00
Frank Denis
d8c67b7f45
Clarify
2020-08-14 08:33:20 +02:00
Frank Denis
547f5b1130
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 15:59:58 +02:00
Frank Denis
882f1be006
Bring Catalyst support back, properly forcing cross-compilation
2020-08-06 15:47:10 +02:00
Frank Denis
0a213f7a93
Revert "Remove support for Catalyst"
...
This reverts commit a530849511
.
2020-08-06 15:29:22 +02:00
Frank Denis
a530849511
Remove support for Catalyst
2020-08-05 18:17:26 +02:00
Frank Denis
d8fbab4f85
xcframework: also compile for macOS, rename to apple-xcframework.sh
2020-08-05 17:42:38 +02:00
Frank Denis
68b64b6ab8
OSX -> MACOS
2020-08-05 17:34:44 +02:00
Frank Denis
c02379fe8e
Shorten
2020-08-05 16:34:30 +02:00
Frank Denis
1f5f71b015
Simplify 128<->64 bit casts
2020-08-02 19:59:22 +02:00
Thomas M. DuBuisson
d83adfdf5c
Add a muse configuration ( #987 )
...
Add a muse configuration
2020-08-01 17:16:09 +02:00
Frank Denis
7e9095bcc5
WASI: Put the stack before globals
...
See https://github.com/ziglang/zig/issues/4496
2020-07-28 15:06:04 +02:00
Frank Denis
e60ac864bc
ios-xcframework: build for iOS/watchOS on all platforms
...
Xcode 12 beta 3 now includes the required SDKs.
2020-07-23 20:08:13 +02:00
Frank Denis
906004be2b
Update dist-build/Makefile.am after ios.sh renaming
2020-07-23 17:40:06 +02:00
Frank Denis
f8eb6ef24b
Rename ios.sh to ios-xcframework.sh so that the latter can go to stable
2020-07-23 16:18:54 +02:00
Frank Denis
6388063c85
ios.sh: build the XCFramework in a single pass
...
Via @Westacular @svdo
Fixes #985
2020-07-21 14:14:08 +02:00
Frank Denis
d1d777532f
ios.sh: don't build Catalyst/arm64 on x86_64 hosts for now
...
Fixes #980
2020-07-05 01:40:52 +02:00
Frank Denis
21d93b944a
osx.sh -> macos.sh
2020-07-04 15:48:56 +02:00
Frank Denis
9340fbebe7
Format
2020-07-04 15:32:13 +02:00
Frank Denis
27f4134785
Add support for Catalyst on Apple Silicon
...
Of course, we should do feature detection instead of system detection,
but future Xcode 12 versions are probably going to bring things on par.
2020-07-03 22:44:43 +02:00
Frank Denis
a0bee2a883
Remove ios-xcframework.sh and watchos.sh; consolidate ios.sh
2020-07-03 21:29:59 +02:00
Frank Denis
2aae747916
Move global definitions up
2020-07-03 19:47:13 +02:00
Frank Denis
c5d1c546c6
Reduce the differences between ios.sh and ios-xcframework.sh
2020-07-03 19:44:01 +02:00
Alexander Mindov
13e0eb4972
added iOS xcframework build script ( #979 )
...
Co-authored-by: Philip M. Sneed <38544113+0xacdc@users.noreply.github.com>
2020-07-03 18:10:00 +02:00
Ryan
4f4d69c5ad
s/eabi/eabi*/g in configure scripts to support eabihf ( #977 )
2020-07-03 11:48:06 +02:00
Frank Denis
e04088d0b2
Disable PIE/PIC/SP/async-unwind on eabi
2020-07-01 23:34:34 +02:00
Frank Denis
d8f512bfaa
box_seal test: don't check empty messages
...
Fixes #974
2020-07-01 23:34:34 +02:00
Frank Denis
290197ba3e
Add comments on wrong alignment
2020-07-01 23:32:43 +02:00
Frank Denis
e87df50575
Improve arm64 & arm crypto detection
...
Do not rely on host_cpu, but on the __aarch64__ symbol.
Also, ARM macs don't need -march=armv8-a+crypto; crypto extensions are
enabled by default. So try without this explicit target first (required
for Raspberry Pi), and then with the target only if necessary.
2020-07-01 18:34:06 +02:00
Frank Denis
13214d18c6
Recognize the arm + apple combo as aarch64
2020-07-01 15:33:52 +02:00
Frank Denis
7b67cd1b32
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Language Improvements (#972 )
2020-06-28 20:54:54 +02:00
P.I.E. Security Team
4744636721
Language Improvements ( #972 )
...
* Language Improvements
https://github.com/paragonie/sodium_compat/pull/121
* Update ed25519_ref10.c
2020-06-18 19:40:04 +02:00
Frank Denis
9de81502a5
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Faster Jacobi symbol computation
Add CodeQL scan
Add CodeQL scan
2020-06-18 19:37:23 +02:00
Frank Denis
4c46af59fc
Use autogen.sh -s in lgtm
2020-06-18 19:36:31 +02:00
Frank Denis
6497abb4bc
Faster Jacobi symbol computation
...
From 261sq/11m down to 253sq/11m.
Also rename confusing was_square.
2020-06-15 09:25:22 +02:00
Frank Denis
8b70853c8d
Add CodeQL scan
2020-06-11 10:22:10 +02:00
Frank Denis
15c6462e60
Add CodeQL scan
2020-06-11 10:17:50 +02:00
Greg Hazel
c6506e6441
android-build.sh: exit with return code 1 if the NDK is not present
2020-06-06 09:36:57 +02:00
Frank Denis
6499766fb6
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Don't even include signal.h on WASI
Use unsigned long long for opslimit
2020-06-04 16:00:29 +02:00
Frank Denis
4e9e110031
No need to save %rdi
2020-06-04 16:00:16 +02:00
Frank Denis
a8fa837aac
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:54:53 +02:00
Frank Denis
0cb4db084f
Use unsigned long long for opslimit
...
Fixes #966
2020-06-03 17:36:07 +02:00
Frank Denis
039da3af81
Typo
2020-06-02 16:57:08 +02:00
Frank Denis
1fae7383ce
Update H2C test vectors
2020-06-02 16:45:51 +02:00
Frank Denis
3c49e89c19
Add memory clobber
...
Fixes #965
2020-05-30 23:21:17 +02:00
Frank Denis
8360706c21
Don't add linker flags with the emscripten target
2020-05-26 17:50:19 +02:00