crypto/elliptic.Curve.Params (method)
40 uses
crypto/elliptic (current package)
elliptic.go#L33: Params() *CurveParams
elliptic.go#L76: N := curve.Params().N
elliptic.go#L112: byteLen := (curve.Params().BitSize + 7) / 8
elliptic.go#L128: byteLen := (curve.Params().BitSize + 7) / 8
elliptic.go#L158: byteLen := (curve.Params().BitSize + 7) / 8
elliptic.go#L165: p := curve.Params().P
elliptic.go#L185: byteLen := (curve.Params().BitSize + 7) / 8
elliptic.go#L192: p := curve.Params().P
elliptic.go#L198: y = curve.Params().polynomial(x)
params.go#L329: if params == c.Params() {
crypto/ecdsa
ecdsa.go#L104: size := (k.Curve.Params().N.BitLen() + 7) / 8
ecdsa.go#L166: x, y, d, err := boring.GenerateKeyECDSA(c.Params().Name)
ecdsa.go#L174: switch c.Params() {
ecdsa.go#L175: case elliptic.P224().Params():
ecdsa.go#L177: case elliptic.P256().Params():
ecdsa.go#L179: case elliptic.P384().Params():
ecdsa.go#L181: case elliptic.P521().Params():
ecdsa.go#L221: if excess != 0 && c.curve.Params().Name != "P-521" {
ecdsa.go#L281: switch priv.Curve.Params() {
ecdsa.go#L282: case elliptic.P224().Params():
ecdsa.go#L284: case elliptic.P256().Params():
ecdsa.go#L286: case elliptic.P384().Params():
ecdsa.go#L288: case elliptic.P521().Params():
ecdsa.go#L371: if c.curve.Params().Name == "P-256" {
ecdsa.go#L487: switch pub.Curve.Params() {
ecdsa.go#L488: case elliptic.P224().Params():
ecdsa.go#L490: case elliptic.P256().Params():
ecdsa.go#L492: case elliptic.P384().Params():
ecdsa.go#L494: case elliptic.P521().Params():
ecdsa.go#L586: bitSize := curve.curve.Params().BitSize
ecdsa.go#L610: byteLen := (curve.curve.Params().BitSize + 7) / 8
ecdsa.go#L669: params := curve.Params()
ecdsa_legacy.go#L37: orderBits := c.Params().N.BitLen()
ecdsa_legacy.go#L81: N := c.Params().N
ecdsa_legacy.go#L140: N := c.Params().N
ecdsa_legacy.go#L178: N := c.Params().N
crypto/tls
auth.go#L279: return fmt.Errorf("tls: unsupported certificate curve (%s)", pub.Curve.Params().Name)
crypto/x509
sec1.go#L61: privateKey := make([]byte, (key.Curve.Params().N.BitLen()+7)/8)
sec1.go#L110: curveOrder := curve.Params().N
github.com/golang-jwt/jwt/v5
ecdsa.go#L112: curveBits := ecdsaKey.Curve.Params().BitSize
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |