Files
next.orly.dev/pkg/crypto/p256k/p256k.go
mleku 0123c2d6f5 Update dependencies and refactor p256k crypto package
- Bumped version of lol.mleku.dev from v1.0.4 to v1.0.5.
- Added new dependencies: p256k1.mleku.dev and several indirect dependencies for improved cryptographic functionality.
- Refactored p256k package to utilize p256k1.mleku.dev/signer for signature operations, replacing the previous btcec implementation.
- Removed the secp256k1.go file, consolidating the crypto logic under the new p256k1 library.
- Updated documentation to reflect changes in the signer interface and usage.
2025-11-02 16:43:58 +00:00

20 lines
471 B
Go

//go:build cgo
package p256k
import (
"lol.mleku.dev/log"
p256k1signer "p256k1.mleku.dev/signer"
)
func init() {
log.T.Ln("using p256k1.mleku.dev/signer (CGO)")
}
// Signer is an alias for the P256K1Signer type from p256k1.mleku.dev/signer (cgo version).
type Signer = p256k1signer.P256K1Signer
// Keygen is an alias for the P256K1Gen type from p256k1.mleku.dev/signer (cgo version).
type Keygen = p256k1signer.P256K1Gen
var NewKeygen = p256k1signer.NewP256K1Gen