serai/crypto/frost
Luke Parker 7a05466049
3.6.2 Test nonce generation
There's two ways which this could be tested.

1) Preprocess not taking in an arbitrary RNG item, yet the relevant bytes

This would be an unsafe level of refactoring, in my opinion.

2) Test random_nonce and test the passed in RNG eventually ends up at
random_nonce.

This takes the latter route, both verifying random_nonce meets the vectors
and that the FROST machine calls random_nonce properly.
2023-02-28 21:02:12 -05:00
..
src 3.6.2 Test nonce generation 2023-02-28 21:02:12 -05:00
Cargo.toml Move verify_share to return batch-verifiable statements 2022-12-13 20:31:00 -05:00
LICENSE Rename sign folder to crypto 2022-05-03 00:46:50 -04:00
README.md Create a dedicated crate for the DKG (#141) 2022-10-29 03:54:42 -05:00

Modular FROST

A modular implementation of FROST for any curve with a ff/group API. Additionally, custom algorithms may be specified so any signature reducible to Schnorr-like may be used with FROST.

A Schnorr algorithm is provided, of the form (R, s) where s = r + cx, which allows specifying the challenge format. This is intended to easily allow integrating with existing systems.

This library offers ciphersuites compatible with the IETF draft. Currently, version 11 is supported.