* frost-core Cargo.toml
* Ciphersuite trait
* Signature trait
* Copy stub ristretto impl for now
* First stab at making signing and verifying generic over frost-core::Ciphersuite
* Update signing
* Nice const generics and stuff for frost-core::Ciphersuite
* Have to implement traits for the pre-parameterized types inside the module
* Ciphersuite::Group::Field
* Make frost/keys generic over Ciphersuite
* frost-core genericization mostly done, modulo batch
* Move tests around
* Remove internal test module
* Lots of tidies, including type refinement of Scalar, Challenge
* More genericization and tidy'ing
* Test vectors working against Ristretto impl in the frost-core integration tests
* clippy fix
* Fix generic params for full frost example integration test using ristretto
* Genericize proptests
* clippy --fix
* Doc comment identifier module
* In-flight batch and multiscalar mul
* Stop using Scalar::from_hash() as it expects impl Digest which sha2 0.10+ isn't doing anymore
* run cargo udeps
* Update frost-core/src/frost/round1.rs
* Update frost-core/src/frost.rs
* Update frost-core/src/frost/keys.rs
Generate the group commitment from all round one signing commitments as part
of aggregate(). Only re-derive a commitment share from the signing share
as part of signing share verification, just before aggregate.
* WIP
* Using H1/H2/H3 per spec, the verification still fails with Verificationkey
* Use FROST spec hashes, update all challenge generations to be DRY
Make clippy happy, etc
* DRY up generate_challenge
Also rename all methods to be generate_ instead of gen_
* start messages and validation
* add missing docs to constants
* change validation to matches, fix constant doc
Co-authored-by: teor <teor@riseup.net>
* fix the build
* validate share_commitment
* add new constants and validations
* fix validation
* derive serde Serialize and Deserialize in all messages structs
* update created structs
Co-authored-by: teor <teor@riseup.net>
* fix build
* define and use a new MAX_SIGNERS constant
* change group_public type
* add some test cases
* add validation and serialization tests for SigningCommitments
* add validation and serialization test to SigningPackage
* change some fields order matching the spec
* fix field order in tests according to last updates to the spec
* implement serialize and deserialize for ParticipantId
* move serde-json to dev-dependencies section
* change to pub(crate)
* fix serialize of VerificationKey
* add assert to serialize
* add note, fix typo
* improve some code in tests
* test serialization of individual fields
* start messages and validation
* add missing docs to constants
* change validation to matches, fix constant doc
Co-authored-by: teor <teor@riseup.net>
* fix the build
* validate share_commitment
* add new constants and validations
* fix validation
* define and use a new MAX_SIGNERS constant
* change group_public type
* change some fields order matching the spec
* change message fields to new spec
* remove some non needed conversions
* use a BTreeMap to guarantee the order
* remove some calls to `clone()` by implementing `Copy`
* change message type in frost and add validate_signatureshare test
* change `share_commitment` to BTreeMap
* add `serialize_signatureshare` test
* add aggregatesignature tests
* add some test header messages utility functions
* add a setup utility
* move the general serialization checks into an utility function
* fi some typos
* add and use a `generate_share_commitment` utility
* add create_signing_commitments utility function
* improve the serialization tests
* make room for prop tests
* add arbitrary tests for serialization
* remove allow dead code from messages
* fix some imports
* make signature module public only to the crate
* simplify a bit the frost tests
* improve the generated docs
* add a `prop_filter` to Header arbitrary
* (ab)use proptest_derive
* improve validation for Message
* improve some utility functions
* change frost to serialization id conversion
* add a quick btreemap test
* change the `MsgType` to `u32`
* add no leftover bytes checks
* add a full_setup utility
* add map len checks
Co-authored-by: teor <teor@riseup.net>