math/big.Int.FillBytes (method)

11 uses

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

	crypto/ecdsa
		ecdsa.go#L197: 	return c.NewPrivateKey(k.D.FillBytes(make([]byte, size)))
		ecdsa.go#L618: 	x.FillBytes(buf[1 : 1+byteLen])
		ecdsa.go#L619: 	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#L152: 	x.FillBytes(buf[1 : 1+byteLen])
		nistec.go#L153: 	y.FillBytes(buf[1+byteLen : 1+2*byteLen])
		nistec.go#L202: 	return s.FillBytes(out)

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