- Port field operations assembler from libsecp256k1 (field_amd64.s,
field_amd64_bmi2.s) with MULX/ADCX/ADOX instructions
- Add AVX2 scalar and affine point operations in avx/ package
- Implement CPU feature detection (cpufeatures.go) for AVX2/BMI2
- Add libsecp256k1.so via purego for native C library comparison
- Create comprehensive SIMD benchmark suite comparing btcec, P256K1
pure Go, P256K1 ASM, and libsecp256k1
- Add BENCHMARK_SIMD.md documenting performance across implementations
- Remove BtcecSigner, consolidate on P256K1Signer as primary impl
- Add field operation tests and benchmarks (field_asm_test.go,
field_bench_test.go)
- Update GLV endomorphism with wNAF scalar multiplication
- Add scalar assembly (scalar_amd64.s) for optimized operations
- Clean up dependencies and update benchmark reports
19 lines
460 B
Modula-2
19 lines
460 B
Modula-2
module p256k1.mleku.dev
|
|
|
|
go 1.25.0
|
|
|
|
require (
|
|
github.com/btcsuite/btcd/btcec/v2 v2.3.6
|
|
github.com/ebitengine/purego v0.9.1
|
|
github.com/klauspost/cpuid/v2 v2.3.0
|
|
github.com/minio/sha256-simd v1.0.1
|
|
next.orly.dev v1.0.3
|
|
)
|
|
|
|
require (
|
|
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect
|
|
github.com/decred/dcrd/crypto/blake256 v1.0.0 // indirect
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
|
|
golang.org/x/sys v0.37.0 // indirect
|
|
)
|