Page MenuHomeSolus

Update libsodium to 1.0.17
ClosedPublic

Authored by kyrios123 on Jan 12 2019, 12:31 PM.
Tags
None
Referenced Files
F11065633: D5047.diff
Fri, Aug 11, 5:09 PM
F11018102: D5047.diff
Sun, Aug 6, 9:18 AM
F10917570: D5047.id12312.diff
Jul 8 2023, 5:55 PM
F10846981: D5047.id12396.diff
Jun 11 2023, 8:28 AM
F10846055: D5047.id12312.diff
Jun 11 2023, 3:30 AM
F10827078: D5047.diff
Jun 4 2023, 4:27 AM
F10774638: D5047.id12396.diff
May 22 2023, 8:31 AM
F10767281: D5047.id12312.diff
May 19 2023, 11:06 PM
Subscribers

Details

Summary
  • Bug fix: sodium_pad() didn't properly support block sizes >= 256 bytes.
  • JS/WebAssembly: some old iOS versions can't instantiate the WebAssembly module; fall back to Javascript on these.
  • JS/WebAssembly: compatibility with newer Emscripten versions.
  • Bug fix: crypto_pwhash_scryptsalsa208sha256_str_verify() and crypto_pwhash_scryptsalsa208sha256_str_needs_rehash() didn't return EINVAL on input strings with a short length, unlike their high-level counterpart.
  • Added a workaround for Visual Studio 2010 bug causing CPU features not to be detected.
  • Portability improvements.
  • Test vectors from Project Wycheproof have been added.
  • New low-level APIs for arithmetic mod the order of the prime order group: crypto_core_ed25519_scalar_random(), crypto_core_ed25519_scalar_reduce(), crypto_core_ed25519_scalar_invert(), crypto_core_ed25519_scalar_negate(), crypto_core_ed25519_scalar_complement(), crypto_core_ed25519_scalar_add() and crypto_core_ed25519_scalar_sub().
  • New low-level APIs for scalar multiplication without clamping: crypto_scalarmult_ed25519_base_noclamp() and crypto_scalarmult_ed25519_noclamp(). These new APIs are especially useful for blinding.
  • sodium_sub() has been implemented.
  • The nonnull attribute has been added to all relevant prototypes.
  • More reliable AVX512 detection.
  • Javascript/Webassembly builds now use dynamic memory growth.

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan

Successfully build keepassx aginst this package

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Jan 16 2019, 12:29 PM
This revision was automatically updated to reflect the committed changes.