Commit Graph

197 Commits

Author SHA1 Message Date
Alfredo Garcia 4cc7365331 fix missing field name and type in MsgCommitments serialization 2021-06-15 17:10:38 -04:00
Alfredo Garcia 119e9013e0 split rules in header and payload sub sections 2021-06-15 17:10:38 -04:00
Alfredo Garcia 014dd22f86 add a new validation rules section 2021-06-15 17:10:38 -04:00
Alfredo Garcia 798d0ef7ea update serialization 2021-06-15 17:10:38 -04:00
Alfredo Garcia fc340edc28 add line to AffinePoint description 2021-06-15 17:10:38 -04:00
Alfredo Garcia 6aa6a68297 add a new not included item 2021-06-15 17:10:38 -04:00
Alfredo Garcia e9ca8ee99e update payloads rust code 2021-06-15 17:10:38 -04:00
Alfredo Garcia 8fcbb44908 change Participant to ParticipantID 2021-06-15 17:10:38 -04:00
Alfredo Garcia 4362f20732 fix typo 2021-06-15 17:10:38 -04:00
Alfredo Garcia 2d5ceaf1d7 remove participants field from rust in MsgSigningPackage 2021-06-15 17:10:38 -04:00
Alfredo Garcia de1a1bed37 replace CollectedCommitment with a HashMap 2021-06-15 17:10:38 -04:00
Alfredo Garcia b70e15eefe remove lenght of msg to be signed from rust 2021-06-15 17:10:38 -04:00
Alfredo Garcia fb21e09714 change comments to doc comments 2021-06-15 17:10:38 -04:00
Alfredo Garcia 9a37fcb980 add note about large messages 2021-06-15 17:10:38 -04:00
Alfredo Garcia 5586bd8aaf use to_bytes in primitive types and reduce serialization size 2021-06-15 17:10:38 -04:00
Alfredo Garcia 07d8c06ed6 fix typos 2021-06-15 17:10:38 -04:00
Alfredo Garcia a4d4907867 change other considerations section to not included 2021-06-15 17:10:38 -04:00
Alfredo Garcia 7891c9bb01 add Other considerations section 2021-06-15 17:10:38 -04:00
Alfredo Garcia ce5b4f6eae replace tuples with new types 2021-06-15 17:10:38 -04:00
Alfredo Garcia d03e47acd8 fix closing vector 2021-06-15 17:10:38 -04:00
Alfredo Garcia c2ab37bd1b add size fields in MsgSigningPackage 2021-06-15 17:10:38 -04:00
Alfredo Garcia ef3f066627 byte order note 2021-06-15 17:10:38 -04:00
Alfredo Garcia 400e6d3d48 update validation section 2021-06-15 17:10:38 -04:00
Alfredo Garcia 2b851e654a unpack Signature in MsgFinalSignature 2021-06-15 17:10:38 -04:00
Alfredo Garcia 85629a5bcf unpack VerificationKey 2021-06-15 17:10:38 -04:00
Alfredo Garcia 910991c709 use affinepoint everywhere 2021-06-15 17:10:38 -04:00
Alfredo Garcia 9462d6c93e unpack commitments in MsgDealerBroadcast 2021-06-15 17:10:38 -04:00
Alfredo Garcia 1045353b53 unpack SigningPackage in MsgSigningPackage 2021-06-15 17:10:38 -04:00
Alfredo Garcia 115ed4747c change better name for alias 2021-06-15 17:10:38 -04:00
Alfredo Garcia aceddf1378 add frost:: to frost types, update intro, others 2021-06-15 17:10:38 -04:00
Alfredo Garcia e41d23cb9f join serialization sections, readd `group_public` to initial msg 2021-06-15 17:10:38 -04:00
Alfredo Garcia 70158b9dd5 complete the rest of the messages sizes 2021-06-15 17:10:38 -04:00
Alfredo Garcia f4361a765e start a Serialized Size section 2021-06-15 17:10:38 -04:00
Alfredo Garcia f22f9c1c91 include the receiver side in validation section 2021-06-15 17:10:38 -04:00
Alfredo Garcia 9a596c6b0f update validate section 2021-06-15 17:10:38 -04:00
Alfredo Garcia a9ab401f97 remove non needed fields from MsgDealerBroadcast 2021-06-15 17:10:38 -04:00
Alfredo Garcia 38c11c2761 update MsgSigningPackage and MsgSignatureShare 2021-06-15 17:10:38 -04:00
Alfredo Garcia a26691ead2 update MsgCommitments 2021-06-15 17:10:38 -04:00
Alfredo Garcia 83158786fe remove msg type numbers, fix version msg 2021-06-15 17:10:38 -04:00
Alfredo Garcia 1fd96e4e6f update MsgDealerBroadcast 2021-06-15 17:10:38 -04:00
Alfredo Garcia 9e977b5926 add a messages rfc 2021-06-15 17:10:38 -04:00
Deirdre Connolly ad3d7fcd49 Split out parsing & validation of test VerificationKey from checking of signature
Also use fully secure ChaChaRng with a full seed, not just a u64.

Now that we always generate an extra proper VerificationKey for each
Tweak::ChangePubkey case, this /should/ never fail: it also helps split out the
actual verification of the signature from the parsing and validation of the key
itself.
2021-06-01 06:45:52 -04:00
Alfredo Garcia e2940a465d
Change the type of the identifiers from u8 to u64 (#110)
* Change the type of the identifiers from u8 to u64

* add a TODO

Co-authored-by: Marek <mail@marek.onl>
2021-05-28 09:06:51 -03:00
Alfredo Garcia 0c7a10522d
Add `SignatureResponse` type (#107)
* add a new `FrostSignature` type

* change name to SignatureResponse
2021-05-26 14:49:03 -03:00
Alfredo Garcia c2c581b397 change GroupCommitment to use AffinePoint 2021-05-25 13:00:23 -04:00
Alfredo Garcia 2db8e5908d change Commitment to use AffinePoint 2021-05-25 13:00:23 -04:00
Alfredo Garcia b6a27d3747 allow dead code in `KeyPackage` struct 2021-05-20 16:23:02 -04:00
Alfredo Garcia 11ccf5de37 update byteorder 2021-05-20 16:21:38 -04:00
dependabot[bot] bb5dab84de Bump actions-rs/toolchain from 1 to 1.0.7
Bumps [actions-rs/toolchain](https://github.com/actions-rs/toolchain) from 1 to 1.0.7.
- [Release notes](https://github.com/actions-rs/toolchain/releases)
- [Changelog](https://github.com/actions-rs/toolchain/blob/master/CHANGELOG.md)
- [Commits](https://github.com/actions-rs/toolchain/compare/v1...v1.0.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 16:18:35 -04:00
dependabot[bot] fe19cace5b Bump actions-rs/cargo from 1 to 1.0.3
Bumps [actions-rs/cargo](https://github.com/actions-rs/cargo) from 1 to 1.0.3.
- [Release notes](https://github.com/actions-rs/cargo/releases)
- [Changelog](https://github.com/actions-rs/cargo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/actions-rs/cargo/compare/v1...v1.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 16:18:17 -04:00