refactor(crypto): simplify elliptic curve implementation

This commit is contained in:
Prad Nukala
2025-10-09 15:11:59 -04:00
parent a934caa7d3
commit 7d339ae522
205 changed files with 380 additions and 380 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ import (
"git.sr.ht/~sircmpwn/go-bare"
"github.com/sonr-io/sonr/crypto/core/curves"
"github.com/sonr-io/crypto/core/curves"
)
type structMarshal struct {
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/sonr-io/sonr/crypto/core/curves"
"github.com/sonr-io/crypto/core/curves"
)
func TestNewAccumulator100(t *testing.T) {
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"git.sr.ht/~sircmpwn/go-bare"
"github.com/sonr-io/sonr/crypto/core/curves"
"github.com/sonr-io/crypto/core/curves"
)
// SecretKey is the secret alpha only held by the accumulator manager.
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/sonr-io/sonr/crypto/core/curves"
"github.com/sonr-io/crypto/core/curves"
)
func TestSecretKeyMarshal(t *testing.T) {
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"fmt"
"math"
"github.com/sonr-io/sonr/crypto/core/curves"
"github.com/sonr-io/crypto/core/curves"
)
// dad constructs two polynomials - dA(x) and dD(x)
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/sonr-io/sonr/crypto/core/curves"
"github.com/sonr-io/crypto/core/curves"
)
func TestEvaluatePolyG1(t *testing.T) {
+1 -1
View File
@@ -14,7 +14,7 @@ import (
"git.sr.ht/~sircmpwn/go-bare"
"github.com/sonr-io/sonr/crypto/core/curves"
"github.com/sonr-io/crypto/core/curves"
)
type proofParamsMarshal struct {
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/sonr-io/sonr/crypto/core/curves"
"github.com/sonr-io/crypto/core/curves"
)
func TestProofParamsMarshal(t *testing.T) {
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"git.sr.ht/~sircmpwn/go-bare"
"github.com/sonr-io/sonr/crypto/core/curves"
"github.com/sonr-io/crypto/core/curves"
)
// MembershipWitness contains the witness c and the value y respect to the accumulator state.
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/sonr-io/sonr/crypto/core/curves"
"github.com/sonr-io/crypto/core/curves"
)
func Test_Membership_Witness_New(t *testing.T) {