How silence-laboratories/silent-shard-dkls23-ll works
Main Components
a) Core Library Layer (dkls23-ll):
• DKG (Distributed Key Generation) Module
• DSG (Distributed Signature Generation) Module
• Pairs Module
• Utils Module
• Error Handling Module
b) WASM Wrapper Layer:
• This as an intermediate layer above the core library
• Following components:
• Key Generation Interface
• Key Share Management
• Signing Interface
• Error Handling
• Message Processing
c) Protocol Implementation Layer:
• Cryptographic protocols:
• DKLs23 Protocol Implementation
• Endemic OT Protocol
• SoftSpokenOT Protocol
• Proactive Security Mechanism
Component Relationships
• Protocol implementation interactions with both core and wrapper layers
Specific Elements
a) Process Flows:
• Key Generation Flow (2-out-of-2 and 2-out-of-3 variants)
• Signature Generation Flow
• Presignature Computation Flow
• Key Rotation/Refresh Flow
b) Security Boundaries:
• Trust boundaries between parties
• Secure communication channels
• Threshold boundaries
Technical Details to Emphasize
• Rust native components (Core Library)
• WebAssembly components (Wrapper)
• External interfaces
• Cryptographic operations
• Message passing mechanisms
Implementation Notes
Annotations for:
• State management
• Message validation requirements
• Single-use presignature warning
• Network security considerations (marked as external responsibility)
Additional Elements
Callouts for:
• Supported party configurations (2-out-of-2, 2-out-of-3)
• Security properties (UC secure, threshold properties)
• Critical dependencies
• State management requirements
[Application Layer (WASM Interface)]
• ↕
[Protocol Implementation Layer]
• ↕
[Core Cryptographic Layer]
• Rectangles: Core components
• Hexagons: Protocol implementations
• Circles: Communication points
• Diamonds: Decision points
• Blue: Core cryptographic operations
• Green: Secure channels
• Yellow: Warning points (like single-use presignatures)
• Red: Security boundaries