Skip to content

Update Rust crate curve25519-dalek to v5#220

Open
projectorigin-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/curve25519-dalek-5.x
Open

Update Rust crate curve25519-dalek to v5#220
projectorigin-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/curve25519-dalek-5.x

Conversation

@projectorigin-renovate

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
curve25519-dalek (source) dependencies major 4.1.25.0.0

Release Notes

dalek-cryptography/curve25519-dalek (curve25519-dalek)

v5.0.0

Breaking Changes
  • Update edition to 2024
  • Update the MSRV from 1.60 to 1.85
  • Remove group-bits feature due to soundness issues with underlying trait (#​909)
  • Re-export rand_core (#​908)
  • Rename Scalar::batch_invert -> Scalar::invert_batch for consistency. Also make it no-alloc. (#​789)
  • Remove deprecated functions FieldElement::as_bytes() and EdwardsPoint::nonspec_map_to_curve() (#​778)
  • Upgrade rand_core dependency to v0.10.0
  • Upgrade digest and sha2 deps
Other Changes
  • Perf: Use maximum available NAF window size in VartimePrecomputedStraus (#​848)
  • Perf: Skip checking 8 candidate points in RistrettoPoint::lizard_decode (#​882)
  • Add Lizard bytes-to-point injection for Ristretto. Gated under lizard feature. (#​826)
  • Add an allocating batch inversion called Scalar::invert_batch_alloc (#​789)
  • Add Scalar::div_by_2 (#​805)
  • Add EdwardsPoint::hash_to_curve (#​786)
  • Undeprecate Scalar::from_bits() (#​780)
  • Use constant-time equality testing for compressed Ristretto and Edwards points, rather than autoderived equality

v4.2.0

NOTE: yanked because hash_to_curve was improperly implemented (#​785)

  • Move AVX-512 backend selection logic to a separate CFG flag that requires nightly
  • Add Elligator2 hashing methods EdwardsPoint::hash_to_curve() and FieldElement::hash_to_field()
  • Deprecate FieldElement::as_bytes in favor of FieldElement::to_bytes
  • Remove deprecated FieldElement::as_bytes
  • Add batch conversion function EdwardsPoint::to_montgomery_batch()
  • Make VartimePrecomputedStraus::optional_mixed_multiscalar_mul() and VartimeRistrettoPrecomputation::vartime_mixed_multiscalar_mul() accept more points than static scalars

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants