RustCrypto / RustCrypto/crypto-bigint

Evaluate HACL-rs bignums

Open
#584 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
309
Forks
95
Avg merge
1d 14h
Merged PRs (30d)
3

Description

From https://github.com/RustCrypto/crypto-bigint/issues/577#issuecomment-2016550215:

HACL* extracted as pure safe Rust (dubbed "HACL-rs") lives here: https://github.com/hacl-star/hacl-star/tree/afromher_rs/dist/rs

In there, you'll find bignums in src/hacl:

  • bignum.rs, bignum64.rs: variable-length, 32 and 64-bit versions (scattered across these two files, this needs to be done better)
  • bignum{4096,256}.rs: fixed-length, 32-bit limbs
  • bignum{4096,256}_64.rs: fixed-length, 64-bit limbs

cc @protz @spitters

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 reading the HACL-rs bignum implementations in src/hacl, especially bignum.rs, bignum64.rs, bignum4096.rs, bignum256.rs, and their 64-bit variants. Compare their scope and organization with this library, then establish what should be evaluated or integrated; the issue does not define a completion criterion.

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
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.