math/big.Int.Bytes (method)
13 uses
math/big (current package)
int.go#L452: func (x *Int) Bytes() []byte {
crypto/ecdsa
ecdsa.go#L158: priv.PublicKey.X, priv.PublicKey.Y = c.ScalarBaseMult(k.Bytes())
ecdsa.go#L216: md.Write(priv.D.Bytes()) // the private key,
ecdsa.go#L260: r, _ = priv.Curve.ScalarBaseMult(k.Bytes())
ecdsa.go#L323: x, y = opt.CombinedMult(pub.X, pub.Y, u1.Bytes(), u2.Bytes())
ecdsa.go#L325: x1, y1 := c.ScalarBaseMult(u1.Bytes())
ecdsa.go#L326: x2, y2 := c.ScalarMult(pub.X, pub.Y, u2.Bytes())
crypto/elliptic
p224.go#L727: bytes := in.Bytes()
encoding/asn1
marshal.go#L209: bytes := nMinus1.Bytes()
marshal.go#L221: bytes := n.Bytes()
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L80: bytes := nMinus1.Bytes()
asn1.go#L91: bytes := n.Bytes()