Expand description
Setup messages. Each mpc protocol: Keygen, Sign, Quorum change, Key Export in order to bootstrap the nodes need to setup necessary information such as protocol id, participant information, cryptographic keys, and tailored per MPC protocol parameters.
Modules§
- finish
- Setup for Finish PreSignature
- key_
export - Setup for Key export
- keygen
- Setup for DKG
- quorum_
change - Setup for Quorum Change
- sign
- Setup for DSG
Structs§
- AllOther
Parties - An iterator for parties in range 0..total except me.
- ArcSigner
- A wrapper around an
Arc<T>
that implementsSigner
for the inner type. - NoSignature
- A zero-sized type representing an empty signature.
This type is used when no actual signature is needed, but the type system
requires a signature type. It implements
SignatureEncoding
with an empty byte array representation. - NoSigning
Key - A zero-sized type representing a signing key that produces no signatures.
This type is used when no actual signing is needed, but the type system
requires a signing key type. It implements
Signer<NoSignature>
and always returnsNoSignature
when signing. - NoVerifying
Key - A verifying key that always succeeds verification.
This type is used when no actual verification is needed, but the type system
requires a verifying key type. It’s typically used when secure transport is
already in place and message authenticity doesn’t need to be verified.
The inner
Vec<u8>
is used as an identity ID.
Constants§
- ABORT_
MESSAGE_ TAG - Tag of a broadcast message indicating that sender won’t participate in the protocol. The payload of the message contains error code.
- SETUP_
MESSAGE_ TAG - Tag for all setup messages
Traits§
- Final
Sign Setup Message - A setup message for sign::finish()
- KeyExport
Receiver Setup Message - A setup message for a reciever of exported key.
- KeyExporter
Setup Message - A setup message for key export.
- Keygen
Setup Message - A setup message for keygen::run()
- PreSign
Setup Message - A setup message for sign::pre_signature()
- Protocol
Participant - Type that provides a protocol participant details.
- Quorum
Change Setup Message - A setup message for quorum_change::run()
- Sign
Setup Message - A setup message for sign::run()
- Signature
Encoding - Support for decoding/encoding signatures as bytes.
- Signer
- Sign the provided message bytestring using
Self
(e.g. a cryptographic key or connection to an HSM), returning a digital signature. - Verifier
- Verify the provided message bytestring using
Self
(e.g. a public key)