math/big.Int.Bytes (method)
19 uses
math/big (current package)
int.go#L452: func (x *Int) Bytes() []byte {
crypto/ecdsa
ecdsa.go#L154: priv.PublicKey.X, priv.PublicKey.Y = c.ScalarBaseMult(k.Bytes())
ecdsa.go#L217: md.Write(priv.D.Bytes()) // the private key,
ecdsa.go#L261: r, _ = priv.Curve.ScalarBaseMult(k.Bytes())
ecdsa.go#L324: x, y = opt.CombinedMult(pub.X, pub.Y, u1.Bytes(), u2.Bytes())
ecdsa.go#L326: x1, y1 := c.ScalarBaseMult(u1.Bytes())
ecdsa.go#L327: x2, y2 := c.ScalarMult(pub.X, pub.Y, u2.Bytes())
encoding/asn1
marshal.go#L209: bytes := nMinus1.Bytes()
marshal.go#L221: bytes := n.Bytes()
github.com/aws/aws-sdk-go-v2/internal/v4a
v4a.go#L62: nMinusTwoP256 = new(big.Int).SetBytes(p256.Params().N.Bytes())
v4a.go#L130: cmp, err := signerCrypto.ConstantTimeByteCompare(key, nMinusTwoP256.Bytes())
v4a.go#L149: priv.PublicKey.X, priv.PublicKey.Y = p256.ScalarBaseMult(d.Bytes())
github.com/aws/aws-sdk-go-v2/internal/v4a/internal/crypto
ecc.go#L29: pX, pY := curve.ScalarBaseMult(d.Bytes())
golang.org/x/tools/internal/gcimporter
bexport.go#L648: p.string(string(mant.Bytes()))
iexport.go#L1005: b := x.Bytes()
golang.org/x/tools/internal/pkgbits
encoder.go#L375: b := v.Bytes()
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L80: bytes := nMinus1.Bytes()
asn1.go#L91: bytes := n.Bytes()