Exposing blake2 compression function

Open
#709 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
cryptography

Research direction

Start with the linked revm entry point, crates/precompile/src/blake2.rs at line 55, and compare that use case with the RustCrypto hashes repository's Blake2 implementation. Clarify the public API and compatibility requirements for exposing the compression function; done means an agreed, documented API with coverage for the intended use case.

Written by the indexing model from the issue text.

Description

Hi,

Would it be in scope to expose the compression function for blake2?

The usecase I have in mind is to replace this particular function: https://github.com/bluealloy/revm/blob/b8396776a9d53e1553c0396c96a14b461cda17ce/crates/precompile/src/blake2.rs#L55

Dominant language
Rust
Stars
2.4k
Forks
364
Avg merge
1d 11h
Merged PRs (30d)
18

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from RustCrypto/hashes

All issues in RustCrypto/hashes

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.