RustCrypto / RustCrypto/hashes

jh: remove dependency on `ppv-lite86`

Open
#546 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
Rust
Stars
2.3k
Forks
340
Avg merge
12h 31m
Merged PRs (30d)
2

Description

Depending on ppv-lite86 by default makes it harder to support no_std and zeroize. Ideally we should rewrite the compressor using arch intrinsics and cpufeatures.

It also worth to implement the SerializableState trait for consistency with other crates.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the jh compressor and its ppv-lite86 dependency, then review how the compressor currently handles architecture-specific operations. Check the cpufeatures and no_std considerations described in the issue, along with the existing SerializableState implementations in related crates. Done means removing the default ppv-lite86 dependency, supporting the stated no_std and zeroize goals, and implementing SerializableState for jh.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cryptography
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.