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

3953 Commits

Author SHA1 Message Date
Frank Denis
afaf3aa1d8 Braces 2021-02-13 12:10:21 +01:00
Frank Denis
e3da8b137f Merge branch 'stable' of github.com:jedisct1/libsodium into stable
* 'stable' of github.com:jedisct1/libsodium:
  Only run test-globals if it exists
  Put <meta> tag outside <style>
  fix for asm.js async loading
2021-02-12 17:19:46 +01:00
Frank Denis
9e625a0b2a Fix typos in comments
Backport from #1032
2021-02-12 17:19:07 +01:00
Frank Denis
c9608ed004 Only run test-globals if it exists 2021-02-07 14:01:08 +01:00
Frank Denis
a1e944cbc6 Put <meta> tag outside <style>
Fixes https://github.com/jedisct1/libsodium.js/pull/267
2021-02-07 13:57:31 +01:00
Ryan Lester
403da0d1fc fix for asm.js async loading 2021-01-29 21:36:13 +01:00
Simon Wachter
d5115e26c8 emscripten: build with NODEJS_CATCH_REJECTION=0 (#1025)
This stops emscripten from adding a `unhandledRejection` handler on the global `process` object that forcefully exits the process.

This allows fixing jedisct1/emscripten.js#253 because we no longer need to remove these listeners to compensate after the fact.
2021-01-28 16:32:11 +01:00
Frank Denis
0b443453ac Update config.* 2021-01-27 14:02:31 +01:00
Baptiste Jonglez
661e7e6373 Make sure config.sub and config.guess are executable (#1024)
* Make sure config.sub and config.guess are executable

This fixes Spack build on ppc64 and aarch64, see https://github.com/spack/spack/pull/21256

* Move config files after setting their mode

Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>
2021-01-27 14:01:53 +01:00
Frank Denis
d510af81d0 Enable GitHub Actions 2021-01-23 22:38:14 +01:00
Frank Denis
bac58b27ca Farewell, Travis
"Builds have been temporarily disabled for public repositories due to a
negative credit balance"
2021-01-23 21:50:29 +01:00
Frank Denis
8ca7dce67c Update config.guess 2021-01-20 09:00:23 +01:00
Frank Denis
d1580db1b3 Update msys2 2021-01-06 17:05:05 +01:00
Frank Denis
8acd22717f Year++ 2021-01-01 00:02:24 +01:00
Frank Denis
bfcfa87f2d Recognize linux/loongarch 2020-12-24 02:10:17 +01:00
Frank Denis
a08a945c58 CentOS doesn't exist any more 2020-12-10 23:20:21 +01:00
Frank Denis
fad8d55cf6 CodeQL: remove git checkout HEAD^2 2020-12-10 23:20:16 +01:00
Frank Denis
bfcaf544bf Add thumbv7* CPUs 2020-12-10 22:23:43 +01:00
Frank Denis
16a0bdcffb Make the text logo slightly more readable in dark mode 2020-12-08 23:18:07 +01:00
Frank Denis
3a832c1be7 Bump wasi-sdk version 2020-12-03 17:31:45 +01:00
Frank Denis
da41915f37 wasm-ld doesn't support --no-threads any more 2020-12-03 17:28:54 +01:00
Frank Denis
04b44a4df4 Automake update 2020-11-24 22:55:50 +01:00
Frank Denis
df83ed9235 pwhash never supported "in-place" operation - return EINVAL 2020-11-24 22:53:16 +01:00
Frank Denis
96c65593bc Autoconf regen 2020-11-20 22:59:37 +01:00
Frank Denis
cc08e9d4bb Update msys2-base 2020-11-13 21:49:00 +01:00
Frank Denis
22758fb362 apple-xcframework: add bitcode support to all emulators 2020-11-10 16:59:37 +01:00
David CARLIER
9e2f4d0ba8 DragonFlyBSD supports getrandom too since 5.7 2020-11-08 16:06:39 +01:00
Frank Denis
1e39e51595 MSYS2's CI repository is no more 2020-11-04 19:29:23 +01:00
ektrah
dd6eef6825 Pack the NuGet package with .NET 5.0 (#1009)
* Update libsodium.pkgproj

* Update dotnet-core.yml
2020-11-04 19:29:16 +01:00
Frank Denis
ce9a25f164 Update config.guess 2020-11-04 19:29:07 +01:00
Frank Denis
442a23342f Build the watchOS simulators with bitcode 2020-10-21 17:00:59 +02:00
Frank Denis
53cdaa4f51 Update config.sub 2020-10-13 16:22:46 +02:00
Frank Denis
3e10dcd813 emscripten: RUNNING_JS_OPTS has been removed in recent versions 2020-10-13 16:19:49 +02:00
Dan Browne
f5a4cc6337 Add tvOS support for Apple XCFramework generation. 2020-10-13 16:19:45 +02:00
Tim Gates
ddce81d103 docs: fix simple typo, interoperatibility -> interoperability (#1002)
There is a small typo in src/libsodium/include/sodium/crypto_hash.h, src/libsodium/include/sodium/crypto_hash_sha256.h, src/libsodium/include/sodium/crypto_hash_sha512.h.

Should read `interoperability` rather than `interoperatibility`.
2020-10-12 11:51:50 +02:00
Frank Denis
6cf5e97bf6 Remove unused variable in tests
Fixes #998
2020-09-29 11:05:45 +02:00
Frank Denis
a95ec8a1d5 Include arm64 simulators 2020-09-21 03:12:42 +02:00
Frank Denis
0d3a991504 Shared libraries may not be buildable for Catalyst 2020-09-21 00:27:18 +02:00
Frank Denis
502de10d96 config.guess/sub update 2020-09-20 15:15:33 +02:00
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