Migrate internal module imports to unified package path.

Replaced legacy `*.orly` module imports with `next.orly.dev/pkg` paths across the codebase for consistency. Removed legacy `go.mod` files from sub-packages, consolidating dependency management. Added Dockerfiles and configurations for benchmarking environments.
This commit is contained in:
2025-09-12 16:12:31 +01:00
parent 2dd119401b
commit 110223fc4e
236 changed files with 4098 additions and 1253 deletions

View File

@@ -8,7 +8,7 @@ package secp256k1
import (
"math/bits"
"encoders.orly/hex"
"next.orly.dev/pkg/encoders/hex"
)
// References:

View File

@@ -8,7 +8,7 @@ package secp256k1
import (
"testing"
"utils.orly"
"next.orly.dev/pkg/utils"
)
func TestGenerateSharedSecret(t *testing.T) {

View File

@@ -11,9 +11,9 @@ import (
"encoding/binary"
"fmt"
"crypto.orly/ec/secp256k1"
"crypto.orly/sha256"
"encoders.orly/hex"
"next.orly.dev/pkg/crypto/ec/secp256k1"
"next.orly.dev/pkg/crypto/sha256"
"next.orly.dev/pkg/encoders/hex"
)
// This example demonstrates use of GenerateSharedSecret to encrypt a message

View File

@@ -52,7 +52,7 @@ package secp256k1
// ordinarily would. See the documentation for FieldVal for more details.
import (
"encoders.orly/hex"
"next.orly.dev/pkg/encoders/hex"
)
// Constants used to make the code more readable.

View File

@@ -14,9 +14,9 @@ import (
"testing"
"time"
"encoders.orly/hex"
"lol.mleku.dev/chk"
"utils.orly"
"next.orly.dev/pkg/encoders/hex"
"next.orly.dev/pkg/utils"
)
// SetHex decodes the passed big-endian hex string into the internal field value

View File

@@ -7,7 +7,7 @@ package secp256k1
import (
"math/big"
"encoders.orly/hex"
"next.orly.dev/pkg/encoders/hex"
)
// References:

View File

@@ -12,9 +12,9 @@ import (
"testing"
"time"
"encoders.orly/hex"
"lol.mleku.dev/chk"
"utils.orly"
"next.orly.dev/pkg/encoders/hex"
"next.orly.dev/pkg/utils"
)
// SetHex interprets the provided hex string as a 256-bit big-endian unsigned

View File

@@ -9,7 +9,7 @@ import (
"bytes"
"hash"
"crypto.orly/sha256"
"next.orly.dev/pkg/crypto/sha256"
)
// References:

View File

@@ -8,9 +8,9 @@ package secp256k1
import (
"testing"
"crypto.orly/sha256"
"encoders.orly/hex"
"utils.orly"
"next.orly.dev/pkg/crypto/sha256"
"next.orly.dev/pkg/encoders/hex"
"next.orly.dev/pkg/utils"
)
// hexToBytes converts the passed hex string into bytes and will panic if there

View File

@@ -13,9 +13,9 @@ import (
"math/big"
"os"
"crypto.orly/ec/secp256k1"
"lol.mleku.dev/chk"
"lol.mleku.dev/log"
"next.orly.dev/pkg/crypto/ec/secp256k1"
)
// curveParams houses the secp256k1 curve parameters for convenient access.

View File

@@ -9,7 +9,7 @@ import (
"errors"
"testing"
"utils.orly"
"next.orly.dev/pkg/utils"
)
// TestParsePubKey ensures that public keys are properly parsed according

View File

@@ -12,7 +12,7 @@ import (
"math/big"
"testing"
"utils.orly"
"next.orly.dev/pkg/utils"
)
// TestGenerateSecretKey ensures the key generation works as expected.