File: secp2561k.go

package info (click to toggle)
golang-github-lestrrat-go-jwx 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,872 kB
  • sloc: sh: 222; makefile: 86; perl: 62
file content (11 lines) | stat: -rw-r--r-- 252 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
//go:build jwx_es256k
// +build jwx_es256k

package jwa

// This constant is only available if compiled with jwx_es256k build tag
const Secp256k1 EllipticCurveAlgorithm = "secp256k1"

func init() {
	allEllipticCurveAlgorithms[Secp256k1] = struct{}{}
}