Add rust/mithril based test vectors to the haskell bls sig implementation

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
haskell, rust
Domain
cryptography

Research direction

Start with cardano-crypto-class/src/Cardano/Crypto/EllipticCurve/BLS12_381/Internal.hs and cardano-crypto-tests/src/Test/Crypto/EllipticCurve.hs, then inspect the existing Rust test-vector code in cardano-base. Compare the Haskell bindings and tests with the BLST Rust bindings and add vectors covering the relevant operations. Done means the tests establish whether the Haskell implementation is compatible with the Rust side.

Written by the indexing model from the issue text.

Description

Given these bindings and these tests, which follow the BLST rust bindings here, it would be good to add to the cardano-base code rust based test vectors (like we did for bls pairing checks here).

The main question to be answered is if the Haskell implementation is compatible with the Rust side. This can be achieved by adding Rust code to the already existing Rust test vector code in cardano-base.

Note that mithril depends directly on the blst rust bindings and for a description on the singature generation/verification and proof of possessions (PoP), see this issue.

@curiecrypt and @damrobi

Dominant language
Haskell
Stars
2
Forks
13
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from IntersectMBO/kes-agent

All issues in IntersectMBO/kes-agent

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.