crypto/ecdsa.PublicKey.Y (field)
18 uses
crypto/ecdsa (current package)
ecdsa.go#L48: X, Y *big.Int
ecdsa.go#L62: if !k.Curve.IsOnCurve(k.X, k.Y) {
ecdsa.go#L65: return c.NewPublicKey(elliptic.Marshal(k.Curve, k.X, k.Y))
ecdsa.go#L78: return bigIntEqual(pub.X, xx.X) && bigIntEqual(pub.Y, xx.Y) &&
ecdsa.go#L166: return &PrivateKey{PublicKey: PublicKey{Curve: c, X: bbig.Dec(x), Y: bbig.Dec(y)}, D: bbig.Dec(d)}, nil
ecdsa.go#L193: priv.PublicKey.X, priv.PublicKey.Y, err = c.pointToAffine(Q)
ecdsa.go#L502: Q, err := c.pointFromAffine(pub.X, pub.Y)
ecdsa_legacy.go#L29: priv.PublicKey.X, priv.PublicKey.Y = c.ScalarBaseMult(k.Bytes())
ecdsa_legacy.go#L156: x2, y2 := c.ScalarMult(pub.X, pub.Y, u2.Bytes())
crypto/tls
tls.go#L318: if pub.X.Cmp(priv.X) != 0 || pub.Y.Cmp(priv.Y) != 0 {
crypto/x509
parser.go#L269: Y: y,
sec1.go#L58: if !key.Curve.IsOnCurve(key.X, key.Y) {
sec1.go#L66: PublicKey: asn1.BitString{Bytes: elliptic.Marshal(key.Curve, key.X, key.Y)},
sec1.go#L133: priv.X, priv.Y = curve.ScalarBaseMult(privateKey)
x509.go#L103: if !pub.Curve.IsOnCurve(pub.X, pub.Y) {
x509.go#L106: publicKeyBytes = elliptic.Marshal(pub.Curve, pub.X, pub.Y)
|
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. |