math/big.Int.FillBytes (method)

16 uses

	math/big (current package)
		int.go#L535: func (x *Int) FillBytes(buf []byte) []byte {

	crypto/ecdsa
		ecdsa.go#L104: 	return c.NewPrivateKey(k.D.FillBytes(make([]byte, size)))
		ecdsa.go#L593: 	x.FillBytes(buf[1 : 1+byteLen])
		ecdsa.go#L594: 	y.FillBytes(buf[1+byteLen : 1+2*byteLen])

	crypto/elliptic
		elliptic.go#L117: 	x.FillBytes(ret[1 : 1+byteLen])
		elliptic.go#L118: 	y.FillBytes(ret[1+byteLen : 1+2*byteLen])
		elliptic.go#L131: 	x.FillBytes(compressed[1:])
		nistec.go#L156: 	x.FillBytes(buf[1 : 1+byteLen])
		nistec.go#L157: 	y.FillBytes(buf[1+byteLen : 1+2*byteLen])
		nistec.go#L206: 	return s.FillBytes(out)
		nistec_p256.go#L23: 	scalar := k.FillBytes(make([]byte, 32))

	crypto/x509
		sec1.go#L64: 		PrivateKey:    key.D.FillBytes(privateKey),

	github.com/gotd/td/internal/crypto
		fill_bytes.go#L13: 	b.FillBytes(to)
		rsa.go#L45: 	c.FillBytes(res)

	github.com/gotd/td/internal/crypto/srp
		hash.go#L25: 	g.FillBytes(gBytes[:])

	github.com/gotd/td/internal/exchange
		client_flow.go#L244: 			authKey.FillBytes(key[:])