corona_general

package
v1.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package corona_general declares the M-Chain general-purpose Corona (Ring-LWE) threshold protocol surface.

This is **not** consensus-Corona. Consensus uses Corona at fixed parameters as the post-quantum cert lane (Q-Chain runs that ceremony, see LP-073). General-purpose Corona is for app-level threshold signing under a different parameter set; it lives on M-Chain.

Interface-only; implementation in chains/mchain/protocol/corona/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	Round1(ctx context.Context, ceremony types.CeremonyID) ([]byte, error)
	Round2(ctx context.Context, ceremony types.CeremonyID, round1 [][]byte) ([]byte, error)
	Finalize(ctx context.Context, ceremony types.CeremonyID, round2 [][]byte) (types.Proof, error)
}

Driver runs the 2-round lattice protocol for a selected participant.

type Verifier

type Verifier interface {
	VerifyShare(subject [32]byte, share types.Share, payload []byte) error
	VerifyFinal(subject [32]byte, proof types.Proof) error
}

Verifier validates Corona-general share payloads. Registered as the LaneMChainCoronaGen verifier in the M-Chain LaneRegistry.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL