math/big.Int.FillBytes (method)
12 uses
math/big (current package)
int.go#L532: func (x *Int) FillBytes(buf []byte) []byte {
crypto/ecdsa
ecdsa.go#L98: return c.NewPrivateKey(k.D.FillBytes(make([]byte, size)))
ecdsa.go#L426: x.FillBytes(buf[1 : 1+byteLen])
ecdsa.go#L427: 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),
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)