Draft: Crypto: introduce ML DSA keys and signature
What
This MR is draft until the placeholders regarding ML-DSA keys are replaced.
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.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the
Reviewersfield below. -
Select as
Assigneethe next person who should take action on that MR
Edited by Albin Coquereau