mirror of
https://github.com/luxfi/corona.git
synced 2026-09-24 00:25:54 +00:00
corona: rename module path github.com/luxfi/pulsar → github.com/luxfi/corona
Repo forks from luxfi/pulsar (R-LWE production threshold for Lux consensus) to luxfi/corona under the family rename. Same Ring-LWE code, same hash family (Pulsar-SHA3 / Pulsar-BLAKE3 -- wire-format customization tags stay stable per MED-2). Only the Go module path and internal imports change. Lux family alignment: - Pulsar = M-LWE / FIPS 204 / NIST MPTC N1 (was luxfi/pulsar-m) - Corona = R-LWE / NIST MPTC S1 (this repo) - Corona = academic upstream + Lux DKG expansions
This commit is contained in:
+3
-3
@@ -2,8 +2,8 @@
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package cli provides the "rt" (corona) subcommand for the lux CLI.
|
||||
// It wires directly to the github.com/luxfi/pulsar/threshold and
|
||||
// github.com/luxfi/pulsar/dkg packages.
|
||||
// It wires directly to the github.com/luxfi/corona/threshold and
|
||||
// github.com/luxfi/corona/dkg packages.
|
||||
package cli
|
||||
|
||||
import (
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/luxfi/pulsar/threshold"
|
||||
"github.com/luxfi/corona/threshold"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ import (
|
||||
"path/filepath"
|
||||
"sort"
|
||||
|
||||
"github.com/luxfi/pulsar/reshare"
|
||||
"github.com/luxfi/corona/reshare"
|
||||
)
|
||||
|
||||
type CommitEntry struct {
|
||||
|
||||
@@ -32,10 +32,10 @@ import (
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
pulsarhash "github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
pulsarhash "github.com/luxfi/corona/hash"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
"github.com/luxfi/corona/sign"
|
||||
"github.com/luxfi/corona/utils"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/zeebo/blake3"
|
||||
)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause-Eco
|
||||
//
|
||||
// dkg2_oracle — emits byte-equal KATs for the Pedersen-style DKG protocol
|
||||
// in github.com/luxfi/pulsar/dkg2.
|
||||
// in github.com/luxfi/corona/dkg2.
|
||||
//
|
||||
// For each (t, n) configuration in the catalogue, the oracle:
|
||||
//
|
||||
@@ -50,8 +50,8 @@ import (
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
|
||||
"github.com/luxfi/pulsar/dkg2"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/corona/dkg2"
|
||||
"github.com/luxfi/corona/sign"
|
||||
"github.com/zeebo/blake3"
|
||||
)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause-Eco
|
||||
//
|
||||
// dkg_oracle — emits byte-equal KATs for the Feldman VSS-based DKG protocol
|
||||
// in github.com/luxfi/pulsar/dkg.
|
||||
// in github.com/luxfi/corona/dkg.
|
||||
//
|
||||
// For each (t, n) configuration in the catalogue, the oracle:
|
||||
//
|
||||
@@ -45,8 +45,8 @@ import (
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
"github.com/luxfi/pulsar/dkg"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/corona/dkg"
|
||||
"github.com/luxfi/corona/sign"
|
||||
"github.com/zeebo/blake3"
|
||||
)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause-Eco
|
||||
//
|
||||
// reshare_oracle — emits byte-equal KATs for the proactive secret-resharing
|
||||
// protocol implemented in github.com/luxfi/pulsar/reshare. The C++ port at
|
||||
// protocol implemented in github.com/luxfi/corona/reshare. The C++ port at
|
||||
// ~/work/luxcpp/crypto/pulsar/reshare/ replays each entry's seeds and must
|
||||
// produce share bytes whose SHA-256 commitment matches the entry's
|
||||
// new_share_sha256_hex field.
|
||||
@@ -58,7 +58,7 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/luxfi/pulsar/reshare"
|
||||
"github.com/luxfi/corona/reshare"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
|
||||
@@ -48,7 +48,7 @@ import (
|
||||
"path/filepath"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -34,9 +34,9 @@ import (
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
"github.com/luxfi/corona/sign"
|
||||
"github.com/luxfi/corona/utils"
|
||||
"github.com/zeebo/blake3"
|
||||
)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause-Eco
|
||||
//
|
||||
// transcripts_byte_oracle — emits byte-only KATs for the BLAKE3 transcript
|
||||
// primitives in github.com/luxfi/pulsar/primitives/hash.go.
|
||||
// primitives in github.com/luxfi/corona/primitives/hash.go.
|
||||
//
|
||||
// The byte-only paths are the parts of each transcript function that do NOT
|
||||
// require structs.{Vector,Matrix}[ring.Poly] serialization (i.e. M1). They
|
||||
|
||||
+3
-3
@@ -20,9 +20,9 @@ import (
|
||||
"io"
|
||||
"math/big"
|
||||
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
"github.com/luxfi/corona/sign"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ package dkg
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/corona/sign"
|
||||
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/corona/hash"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
|
||||
+3
-3
@@ -94,9 +94,9 @@ import (
|
||||
"io"
|
||||
"math/big"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/hash"
|
||||
"github.com/luxfi/corona/sign"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
+3
-3
@@ -11,9 +11,9 @@ import (
|
||||
"math/big"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/hash"
|
||||
"github.com/luxfi/corona/sign"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
@@ -17,7 +17,7 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module github.com/luxfi/pulsar
|
||||
module github.com/luxfi/corona
|
||||
|
||||
go 1.26.3
|
||||
go 1.26.1
|
||||
|
||||
require (
|
||||
github.com/luxfi/lattice/v7 v7.1.0
|
||||
|
||||
@@ -30,7 +30,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/corona/hash"
|
||||
)
|
||||
|
||||
// TestBootstrapPinsSuiteSHA3 — Gate 3A: Bootstrap with Pulsar-SHA3 →
|
||||
|
||||
+6
-6
@@ -40,12 +40,12 @@ import (
|
||||
"io"
|
||||
"math/big"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/pulsar/reshare"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/pulsar/threshold"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/hash"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
"github.com/luxfi/corona/reshare"
|
||||
"github.com/luxfi/corona/sign"
|
||||
"github.com/luxfi/corona/threshold"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"io"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/threshold"
|
||||
"github.com/luxfi/corona/threshold"
|
||||
|
||||
"github.com/zeebo/blake3"
|
||||
)
|
||||
|
||||
@@ -11,9 +11,9 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/luxfi/pulsar/networking"
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/corona/networking"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
"github.com/luxfi/corona/sign"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ import (
|
||||
"encoding/binary"
|
||||
"fmt"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/hash"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"bytes"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/hash"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"io"
|
||||
"math/big"
|
||||
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"math/big"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
@@ -25,7 +25,7 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/corona/hash"
|
||||
)
|
||||
|
||||
// ActivationMessage is the canonical bytes-to-be-signed for the
|
||||
|
||||
+3
-3
@@ -27,9 +27,9 @@ import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/hash"
|
||||
"github.com/luxfi/corona/sign"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"math/big"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/sign"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
"math/big"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
"github.com/luxfi/corona/sign"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
@@ -18,8 +18,8 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/hash"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"math/big"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
"github.com/luxfi/corona/sign"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
+3
-3
@@ -33,9 +33,9 @@ import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/corona/hash"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
"github.com/luxfi/corona/sign"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ import (
|
||||
|
||||
"golang.org/x/crypto/curve25519"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/corona/hash"
|
||||
)
|
||||
|
||||
// PairwiseKeyMaterial holds the X25519 keys + signed ephemerals that
|
||||
|
||||
@@ -11,8 +11,8 @@ import (
|
||||
"math/big"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
"github.com/luxfi/corona/sign"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
|
||||
@@ -26,7 +26,7 @@ import (
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/corona/hash"
|
||||
)
|
||||
|
||||
// TranscriptPersonalization is the legacy BLAKE3 personalization
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
"math/big"
|
||||
"time"
|
||||
|
||||
|
||||
+3
-3
@@ -4,9 +4,9 @@ import (
|
||||
"bytes"
|
||||
"math/big"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/hash"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"math/big"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/hash"
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/corona/hash"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
@@ -25,7 +25,7 @@ import (
|
||||
"sync"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/pulsar/utils"
|
||||
"github.com/luxfi/corona/utils"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/structs"
|
||||
|
||||
@@ -17,8 +17,8 @@ import (
|
||||
"io"
|
||||
"math/big"
|
||||
|
||||
"github.com/luxfi/pulsar/primitives"
|
||||
"github.com/luxfi/pulsar/sign"
|
||||
"github.com/luxfi/corona/primitives"
|
||||
"github.com/luxfi/corona/sign"
|
||||
|
||||
"github.com/luxfi/lattice/v7/ring"
|
||||
"github.com/luxfi/lattice/v7/utils/sampling"
|
||||
|
||||
Reference in New Issue
Block a user