Commit Graph

3 Commits

Author SHA1 Message Date
Adolf Belka
db9698c9cc libsodium: Update to version 1.0.20
- Update from version 1.0.19 to 1.0.20
- Update of rootfile
- Changelog
    1.0.20
	This point release includes all the changes from 1.0.19-stable,
	 mainly addressing compilation issues and improvements to the .NET
	 packages.
	* Version 1.0.19-stable
	 - Building with `zig build` now requires Zig 0.12.
	 - When using the traditional build system, -O3 is used instead of -Ofast.
	 - Improved detection of the compiler flags required on aarch64.
	 - Improved compatibility with custom build systems on aarch64.
	 - apple-xcframework: VisionOS packages are not built if Xcode doesn't
	   include that SDK.
	 - `crypto_kdf_hkdf_sha512_statebytes()` was added.
	 - When using Visual Studio, runtime CPU feature detection is now enabled
	   on Windows/aarch64.
	 - There were issues with C++ guards affecting usage of libsodium
	   using Swift on Windows. This has been fixed.
	 - Emscripten: `crypto_aead_aegis*()` functions are now exported in
	   JavaScript builds
	 - Emscripten: unsupported `--memory-init-file` option has been removed.
	 - apple-xcframework: the minimal deployment target can be set to iOS 11+.
	 - .NET packages now include precompiled libraries for Windows/arm64,
	   iOS, TvOS and Catalyst.
	 - .NET precompiled libraries now work on any CPUs, using only runtime
	   feature detection.
	 - SYSV assembly should not be used when targeting Windows (reported by
	   @meiyese, thanks!)
	 - Compatibility issues with LLVM 18 and AVX512 have been addressed.
	 - GitHub attestation build provenance are now added to NuGet packages.
	 - JavaScript tests can now use Bun as an alternative to Node.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-13 09:09:07 +00:00
Adolf Belka
42f6ff94eb libsodium: Update to version 1.0.19
- Update from version 1.0.18 to 1.0.19
- Update of rootfile
- sobump so find-dependencies run. Identified dnsdist and shairport-sync to be shipped.
- Changelog
    1.0.19
	 - New AEADs: AEGIS-128L and AEGIS-256 are now available in the
	   `crypto_aead_aegis128l_*()` and `crypto_aead_aegis256_*()` namespaces.
	   AEGIS is a family of authenticated ciphers for high-performance applications,
	   leveraging hardware AES acceleration on `x86_64` and `aarch64`. In addition
	   to performance, AEGIS ciphers have unique properties making them easier and
	   safer to use than AES-GCM. They can also be used as high-performance MACs.
	 - The HKDF key derivation mechanism, required by many standard protocols, is
	   now available in the `crypto_kdf_hkdf_*()` namespace. It is implemented for
	   the SHA-256 and SHA-512 hash functions.
	 - The `osx.sh` build script was renamed to `macos.sh`.
	 - Support for android-mips was removed.
    1.0.18-stable
	 - Visual Studio: support for Windows/ARM64 builds has been added.
	 - Visual Studio: AVX512 implementations are enabled on supported CPUs.
	 - Visual Studio: an MSVC 2022 solution was added.
	 - Apple XCFramework: support for VisionOS was added.
	 - Apple XCFranework: support for Catalyst was added.
	 - Apple XCFramework: building the simulators is now optional.
	 - iOS: bitcode is not generated any more, as it was deprecated by Apple.
	 - watchOS: support for arm64 was added.
	 - The Zig toolchain can now be used as a modern build system to replace
	   autoconf/automake/libtool/make/ccache and the compiler. This enables faster
	   compilation times, easier cross compilation, and static libraries optimized
	   for any CPU.
	 - The Zig toolchain is now the recommended way to compile `libsodium`
	   to WebAssembly/WASI(X).
	 - libsodium can now be added as a dependency to Zig projects.
	 - Memory fences were added to remove some gadgets that could be used
	   alongside speculative loads.
	 - The AES-GCM implementation was completely rewritten. It is now faster,
	   and also available on aarch64, including Windows/ARM64.
	 - Compatibility with CET instrumentation / IBT / Shadow Stack was added.
	 - Emscripten: the `crypto_pwhash_*()` functions have been removed from Sumo
	   builds, as they reserve a substantial amount of JavaScript memory, even when
	   not used.
	 - Benchmarks now use `CLOCK_MONOTONIC` if possible.
	 - WebAssembly: tests can now run using Bun, WasmEdge, Wazero, wasm3 and
	   wasmer-js. Support for WAVM and Lucet have been removed, as these projects
	   have reached EOL.
	 - .NET: the minimum supported macOS version is now 1.0.15; this matches
	   Microsoft guidelines.
	 - .NET: all the packages are now built using Zig, on all platforms. This
	   allows us to easily match Microsoft's requirements, including supported glibc
	   versions. However, on x86_64, targets are expected to support at least the
	   AVX instruction set.
	 - .NET: packages for ARM64 are now available.
	 - C23 `memset_explicit()` is now used, when available.
	 - Compilation now uses `-Ofast` or `-O3` instead of `-O2` by default.
	 - Portability improvements to help compile libsodium to modern game consoles.
	 - JavaScript: a default `unhandledRejection` handler is not set any more.
	 - Slightly faster 25519 operations.
	 - OpenBSD: leverage `MAP_CONCEAL`.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2023-11-22 21:35:32 +00:00
Michael Tremer
3efa7be901 libsodium: New package
Sodium is a new, easy-to-use software library for encryption,
decryption, signatures, password hashing and more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-08-10 10:44:31 +00:00