Go to file
Pili Guerra a0eead7f13
Remove `frost-redjubjub` (#246)
Remove frost-redjubjub
2023-02-16 22:44:12 +00:00
.github Improve accuracy of coverage reports 231 (#232) 2023-02-09 23:01:02 +00:00
frost-core Rename derive_lagrange_coefficient to derive_interpolating_value (#224) 2023-02-06 15:51:16 +00:00
frost-ed448 add benchmarks (#205) 2023-01-30 18:48:13 +00:00
frost-ed25519 add benchmarks (#205) 2023-01-30 18:48:13 +00:00
frost-p256 add benchmarks (#205) 2023-01-30 18:48:13 +00:00
frost-rerandomized frost-rerandomized: add aggregate optimization (#214) 2023-02-06 23:49:37 +00:00
frost-ristretto255 add benchmarks (#205) 2023-01-30 18:48:13 +00:00
frost-secp256k1 add benchmarks (#205) 2023-01-30 18:48:13 +00:00
gendoc Rename derive_lagrange_coefficient to derive_interpolating_value (#224) 2023-02-06 15:51:16 +00:00
rfcs add missing checks 2021-06-15 17:10:38 -04:00
.gitignore Ignore .DS_Store 2022-03-08 14:11:41 -05:00
.mergify.yml ci(Mergify): configuration update 2022-06-15 20:13:45 -04:00
CHANGELOG.md Don't reject small-order verification keys (#137) 2021-11-18 15:53:35 -03:00
Cargo.toml Remove `frost-redjubjub` (#246) 2023-02-16 22:44:12 +00:00
LICENCE Frost keygen with dealer (#47) 2021-02-25 09:06:54 -07:00
LICENCE.MIT Frost keygen with dealer (#47) 2021-02-25 09:06:54 -07:00
LICENSE.Apache-2.0 Frost keygen with dealer (#47) 2021-02-25 09:06:54 -07:00
README.md Improve accuracy of coverage reports 231 (#232) 2023-02-09 23:01:02 +00:00
codecov.yml Port frost-ristretto255 to frost-core (#57) 2022-06-17 14:54:54 -04:00
zcash-frost-audit-report-20210323.pdf Remove `frost-redjubjub` (#246) 2023-02-16 22:44:12 +00:00

README.md

FROST (Flexible Round-Optimised Schnorr Threshold signatures)

Rust implementations of 'Two-Round Threshold Schnorr Signatures with FROST'.

Unlike signatures in a single-party setting, threshold signatures require cooperation among a threshold number of signers, each holding a share of a common private key. The security of threshold schemes in general assume that an adversary can corrupt strictly fewer than a threshold number of participants.

'Two-Round Threshold Schnorr Signatures with FROST' presents a variant of a Flexible Round-Optimized Schnorr Threshold (FROST) signature scheme originally defined in FROST20. FROST reduces network overhead during threshold signing operations while employing a novel technique to protect against forgery attacks applicable to prior Schnorr-based threshold signature constructions. This variant of FROST requires two rounds to compute a signature, and implements signing efficiency improvements described by Schnorr21. Single-round signing with FROST is not implemented here.

Status ⚠

The FROST specification is not yet finalized, and this codebase has not yet been audited or released. The APIs and types in frost-core are subject to change.

Usage

frost-core implements the base traits and types in a generic manner, to enable top-level implementations for different ciphersuites / curves without having to implement all of FROST from scratch. End-users should not use frost-core if they want to sign and verify signatures, they should use the crate specific to their ciphersuite/curve parameters that uses frost-core as a dependency.

Pre-commit checks

  1. Run tests cargo test
  2. Run formatter cargo fmt
  3. Check linter cargo clippy and if you want to automatically fix then run cargo clippy --fix

Coverage

Test coverage checks are performed in the pipeline. This is cofigured here: .github/workflows/coverage.yaml To run these locally:

  1. Install coverage tool by running cargo install cargo-llvm-cov
  2. Run cargo llvm-cov --ignore-filename-regex 'tests.rs|benches.rs|gendoc' (you may be asked if you want to install llvm-tools-preview, if so type Y)