teor
0e77df1e40
Fix a missed type
2021-06-15 17:10:38 -04:00
teor
78a5cbade1
Remove the separate MsgCommitments type
2021-06-15 17:10:38 -04:00
teor
8bb106a53d
Name, Doc and Serialization Tweaks, and a Test Plan
2021-06-15 17:10:38 -04:00
teor
b0c5512a71
Fix a typo
2021-06-15 17:10:38 -04:00
Alfredo Garcia
d9aa3bac88
add definitions
2021-06-15 17:10:38 -04:00
Alfredo Garcia
9ba0fe78c1
use some escape characters
2021-06-15 17:10:38 -04:00
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