* add DKG support
* refactor: call SecretShare::verify() in keygen_part3
* refactor: add generate_secret_polynomial and evaluate_polynomial
* refactor: factor out `evaluate_vss`
* refactor: factor out `compute_verifying_keys`
* fix full vector of coefficients not being returned
* simplify evaluate_polynomial to not receive constant term separately
* delete accidentally comitted .orig file
* Apply suggestions from code review
Co-authored-by: Marek <mail@marek.onl>
* Update frost-core/src/frost/keys.rs
Co-authored-by: Marek <mail@marek.onl>
* fix doc warnings
Co-authored-by: Marek <mail@marek.onl>
* use Identifier instead of index
* remove pub(crate) from the Identifier index
* A comment
* Whitespace for readability
* check for zero in Identifier::to_scalar()
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
* add commit(), use it instead of preprocess()
* use a single scalarmul in compute_group_commitment per v5 spec
* add nonce_generate() from the spec and use it
* remove Order() from Group trait since it's not used
* style: carriage return
* use Secret instead of KeyPackage in some methods
* change commit to take explicit params and not return vectors
* removed unused import
Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
* add support for P-256 curve
* use a fixed-size array for P_256 point encoding (instead of )
* Apply suggestions from code review
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
* frost-p256: remove direct elliptic_curve dependency; use the one from p256
* fix comment in invert()
* frost-p256: rename shorthand alias
* Apply suggestions from code review
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
* improve imports, docs, use expect instead of unwrap
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>