mirror of
https://github.com/sonr-io/crypto.git
synced 2026-08-04 00:01:38 +00:00
refactor(crypto): simplify elliptic curve implementation
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"github.com/sonr-io/sonr/crypto/core/curves"
|
||||
"github.com/sonr-io/crypto/core/curves"
|
||||
)
|
||||
|
||||
// Challenge generated by fiat-shamir heuristic
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"github.com/sonr-io/sonr/crypto/core/curves"
|
||||
"github.com/sonr-io/crypto/core/curves"
|
||||
)
|
||||
|
||||
// Commitment represents a point Pedersen commitment of one or more
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"github.com/sonr-io/sonr/crypto/core/curves"
|
||||
"github.com/sonr-io/crypto/core/curves"
|
||||
)
|
||||
|
||||
// Nonce is used for zero-knowledge proofs to prevent replay attacks
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
|
||||
"github.com/sonr-io/sonr/crypto/core/curves"
|
||||
"github.com/sonr-io/crypto/core/curves"
|
||||
)
|
||||
|
||||
const limit = 65535
|
||||
|
||||
@@ -9,7 +9,7 @@ package common
|
||||
import (
|
||||
"io"
|
||||
|
||||
"github.com/sonr-io/sonr/crypto/core/curves"
|
||||
"github.com/sonr-io/crypto/core/curves"
|
||||
)
|
||||
|
||||
// ProofMessage classifies how a message is presented in a proof
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"github.com/sonr-io/sonr/crypto/core/curves"
|
||||
"github.com/sonr-io/crypto/core/curves"
|
||||
)
|
||||
|
||||
// SignatureBlinding is a value used for computing blind signatures
|
||||
|
||||
Reference in New Issue
Block a user