crypto/elliptic.Curve.Params (method)
39 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#L100: size := (k.Curve.Params().N.BitLen() + 7) / 8
ecdsa.go#L162: x, y, d, err := boring.GenerateKeyECDSA(c.Params().Name)
ecdsa.go#L170: switch c.Params() {
ecdsa.go#L171: case elliptic.P224().Params():
ecdsa.go#L173: case elliptic.P256().Params():
ecdsa.go#L175: case elliptic.P384().Params():
ecdsa.go#L177: case elliptic.P521().Params():
ecdsa.go#L217: if excess != 0 && c.curve.Params().Name != "P-521" {
ecdsa.go#L277: switch priv.Curve.Params() {
ecdsa.go#L278: case elliptic.P224().Params():
ecdsa.go#L280: case elliptic.P256().Params():
ecdsa.go#L282: case elliptic.P384().Params():
ecdsa.go#L284: case elliptic.P521().Params():
ecdsa.go#L367: if c.curve.Params().Name == "P-256" {
ecdsa.go#L482: switch pub.Curve.Params() {
ecdsa.go#L483: case elliptic.P224().Params():
ecdsa.go#L485: case elliptic.P256().Params():
ecdsa.go#L487: case elliptic.P384().Params():
ecdsa.go#L489: case elliptic.P521().Params():
ecdsa.go#L581: bitSize := curve.curve.Params().BitSize
ecdsa.go#L605: byteLen := (curve.curve.Params().BitSize + 7) / 8
ecdsa.go#L664: params := curve.Params()
ecdsa_legacy.go#L37: orderBits := c.Params().N.BitLen()
ecdsa_legacy.go#L81: N := c.Params().N
ecdsa_legacy.go#L137: N := c.Params().N
ecdsa_legacy.go#L175: 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
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |