1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//! A Rust implementation of the core [Wamu protocol](https://wamu.tech/specification) for computation of [threshold signatures](https://academy.binance.com/en/articles/threshold-signatures-explained) by multiple [decentralized identities](https://ethereum.org/en/decentralized-identity/).

#![feature(doc_cfg)]

pub use self::{
    errors::{
        CryptoError, Error, IdentityAuthedRequestError, QuorumApprovedRequestError,
        ShareBackupRecoveryError,
    },
    payloads::{
        CommandApprovalPayload, EncryptedShareBackup, IdentityAuthedRequestPayload,
        IdentityRotationChallengeResponsePayload, QuorumApprovedChallengeResponsePayload,
    },
    share::{SecretShare, SigningShare, SubShare},
    traits::IdentityProvider,
};

pub mod crypto;
mod errors;
pub mod identity_authed_request;
pub mod identity_challenge;
pub mod identity_rotation;
mod payloads;
pub mod quorum_approved_request;
mod share;
pub mod share_recovery_backup;
pub mod share_split_reconstruct;
mod traits;
pub mod utils;
pub mod wrappers;

#[cfg(any(test, feature = "dev"))]
#[doc(cfg(feature = "dev"))]
pub mod test_utils;