crypto/crypto/protocol/frost/api/api 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).
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.
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.