Page MenuHomeSolus

Update libsodium to 1.0.18 and build against modern toolchain
ClosedPublic

Authored by Jacalz on May 23 2020, 1:33 PM.
Tags
None
Referenced Files
F11065632: D8930.diff
Fri, Aug 11, 5:09 PM
F11019534: D8930.id21599.diff
Sun, Aug 6, 8:58 PM
F10982045: D8930.id.diff
Sun, Jul 23, 9:13 AM
F10887850: D8930.id21599.diff
Jun 26 2023, 5:28 PM
F10886736: D8930.id21506.diff
Jun 26 2023, 2:29 AM
F10883015: D8930.diff
Jun 23 2023, 10:53 PM
F10750230: D8930.diff
May 16 2023, 6:55 AM
Subscribers

Details

Summary

Package Changes:

  • Enable assembly compilation to be able to use processor specific implementations (docs says that this should only be disabled when building for WebAssembly and we are not doing that).

Summarized Changelog:

  • Generic hashing got a 10% speedup on AVX2.
  • New functions to map a hash to an edwards25519 point or get a random point: core_ed25519_from_hash() and core_ed25519_random().
  • crypto_core_ed25519_scalar_mul() has been implemented for scalar*scalar (mod L) multiplication.
  • Support for the Ristretto group has been implemented for interoperability with wasm-crypto.
  • Portability improvements have been made.
  • getentropy() is now used on systems providing this system call.
  • randombytes_salsa20 has been renamed to randombytes_internal.
  • Support for NativeClient has been removed.
  • Most ((nonnull)) attributes have been relaxed to allow 0-length inputs to be NULL.
  • The -ftree-vectorize and -ftree-slp-vectorize compiler switches are now used, if available, for optimized builds.
Test Plan
  • Use keepassx to create a new database, store some data and then decrypt it again (using this version of libsodium for cryptography).

Diff Detail

Repository
R1852 libsodium
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage