math/big.Int.FillBytes (method)
17 uses
math/big (current package)
int.go#L539: func (x *Int) FillBytes(buf []byte) []byte {
crypto/ecdsa
ecdsa.go#L593: D := priv.D.FillBytes(make([]byte, size, maxScalarSize))
ecdsa.go#L617: x.FillBytes(buf[1 : 1+byteLen])
ecdsa.go#L618: 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/rsa
rsa.go#L276: buf := a.FillBytes(make([]byte, len(b)))
github.com/gotd/td/crypto
fill_bytes.go#L13: b.FillBytes(to)
rsa.go#L45: c.FillBytes(res)
temp_keys.go#L33: newNonce.FillBytes(nn)
temp_keys.go#L35: serverNonce.FillBytes(sn)
github.com/gotd/td/crypto/srp
hash.go#L25: g.FillBytes(gBytes[:])
github.com/gotd/td/exchange
client_flow.go#L264: authKey.FillBytes(key[:])
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |