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

4376 Commits

Author SHA1 Message Date
Frank Denis
beec06eb46 Revert "RFC9381 ECVRF implementation (#1188)"
This reverts commit 7978205916.
2024-09-25 21:37:31 +02:00
Frank Denis
101610670a Remove empty line 2024-09-18 12:40:45 +02:00
Frank Denis
a8255da9df Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Add support for Android's new 16K page sizes (#1407)
2024-09-18 12:39:34 +02:00
Frank Denis
8e245590d8 Remove unused variables 2024-09-18 12:39:21 +02:00
Saud Khan
d2694fc37d
Add support for Android's new 16K page sizes (#1407) 2024-09-11 16:04:43 +02:00
mschwarzl
1012bbc380
Support for Cloudflare Workers for javascript_stir (#1401)
* Support for Cloudflare Workers for javascript_stir

* Ramove debugging comment

---------

Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>
2024-08-13 21:40:10 +02:00
Frank Denis
01379fe68c Disable ssp on Solaris where people may use old toolchains 2024-08-11 15:06:04 +02:00
Frank Denis
6edcd85169 Add another optblocker 2024-08-01 14:32:16 +02:00
Frank Denis
92611e300d Start introducing optblockers to prevent unwanted conditional jumps 2024-08-01 14:25:32 +02:00
Frank Denis
8c54312a62 Remove aarch64_32 2024-08-01 14:16:25 +02:00
Frank Denis
633f922791 Indent 2024-08-01 13:56:57 +02:00
SeungHwan Hur
e1861bb935
help MSVC optimize ROL/ROR functions (#1392) 2024-08-01 13:55:04 +02:00
Frank Denis
563ec3d3e5 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Regen dist-build/emscripten.sh
2024-07-11 09:23:03 +02:00
Frank Denis
e7802e6a9e Warn if we find VLAs 2024-07-11 09:21:37 +02:00
Frank Denis
0c1ea8aa4d Regen dist-build/emscripten.sh 2024-07-08 18:29:09 +02:00
Frank Denis
f92e5ae836 Fix flaky non-deterministic box_seal tests
With very small messages, there's a significant probability that the
ciphertext is identical to the message.

Fixes #1388
2024-06-30 21:11:49 +02:00
Frank Denis
65420794cf Add .zig-cache to .gitignore 2024-06-23 13:21:53 +02:00
Frank Denis
4a15ab7cd0 fe25519_{abs,cneg} require a single argument
They were always used with the same input and output pointers,
so their definition can be simplified.

Fixes #1376
2024-05-30 16:06:56 +02:00
Frank Denis
704e97fdf5 Proper zeroization in hkdf
Fixes #1375
2024-05-30 15:56:54 +02:00
Iñigo Querejeta Azurmendi
7978205916
RFC9381 ECVRF implementation (#1188)
* Version 12 of ECVRF

* Incorrect ordering of function inputs

* Identation and notation

* single multiscalar multiplication function

Also changed the style of tests, where the expected output is in vrf.exp rather than in test data (following the style of the hashing).

* declarations inside the if code block

* identation of test_data

* Rename to RFC9381

* Move declarations to top of block

* Check small order over deserialised PK

* Include from_string functions in ed25519_ref10

* Update quirks.h

---------

Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>
2024-05-25 18:55:14 +02:00
Frank Denis
43173b8354 Update ChangeLog 2024-05-25 14:37:41 +02:00
Frank Denis
0a44f6b1f5 Add forgotten distribution files 2024-05-25 14:15:07 +02:00
Frank Denis
a67325c42c AEGIS: improve performance of AD absorption on x86_64
No apparent regression on other platforms.

Adapted from libaegis.
2024-05-25 00:41:08 +02:00
Frank Denis
193cab86d3 constcheck: include Homebrew paths by default 2024-05-24 13:16:54 +02:00
Frank Denis
f00e05cde5 Add quotes 2024-05-24 12:48:16 +02:00
Frank Denis
73dce539ed Update ChangeLog 2024-05-23 15:56:38 +02:00
Frank Denis
90c1229b05 Undefine HAVE_{AMD64,AVX}_ASM with the Windows calling convention
Fixes #1371
2024-05-23 15:48:56 +02:00
Frank Denis
7858b58b35 emscripten: create JS-only builds 2024-05-23 15:42:35 +02:00
Frank Denis
9703516a5e Try running the JavaScript tests with Bun before Node 2024-05-20 21:37:16 +02:00
Frank Denis
9c0c1f709e Revert "Avoid 128-bit arithmetic when on WebAssembly targets"
This reverts commit 74781400dc.
2024-05-19 16:31:02 +02:00
Frank Denis
c9c34fb31f Always add -enable-sign-ext to the wasm-opt command-line
At least LLVM 18 seems to emit these instructions by default.
2024-05-19 13:04:29 +02:00
Frank Denis
b582d20ab4 WASI: disable PIE. PIE doesn't work with WASI. 2024-05-19 11:22:21 +02:00
Frank Denis
6e27e98777 Remove CI test for x86-linux 2024-05-09 22:31:49 +02:00
Frank Denis
4ad956470f Explicitly enabling evex512 is now required with LLVM 18 2024-05-09 22:27:45 +02:00
Frank Denis
2f003eead5 Replace .{ .path= ...} with b.path() 2024-05-09 21:28:34 +02:00
Frank Denis
f927de1702 Update msys2 to version 20240507 2024-05-07 14:14:53 +02:00
Frank Denis
113781628b Add GitHub attestation build provenance for NuGet packages 2024-05-02 23:28:10 +02:00
Frank Denis
a904cb8aad .NET: update minimal supported versions to .NET 8 2024-04-29 11:38:24 +02:00
Frank Denis
36bf6ce89c Exclude shared libraries on WebAssembly 2024-04-29 00:18:31 +02:00
Frank Denis
44b1e9da87 .NET: ship .so files for linux-musl 2024-04-28 23:07:16 +02:00
Frank Denis
15eb13283b Don't skip shared libraries for musl, but do it for android 2024-04-28 22:51:20 +02:00
Frank Denis
d0eec97024 Update {download,upload}-artifact GitHub actions
Keep download-artifact@v3 only for ancient Linux distros still supported
by .NET
2024-04-28 16:50:05 +02:00
Frank Denis
2e8edcd939 Update ChangeLog 2024-04-28 15:50:54 +02:00
Frank Denis
08fa6d1de6 .NET: add ios/tvos/catalyst 2024-04-28 14:29:02 +02:00
Frank Denis
9336e0ef06 Azure Pipelines: fix MSYS64 download URL 2024-04-27 23:47:52 +02:00
Frank Denis
55329daeb8 Update ChangeLog 2024-04-27 23:43:01 +02:00
Frank Denis
80aca14c8d Simplify build of .NET pakages, including Windows/arm64 2024-04-27 23:13:39 +02:00
Frank Denis
da0ce565d2 Use clang pragmas to enable features rather than depend on compiler settings 2024-04-27 23:05:38 +02:00
Frank Denis
c9a92ea41a Update zig action; musl builds are static 2024-04-27 00:54:11 +02:00
Frank Denis
fae180b7ab Revert "Zig build: enable CPU-specific flags only on relevant files"
This reverts commit 9b369db0d5.
2024-04-27 00:51:20 +02:00