crypto/crypto/protocol/frost/frost library

Classes

DartFrostApi
FrostApi backed by this package's pure-Dart engines (FrostSecp256k1 / FrostEd25519) — the MuSig2 precedent (DartMuSig2Api delegates to MuSig2).
FrostApi
RFC 9591 FROST signing surface (both ciphersuites).
FrostCommitment
One participant's entry in the commitment list: identifier + raw hiding/binding commitment points (33 bytes secp256k1, 32 bytes Ed25519; mirrors BuFrostCommitment).
FrostDealerShard
Trusted-dealer shard output: per-participant share records plus the full polynomial coefficients (32 bytes each, secret first; mirrors BuFrostShard).
FrostEd25519
FROST(Ed25519, SHA-512) — RFC 9591 Section 6.1.
FrostEngine<P, S>
Shared interface of the pure-Dart FROST engines (FrostSecp256k1 / FrostEd25519, RFC 9591 Sections 4-5 plus Appendix C) — the MuSig2 precedent (MuSig2Context behind DartMuSig2Api).
FrostEngineCommitment<P>
One participant's entry in the commitment list (RFC 9591 Section 4.3), shared by both engine suites. id is a plain 1-based u32-range participant counter (wire order + sorting need ordering, which field types deliberately lack); scalar values use S.
FrostEngineHex
Hex helpers for test vectors (hex-encoded values).
FrostEngineNonces<P, S>
One participant's nonce pair + public commitments (RFC 9591 Section 5.1), shared by both engine suites (P is the point type, S the scalar type: Secp256k1Fr on secp256k1, Ed25519Fr on Ed25519).
FrostEngineShare<S>
Shamir share for one participant (RFC 9591 Appendix C.1), shared by both engine suites (S is the suite scalar type).
FrostGroupInfo
Group info output: group key + member public keys, in id order (1..=max).
FrostKeyShare
One FROST key share: 1-based participant identifier (u32, mirrors BuFrostShare) + 32-byte secret scalar.
FrostNoncePair
Round-1 nonce output: hiding/binding scalars (32 bytes each) plus their commitments as raw point bytes (mirrors BuFrostNonces).
FrostReshare
Threshold-reshare output: fresh per-participant shares as one concatenated blob (n x 32-byte scalars, ids order) + member public keys (n elements) + group key.
FrostSecp256k1
FROST(secp256k1, SHA-256) — RFC 9591 Section 6.5.
FrostThresholdSignature
Final FROST threshold signature (R, z): R as raw point bytes (33 bytes secp256k1, 32 bytes Ed25519) + 32-byte scalar (mirrors BuFrostSignature).
NativeFrostApi
FrostApi backed by a native (FFI/platform) implementation.