1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00
Commit Graph

4397 Commits

Author SHA1 Message Date
Frank Denis
c2d66aaec9 WASI: remove wasi-sdk dependency; build module with zig 2021-07-19 12:45:33 +02:00
Frank Denis
07c2f6c053 Handle the Sun and the IBM compilers separately 2021-07-09 15:47:40 +02:00
infinitydev
b9b66faddb
Fix build on z/OS using XLC (#1089)
* Fix incorrect XLC #pragma in public header

* Fix incorrect XLC #pragma in internal blake2 header
2021-07-09 15:38:07 +02:00
niooss-ledger
6cd2677d44
Remove unused variable from _sodium_runtime_intel_cpu_features (#1085)
The function `_sodium_runtime_intel_cpu_features` assigns some value to
its local variable `id` but never reads it. Remove this variable, which
also simplifies the `if` statement that contains the assignment.
2021-07-01 10:05:30 +02:00
Frank Denis
6efaa0264a emscripten: EXTRA_EXPORTED_RUNTIME_METHODS -> EXPORTED_RUNTIME_METHODS 2021-06-17 21:58:25 +02:00
Frank Denis
558886fd0e Use assignement + case instead of memcpy() 2021-06-17 20:57:21 +02:00
Christian Brabandt
42f7aff759
fix link to contributing (#1076) 2021-06-16 16:08:16 +02:00
Frank Denis
a2ee77b90a Include private/sse2_64_32.h only where SSE2 is required
Fixes #1074
2021-06-13 21:40:54 +02:00
Frank Denis
4aafe7517a Update msys2 2021-06-13 18:52:15 +02:00
Alcaro
9faa6bb62b
core.c: Make _sodium_crit_init static (#1073) 2021-06-13 18:22:32 +02:00
Frank Denis
7993f5ec51 Format 2021-06-02 21:35:16 +02:00
Alistair Evans
96f70b0c8a
Add multi-plat nuget package testing (#1070)
Build .net binaries targeting the various linux platforms as a self-contained deployment, then use QEMU to run those binaries on the appropriate architecture
2021-06-01 17:58:01 +02:00
Frank Denis
ca638d428a Format 2021-05-26 19:59:11 +02:00
Alistair Evans
6f8362dc87
Adding linux-arm support for the .net build (#1069)
Generate an armhf cross-compile.
2021-05-26 19:58:54 +02:00
Frank Denis
e1186130f7 sync dotnet-core.yml with stable 2021-05-26 19:57:33 +02:00
Frank Denis
d1a5aaecf0 Ubuntu 16.04 has reached EOL and Alpine 3.7 looks really old as well 2021-05-26 16:23:00 +02:00
Frank Denis
cf2766d685 Format 2021-05-26 16:11:25 +02:00
Jordan Frank
7d1aad1797
define randombytes_set_implementation argument to be const (#1068) 2021-05-25 19:25:56 +02:00
Alistair Evans
cdbb5a5a1c
Adds linux-arm64 binary to the generated nuget package (#1067)
Uses cross-compilation to run make; make check uses qemu to execute the tests on virtualised ARM.
2021-05-25 19:25:23 +02:00
Frank Denis
b1873666b4 CI: Ubuntu's autoconf version is old - Try with version 2.69 2021-05-25 19:16:00 +02:00
Frank Denis
6b21ef2f2d Call AC_CANONICAL_TARGET 2021-05-22 12:21:58 +02:00
Frank Denis
63165fd148 wasi-libc exposes getpid() but it doesn't work without emulation 2021-05-22 11:56:52 +02:00
Frank Denis
0e870c5406 Don't define DllMain in static builds 2021-05-22 10:29:00 +02:00
Christoph M. Becker
8b66d2b969
Delete critical section on DLL_PROCESS_DETACH (#1058)
To explicitly release all allocated resources on shutdown on Windows, we delete the critical section on `DLL_PROCESS_DETACH`.

We do not employ any locking to avoid any potential deadlock.  In case of normal
DLL unloading there is no need to, and in case of forced unloading all bets are likely off anyway.
2021-05-22 10:26:13 +02:00
P.I.E. Security Team
710b2d3963
Fix comment in ristretto255_elligator (#1052) 2021-04-21 11:21:58 +02:00
Frank Denis
85e48722a8 Enable crypto extensions on ARMv8 2021-04-08 11:13:40 +02:00
Frank Denis
8a40c424ab COMPILE -> LINK 2021-04-08 11:06:56 +02:00
Frank Denis
6ced025490 Restore compile flag test 2021-04-08 10:55:46 +02:00
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