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

4369 Commits

Author SHA1 Message Date
Frank Denis
cd1bd8f1b3 Update some autoconf macros 2021-04-08 10:51:50 +02:00
Frank Denis
731f7c0d95 Add Android builds to CI 2021-04-08 10:44:25 +02:00
Frank Denis
6d566070b4 Add some more base64 decoding tests 2021-03-20 00:08:20 +01:00
Frank Denis
0d7c5bec06 Autoconf updates 2021-03-16 19:30:52 +01:00
Frank Denis
ea15384f9b Proper check for the check-globals script 2021-03-15 12:04:23 +01:00
Frank Denis
c93662b27c Add AEGIS128L test, regen the ones for AEGIS256, sort 2021-03-15 11:00:18 +01:00
harl
144e6e3161
Fix MAC computation in AEGIS128L on aarch64 2021-03-15 10:24:48 +01:00
martingd
3de0b3cdad
Error from argon2_hash() during verify propagated. (#1039) 2021-03-12 18:01:08 +01:00
Frank Denis
421212fe42 Add LLVM, move lucet down 2021-03-10 18:49:13 +01:00
Frank Denis
57d950a54e apt-get update may be required on workflows 2021-03-01 12:50:21 +01:00
Frank Denis
71f91b2f6e Update msys2 2021-02-28 21:06:19 +01:00
Tobias Nießen
2082e038fd
test: fix two error messages (#1034) 2021-02-24 23:55:18 +01:00
Frank Denis
55bb5af253 wasm bench: make lucet performance significantly better
By default, lucetc generates code with explicit bound checking,
even though the runtime has guard pages.

Elision only happens with --reserved-size=4GiB
2021-02-24 21:50:12 +01:00
Frank Denis
28e6cc1a95 Remove unused hash2.exp 2021-02-21 00:53:18 +01:00
Frank Denis
9039eea1e3 Add support for Node without wasmer-js 2021-02-20 21:26:23 +01:00
Frank Denis
cd5252328f WASM benchmarks: add lucet and WAMR, update wasmtime & wasmer 2021-02-19 23:13:10 +01:00
Frank Denis
af6366efc3 Braces 2021-02-13 12:10:38 +01:00
Frank Denis
f01675fcf2 Fix alignment after #1032 2021-02-12 17:15:00 +01:00
Tobias Nießen
219e74cc98
src: improve a few comments (#1032) 2021-02-12 17:13:22 +01:00
Frank Denis
758db56bf6 Only run test-globals if it exists 2021-02-07 14:00:51 +01:00
Frank Denis
4020f76a5f Put <meta> tag outside <style>
Fixes https://github.com/jedisct1/libsodium.js/pull/267
2021-02-07 13:58:23 +01:00
Simon Wachter
12f03c310f
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:27:36 +01:00
Baptiste Jonglez
e8900988a8 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:30 +01:00
Frank Denis
e4206f1337 Change crypto_core_ed25519_from_string() to accept a hash function 2021-01-24 19:21:07 +01:00
Frank Denis
e0629769d3 Move the H2C string->hash functions to their own files 2021-01-24 18:45:14 +01:00
Frank Denis
83ad278a28 Add GitHub Actions badge 2021-01-23 22:36:05 +01:00
Frank Denis
b1ed64613a Enable GitHub Actions 2021-01-23 22:32:17 +01:00
Frank Denis
a424d6026d Update global symbols 2021-01-23 22:32:09 +01:00
Frank Denis
4bed9dfe6b Farewell, Travis
"Builds have been temporarily disabled for public repositories due to a
negative credit balance"
2021-01-23 21:48:48 +01:00
Frank Denis
5ff2b1a0e7 Allow arbitrary long string-to-H2C-hash operations
Make the ristretto and edwards25519 string to hash code lookalike.
2021-01-23 21:41:20 +01:00
Frank Denis
41e6cb3368 Use SHA-256 for the hash-to-ristretto255 operation
We may eventually revert to SHA-512
2021-01-23 19:00:05 +01:00
Frank Denis
89916bbe11 Explicit 2021-01-07 19:54:07 +01:00
Frank Denis
ad65e5dc3e Update msys2 2021-01-05 20:30:24 +01:00
Frank Denis
fa66f4b6ed 2021 2021-01-01 00:02:37 +01:00
Frank Denis
899c3a62b2 CentOS doesn't exist any more 2020-12-10 23:16:32 +01:00
Frank Denis
c4a6c6b8bf CodeQL: remove git checkout HEAD^2 2020-12-10 23:16:31 +01:00
Frank Denis
eb38ff4a85 Sort 2020-12-10 22:22:38 +01:00
Frank Denis
611e1a0bc1 Typo (risretto -> ristretto)
Fixes #1014
2020-12-10 22:17:06 +01:00
Frank Denis
a5e2122177 Make the text logo slightly more readable in dark mode 2020-12-08 23:16:26 +01:00
Frank Denis
45bca21a95 Detect ARM features with elf_aux_info on FreeBSD >= 12.0
by @devnexen, thanks!

Fixes #1012
2020-12-04 15:34:27 +01:00
Frank Denis
761c1b34cd Reorganize ARM features detection 2020-12-04 15:27:32 +01:00
Frank Denis
7af3ed9237 wasm-ld doesn't support --no-threads any more 2020-12-03 17:32:15 +01:00
Frank Denis
5e262eeb8f Bump wasi-sdk version 2020-12-03 17:32:13 +01:00
Frank Denis
4aa74923d2 pwhash never supported "in-place" operation - return EINVAL 2020-11-24 22:50:15 +01:00
Frank Denis
dbbd8c6bb9 Update msys2-base 2020-11-13 21:48:41 +01:00
Frank Denis
ec552621cb apple-xcframework: add bitcode support to all emulators 2020-11-10 16:59:57 +01:00
David CARLIER
d250858c74
DragonFlyBSD supports getrandom too since 5.7 2020-11-08 15:58:29 +01:00
Frank Denis
3f1df65173 MSYS2's CI repository is no more 2020-11-04 19:29:33 +01:00
ektrah
e8f3c89847
Pack the NuGet package with .NET 5.0 (#1009)
* Update libsodium.pkgproj

* Update dotnet-core.yml
2020-11-04 17:03:28 +01:00
Frank Denis
b302c8e8e1 secretbox_xchacha: don't do useless rounds for the first block 2020-10-29 18:39:40 +01:00