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
+2 -2
View File
@@ -27,8 +27,8 @@ import (
"github.com/pkg/errors"
"github.com/sonr-io/sonr/crypto/core"
"github.com/sonr-io/sonr/crypto/internal"
"github.com/sonr-io/crypto/core"
"github.com/sonr-io/crypto/internal"
)
// PaillierPrimeBits is the number of bits used to generate Paillier Safe Primes.
+3 -3
View File
@@ -12,9 +12,9 @@ import (
"fmt"
"math/big"
crypto "github.com/sonr-io/sonr/crypto/core"
"github.com/sonr-io/sonr/crypto/core/curves"
"github.com/sonr-io/sonr/crypto/internal"
crypto "github.com/sonr-io/crypto/core"
"github.com/sonr-io/crypto/core/curves"
"github.com/sonr-io/crypto/internal"
)
// [spec] 10.2 and ProvePSF, VerifyPSF fig.15
+3 -3
View File
@@ -15,9 +15,9 @@ import (
"github.com/btcsuite/btcd/btcec/v2"
"github.com/stretchr/testify/require"
crypto "github.com/sonr-io/sonr/crypto/core"
curves2 "github.com/sonr-io/sonr/crypto/core/curves"
"github.com/sonr-io/sonr/crypto/internal"
crypto "github.com/sonr-io/crypto/core"
curves2 "github.com/sonr-io/crypto/core/curves"
"github.com/sonr-io/crypto/internal"
)
var testPrimes = []*big.Int{