Expand description
This module defines all the constants used throughout the DKG protocol, including message tags, labels for cryptographic operations, and protocol-specific identifiers. These constants ensure consistent message handling and cryptographic operations across all protocol participants.
Constantsยง
- COMMITMENT_
1_ LABEL - Label used for the first commitment in the protocol. This commitment is used to ensure participants are bound to their initial values.
- COMMITMENT_
2_ LABEL - Label used for the second commitment in the protocol. This commitment is used to ensure participants are bound to their final values.
- DKG_
LABEL - Label used for the key generation protocol. This label is used to derive protocol-specific keys and nonces.
- DKG_
MSG_ APP - First available message tag for user applications.
- DKG_
MSG_ OT1 - Message tag for the first round of oblivious transfer in the DKG protocol. This message is sent peer-to-peer between participants.
- DKG_
MSG_ R1 - Message tag for the first round of the DKG protocol. This message contains initial commitments and setup information.
- DKG_
MSG_ R2 - Message tag for the second round of the DKG protocol. This message contains responses to the initial commitments.
- DKG_
MSG_ R3 - Message tag for the third round of the DKG protocol. This message contains final commitments and proofs.
- DKG_
MSG_ R4 - Message tag for the fourth round of the DKG protocol. This message contains the final key shares and verification information.
- DKG_
RECONCILE - Message tag used to communicate the final result of a keyshare creation or update operation. This message is sent after all protocol rounds are complete.
- DLOG_
PROO F1_ LABEL - Label used for the first discrete logarithm proof. This proof ensures the validity of certain cryptographic operations.
- DLOG_
PROO F2_ LABEL - Label used for the second discrete logarithm proof. This proof ensures the validity of certain cryptographic operations.
- DLOG_
SESSION_ ID_ WITH_ CHAIN_ CODE - Label used to create a discrete logarithm session ID from the final session ID and root chain code. This is used to ensure proper session management and key derivation.
- QC_
COMMITMENT_ 1_ LABEL - Label used for the first commitment in the quorum change protocol. This commitment is used to ensure participants are bound to their initial values.
- QC_
COMMITMENT_ 2_ LABEL - Label used for the second commitment in the quorum change protocol. This commitment is used to ensure participants are bound to their final values.
- QC_
LABEL - Label used for the quorum change protocol. This label is used to derive protocol-specific keys and nonces for quorum changes.
- QC_
MSG_ OT1 - Message tag for the first oblivious transfer message in the quorum change protocol. This message is used for secure information exchange.
- QC_
MSG_ OT2 - Message tag for the second oblivious transfer message in the quorum change protocol. This message is used for secure information exchange.
- QC_
MSG_ P2P_ 1 - Message tag for the first peer-to-peer message in the quorum change protocol. This message is sent directly between participants.
- QC_
MSG_ P2P_ 2 - Message tag for the second peer-to-peer message in the quorum change protocol. This message is sent directly between participants.
- QC_
MSG_ R0 - Message tag for the initial round of the quorum change protocol. This message contains the request to change the quorum.
- QC_
MSG_ R1 - Message tag for the first round of the quorum change protocol. This message contains initial commitments for the quorum change.
- QC_
MSG_ R2 - Message tag for the second round of the quorum change protocol. This message contains responses to the quorum change commitments.