sl-messages 1.2.1

Message exchange for MPC protocols
Documentation
// Copyright (c) Silence Laboratories Pte. Ltd. All Rights Reserved.
// This software is licensed under the Silence Laboratories License Agreement.

use std::{marker::PhantomData, sync::Arc, time::Duration};

use signature::{SignatureEncoding, Signer, Verifier};
use x25519_dalek::{PublicKey, ReusableSecret};

use crate::{
    message::InstanceId,
    setup::{
        self,
        keys::{NoSignature, NoSigningKey, NoVerifyingKey},
        ProtocolParticipant,
    },
};

const DEFAULT_TTL: u64 = 100; // smaller timeout might fail tests

/// Setup message for key exporter
pub mod exporter;

/// Setup message for key export receiver
pub mod receiver;