serai-dex / serai

Other
252 stars 46 forks source link

FROST tests should offer a series of tests for verifying algorithms/machines #9

Open kayabaNerve opened 2 years ago

kayabaNerve commented 2 years ago

These would range from Curve tests which would verify canonical functions are appropriately canonical (as possible) to algorithm tests which would verify signature share validation works as expected.

kayabaNerve commented 2 years ago

There are basic curve tests (successful key gen, serialization/parsing of keys), Schnorr tests (Schnorr sign/verify/batch verify, and FROST Schnorr sign, with and without offset), and the option to specify vectors (meant for testing against the IRTF draft, with P-256 and Ed25519 having successful definitions). There should still be more tests for the curve itself, along with for algorithms, yet this moves forward a bit.

kayabaNerve commented 1 year ago

Closed under the new ff-group-tests crate.

kayabaNerve commented 1 year ago

Re-opening due to "algorithms/machines."