[go: up one dir, main page]

Draft: Crypto: introduce ML DSA keys and signature

What

This MR is draft until the placeholders regarding ML-DSA keys are replaced.

On top of !20181 and !20257

Why

Because we want Tezos to be able to use ML-DSA-44 keys

How

Add a new crypto signature module Mldsa44 that for now use placeholders sk and pk (bytes).

Base58 prefixes have been produced with poetry run python b58_prefix.py --prefix mdsig --length 2420 --maximal_base58_size 5000 from scripts/b58_prefix

Manually testing the MR

Mostly typing MR. Some tests have been added regarding prefix checks and should be green.

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Albin Coquereau

Merge request reports

Loading