lowRISC / lowRISC/opentitan

[crypto] secp256k1 not supported

Open
#27,709 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

SW:cryptolib
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

Description

The current ECC implementations for 256b ECC supports NIST P-256. secp256k1 ist not supported and uses different curve domain parameters a, b, field modulus p and base point. The ECC operations are currently tailored to P-256 parameters. Supporting secp256k1 would require extensive rework.

Contributor guide

Open the contributing guide

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

No files or tests are named. Start by locating the current ECC implementation and its P-256 domain parameters, then compare the required secp256k1 parameters described in the issue. Done means the ECC operations support secp256k1 as well as P-256, with appropriate validation and tests.

Written by the indexing model from the issue text.

Assessment

Domain
cryptography
Issue type
Feature
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.