lowRISC / lowRISC/opentitan

[crypto] Consider adding a new function to create Ed25519 private keys

Open
#29,888 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

Currently, cryptolib only has a function to create a public key from a given private key (otcrypto_ed25519_public_key_from_private()). For consistency reasons (i.e., ECC P256/P384), consider adding a new function that enables us to also create private keys.

Note that the user already can create private keys without this function already.

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

Start by comparing the existing ECC P256/P384 private-key creation APIs with otcrypto_ed25519_public_key_from_private(). Determine the intended Ed25519 private-key API and its consistency requirements; the work is done when the proposed function is defined and validated against the existing cryptolib behavior.

Written by the indexing model from the issue text.

Assessment

Domain
cryptography
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.