Rust implementation of FROST (Flexible Round-Optimised Schnorr Threshold signatures) by the Zcash Foundation https://frost.zfnd.org
  • Rust 97.7%
  • CSS 1.6%
  • Python 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-01-06 14:10:45 +00:00
.github ci: test with latest versions of dependencies (#961) 2025-12-09 10:35:08 +00:00
book book: make it clear that auth channel is not needed for signing (#953) 2025-12-22 13:42:16 +00:00
frost-core Implement ZeroizeOnDrop for SigningNonces (#987) 2026-01-06 14:10:45 +00:00
frost-ed448 fix function name and ciphersuite refresh modules (#922) 2025-12-22 14:26:29 +00:00
frost-ed25519 fix function name and ciphersuite refresh modules (#922) 2025-12-22 14:26:29 +00:00
frost-p256 fix function name and ciphersuite refresh modules (#922) 2025-12-22 14:26:29 +00:00
frost-rerandomized fix function name and ciphersuite refresh modules (#922) 2025-12-22 14:26:29 +00:00
frost-ristretto255 fix function name and ciphersuite refresh modules (#922) 2025-12-22 14:26:29 +00:00
frost-secp256k1 fix function name and ciphersuite refresh modules (#922) 2025-12-22 14:26:29 +00:00
frost-secp256k1-tr fix function name and ciphersuite refresh modules (#922) 2025-12-22 14:26:29 +00:00
gencode core: bind traits to Send + Sync (#946) 2025-12-22 14:07:15 +00:00
.gitignore ci: commit Cargo.lock, update crypto-common to avoid generic-array deprecation warning (#939) 2025-11-27 18:31:07 -03:00
.mergify.yml ci(mergify): upgrade configuration to current format (#934) 2025-12-08 14:50:53 +00:00
Cargo.lock update debugless-unwrap (#962) 2025-12-22 17:05:50 +00:00
Cargo.toml update debugless-unwrap (#962) 2025-12-22 17:05:50 +00:00
codecov.yml Refactor test folders (#366) 2023-05-31 21:23:29 +00:00
CONTRIBUTING.md Add CONTRIBUTING.md (#902) 2025-06-12 13:17:51 +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
performance.md docs: add warning about secp256k1; clean up READMEs (#954) 2025-12-22 13:37:45 +00:00
plot.py chore: fix some comments (#682) 2024-06-19 08:39:51 +00:00
README.md docs: add warning about secp256k1; clean up READMEs (#954) 2025-12-22 13:37:45 +00:00
times-by-ciphersuite-and-function-10.png Benchmark plot script (#356) 2023-06-01 14:37:59 -04:00
times-by-ciphersuite-and-function-100.png Benchmark plot script (#356) 2023-06-01 14:37:59 -04:00
times-by-ciphersuite-and-function-1000.png Benchmark plot script (#356) 2023-06-01 14:37:59 -04:00
times-by-size-and-function-ristretto255-aggregated.png Benchmark plot script (#356) 2023-06-01 14:37:59 -04:00
times-by-size-and-function-ristretto255-all-shares.png Benchmark plot script (#356) 2023-06-01 14:37:59 -04:00
verify-aggregated-vs-all-shares-10.png Benchmark plot script (#356) 2023-06-01 14:37:59 -04:00
verify-aggregated-vs-all-shares-100.png Benchmark plot script (#356) 2023-06-01 14:37:59 -04:00
verify-aggregated-vs-all-shares-1000.png Benchmark plot script (#356) 2023-06-01 14:37:59 -04:00
zcash-frost-audit-report-20210323.pdf Remove frost-redjubjub (#246) 2023-02-16 22:44:12 +00:00

ZF FROST (Flexible Round-Optimised Schnorr Threshold signatures)

CI

Crate Crates.io Documentation
Generic FROST implementation [frost-core] crates.io Documentation
Ristretto255 ciphersuite [frost-ristretto255] crates.io Documentation
Ed25519 ciphersuite [frost-ed25519] crates.io Documentation
Ed448 ciphersuite [frost-ed448] crates.io Documentation
P-256 ciphersuite [frost-p256] crates.io Documentation
secp256k1 ciphersuite [frost-secp256k1] crates.io Documentation
secp256k1 ciphersuite (Taproot) [frost-secp256k1-tr] crates.io Documentation
Generic Re-randomized FROST [frost-rerandomized] crates.io Documentation

Rust implementations of 'RFC 9591: 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.

Besides FROST itself, this repository also provides:

Getting Started

If you're not familiar with FROST, first read Understanding FROST.

Then read the Tutorial, and use the Rust docs as reference.

Status

The crates are considered stable and feature complete, though eventual API cleanups and additional functionality might be included in future releases.

This code base has been partially audited by NCC, see below for details. The APIs and types in the crates contained in this repository follow SemVer guarantees.

NCC Audit

NCC performed an audit of the v0.6.0 release (corresponding to commit 5fa17ed) of the following crates:

  • frost-core
  • frost-ed25519
  • frost-ed448
  • frost-p256
  • frost-secp256k1
  • frost-ristretto255

This includes key generation (both trusted dealer and DKG) and FROST signing. This does not include frost-secp256k1-tr and rerandomized FROST.

The parts of the Ed448-Goldilocks dependency that are used by frost-ed448 were also in scope, namely the elliptic curve operations.

All issues identified in the audit were addressed by us and reviewed by NCC.

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 just sign and verify signatures for a specific ciphersuite; they should use the crate specific to their ciphersuite/curve parameters that uses frost-core as a dependency.