func crypto/elliptic.Marshal
4 uses
crypto/elliptic (current package)
elliptic.go#L109: func Marshal(curve Curve, x, y *big.Int) []byte {
crypto/ecdsa
ecdsa.go#L65: return c.NewPublicKey(elliptic.Marshal(k.Curve, k.X, k.Y))
crypto/x509
sec1.go#L66: PublicKey: asn1.BitString{Bytes: elliptic.Marshal(key.Curve, key.X, key.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. |