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
Frank Denis
d3f165405f
Revert "Try changing the target for every lib"
...
This reverts commit 45ee1c31b8
.
2024-04-27 00:51:10 +02:00
Frank Denis
be7c9c2f51
Revert "Do not install CPU-specific libs"
...
This reverts commit e6b1f1c9f2
.
2024-04-27 00:50:57 +02:00
Frank Denis
ef17ae3923
Test compilation on x86-linux and x86-windows
2024-04-26 15:34:22 +02:00
Frank Denis
e6b1f1c9f2
Do not install CPU-specific libs
2024-04-26 15:26:09 +02:00
Frank Denis
45ee1c31b8
Try changing the target for every lib
2024-04-26 15:21:10 +02:00
Frank Denis
9b369db0d5
Zig build: enable CPU-specific flags only on relevant files
...
Fixes https://github.com/jedisct1/libsodium/discussions/1358
2024-04-26 13:50:49 +02:00
Frank Denis
edb94a99a6
Remove redundant definition
2024-04-26 13:50:40 +02:00
Frank Denis
74781400dc
Avoid 128-bit arithmetic when on WebAssembly targets
...
See https://github.com/WebAssembly/tool-conventions/pull/223#issuecomment-2052101191
2024-04-12 19:19:48 +02:00
Frank Denis
f8ca998c52
Update for zig-current
2024-04-08 21:16:26 +02:00
Frank Denis
b7b1d027cc
Avoid quote
2024-04-08 18:59:30 +02:00
Frank Denis
07ccd8d8ae
Revert "Improve Debian package"
...
This reverts commit a2c75d7f29
.
2024-04-02 08:22:57 +02:00
Frank Denis
a2c75d7f29
Improve Debian package
2024-04-01 15:01:52 +02:00
Frank Denis
055a54655a
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Fixed xcframework build for iOS 11 and later (#1361 )
2024-03-25 17:18:39 +01:00
Nikita Savko
8806992b1b
Fixed xcframework build for iOS 11 and later ( #1361 )
...
* Fixed inability to create xcframework with minimal iOS deployment target newer than iOS 10.x
* Set OS_VERSION_MIN as default value for OS_SIMULATOR_VERSION_MIN
2024-03-25 17:15:38 +01:00
Frank Denis
810abf2d9b
Emscripten: --memory-init-file is not supported any more
2024-03-24 13:10:45 +01:00
Frank Denis
e08d3e59e1
Emscripten: export crypto_aead_aegis* in standard builds
2024-03-24 10:44:55 +01:00
Frank Denis
5fc2aff012
Update checkout action to v4
2024-03-03 23:19:34 +01:00