github.com/lestrrat-go/jwx/v2@v2.0.21/jwk/es256k.go (about) 1 //go:build jwx_es256k 2 // +build jwx_es256k 3 4 package jwk 5 6 import ( 7 "github.com/decred/dcrd/dcrec/secp256k1/v4" 8 "github.com/lestrrat-go/jwx/v2/internal/ecutil" 9 "github.com/lestrrat-go/jwx/v2/jwa" 10 ) 11 12 func init() { 13 ecutil.RegisterCurve(secp256k1.S256(), jwa.Secp256k1) 14 }