#threshold-signature #schnorr-signature #schnorr #signature #signature-scheme #threshold

no-std frost-core

Types and traits to support implementing Flexible Round-Optimized Schnorr Threshold signature schemes (FROST)

10 releases (1 stable)

2.0.0-rc.0 Jun 20, 2024
1.0.0 Feb 19, 2024
1.0.0-rc.0 Nov 17, 2023
0.7.0 Sep 13, 2023
0.1.0 Mar 9, 2023

#134 in Cryptography

Download history 542/week @ 2024-03-15 805/week @ 2024-03-22 531/week @ 2024-03-29 1217/week @ 2024-04-05 932/week @ 2024-04-12 710/week @ 2024-04-19 745/week @ 2024-04-26 582/week @ 2024-05-03 554/week @ 2024-05-10 565/week @ 2024-05-17 802/week @ 2024-05-24 1190/week @ 2024-05-31 1133/week @ 2024-06-07 1519/week @ 2024-06-14 1674/week @ 2024-06-21 1206/week @ 2024-06-28

5,740 downloads per month
Used in 11 crates (9 directly)

MIT/Apache

245KB
4.5K SLoC

FROST (Flexible Round-Optimised Schnorr Threshold signatures) Core

Base traits and types in Rust that implement 'Two-Round Threshold Schnorr Signatures with FROST' generically for Ciphersuite implementations.

For key generation, refer to the keys module. For round-specific types and functions, refer to the round1 and round2 modules. This module contains types and functions not directly related to key generation and the FROST rounds.

Status ⚠

The FROST specification is not yet finalized, though no significant changes are expected at this point. This code base has been audited by NCC. The APIs and types in frost-core are subject to change during the release candidate phase, and will follow SemVer guarantees after 1.0.0.

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, such as frost_ristretto255.

Example

See ciphersuite-specific crates, e.g. frost_ristretto255.

Dependencies

~1–12MB
~131K SLoC