hash.Hash.Write (method)
179 uses
bufio
bufio.go#L542: n, err := w.Write(b.buf[b.r:b.w])
bufio.go#L607: n, err := b.wr.Write(b.buf[0:b.n])
bufio.go#L639: n, b.err = b.wr.Write(p)
bytes
buffer.go#L239: m, e := w.Write(b.buf[b.off:])
reader.go#L144: m, err := w.Write(b)
compress/flate
deflate.go#L699: return w.w.Write(b)
huffman_bit_writer.go#L136: _, w.err = w.writer.Write(b)
compress/gzip
gzip.go#L98: _, err := z.w.Write(z.buf[:2])
gzip.go#L102: _, err = z.w.Write(b)
gzip.go#L124: _, err = z.w.Write(b)
gzip.go#L133: _, err = z.w.Write(z.buf[:1])
gzip.go#L168: _, z.err = z.w.Write(z.buf[:10])
gzip.go#L248: _, z.err = z.w.Write(z.buf[:8])
crypto/cipher
io.go#L39: n, err = w.W.Write(c)
crypto/ecdsa
ecdsa.go#L216: md.Write(priv.D.Bytes()) // the private key,
ecdsa.go#L217: md.Write(entropy) // the entropy,
ecdsa.go#L218: md.Write(hash) // and the input hash;
crypto/ed25519
ed25519.go#L163: h.Write(privateKey[:32])
ed25519.go#L174: h.Write(digest1[32:])
ed25519.go#L175: h.Write(message)
ed25519.go#L187: h.Write(encodedR[:])
ed25519.go#L188: h.Write(privateKey[32:])
ed25519.go#L189: h.Write(message)
ed25519.go#L222: h.Write(sig[:32])
ed25519.go#L223: h.Write(publicKey[:])
ed25519.go#L224: h.Write(message)
crypto/hmac
hmac.go#L65: h.outer.Write(h.opad)
hmac.go#L67: h.outer.Write(in[origLen:])
hmac.go#L72: return h.inner.Write(p)
hmac.go#L87: h.inner.Write(h.ipad)
hmac.go#L110: h.outer.Write(h.opad)
hmac.go#L150: hm.outer.Write(key)
hmac.go#L161: hm.inner.Write(hm.ipad)
crypto/rsa
pss.go#L72: hash.Write(prefix[:])
pss.go#L73: hash.Write(mHash)
pss.go#L74: hash.Write(salt)
pss.go#L193: hash.Write(prefix[:])
pss.go#L194: hash.Write(mHash)
pss.go#L195: hash.Write(salt)
rsa.go#L370: hash.Write(seed)
rsa.go#L371: hash.Write(counter[0:4])
rsa.go#L420: hash.Write(label)
rsa.go#L613: hash.Write(label)
crypto/tls
auth.go#L90: h.Write(signaturePadding)
auth.go#L92: h.Write(transcript.Sum(nil))
cipher_suites.go#L396: func (c *cthWrapper) Write(p []byte) (int, error) { return c.h.Write(p) }
cipher_suites.go#L408: h.Write(seq)
cipher_suites.go#L409: h.Write(header)
cipher_suites.go#L410: h.Write(data)
cipher_suites.go#L413: h.Write(extra)
common.go#L1292: _, err := c.KeyLogWriter.Write(logLine)
handshake_client.go#L342: transcript.Write(hello.marshalWithoutBinders())
handshake_client_tls13.go#L59: hs.transcript.Write(hs.hello.marshal())
handshake_client_tls13.go#L70: hs.transcript.Write(hs.serverHello.marshal())
handshake_client_tls13.go#L183: hs.transcript.Write([]byte{typeMessageHash, 0, 0, uint8(len(chHash))})
handshake_client_tls13.go#L184: hs.transcript.Write(chHash)
handshake_client_tls13.go#L185: hs.transcript.Write(hs.serverHello.marshal())
handshake_client_tls13.go#L248: transcript.Write([]byte{typeMessageHash, 0, 0, uint8(len(chHash))})
handshake_client_tls13.go#L249: transcript.Write(chHash)
handshake_client_tls13.go#L250: transcript.Write(hs.serverHello.marshal())
handshake_client_tls13.go#L251: transcript.Write(hs.hello.marshalWithoutBinders())
handshake_client_tls13.go#L261: hs.transcript.Write(hs.hello.marshal())
handshake_client_tls13.go#L395: hs.transcript.Write(encryptedExtensions.marshal())
handshake_client_tls13.go#L437: hs.transcript.Write(certReq.marshal())
handshake_client_tls13.go#L456: hs.transcript.Write(certMsg.marshal())
handshake_client_tls13.go#L496: hs.transcript.Write(certVerify.marshal())
handshake_client_tls13.go#L521: hs.transcript.Write(finished.marshal())
handshake_client_tls13.go#L569: hs.transcript.Write(certMsg.marshal())
handshake_client_tls13.go#L607: hs.transcript.Write(certVerifyMsg.marshal())
handshake_client_tls13.go#L622: hs.transcript.Write(finished.marshal())
handshake_server_tls13.go#L315: transcript.Write(hs.clientHello.marshalWithoutBinders())
handshake_server_tls13.go#L415: hs.transcript.Write(hs.clientHello.marshal())
handshake_server_tls13.go#L418: hs.transcript.Write([]byte{typeMessageHash, 0, 0, uint8(len(chHash))})
handshake_server_tls13.go#L419: hs.transcript.Write(chHash)
handshake_server_tls13.go#L431: hs.transcript.Write(helloRetryRequest.marshal())
handshake_server_tls13.go#L531: hs.transcript.Write(hs.clientHello.marshal())
handshake_server_tls13.go#L532: hs.transcript.Write(hs.hello.marshal())
handshake_server_tls13.go#L575: hs.transcript.Write(encryptedExtensions.marshal())
handshake_server_tls13.go#L605: hs.transcript.Write(certReq.marshal())
handshake_server_tls13.go#L617: hs.transcript.Write(certMsg.marshal())
handshake_server_tls13.go#L649: hs.transcript.Write(certVerifyMsg.marshal())
handshake_server_tls13.go#L664: hs.transcript.Write(finished.marshal())
handshake_server_tls13.go#L726: hs.transcript.Write(finishedMsg.marshal())
handshake_server_tls13.go#L793: hs.transcript.Write(certMsg.marshal())
handshake_server_tls13.go#L838: hs.transcript.Write(certVerify.marshal())
key_agreement.go#L86: hsha1.Write(slice)
key_agreement.go#L97: hmd5.Write(slice)
key_agreement.go#L119: h.Write(slice)
key_schedule.go#L88: verifyData.Write(transcript.Sum(nil))
key_schedule.go#L99: h.Write(context)
prf.go#L29: h.Write(seed)
prf.go#L35: h.Write(a)
prf.go#L36: h.Write(seed)
prf.go#L42: h.Write(a)
prf.go#L175: h.client.Write(msg)
prf.go#L176: h.server.Write(msg)
prf.go#L179: h.clientMD5.Write(msg)
prf.go#L180: h.serverMD5.Write(msg)
prf.go#L229: hash.Write(h.buffer)
ticket.go#L141: mac.Write(encrypted[:len(encrypted)-sha256.Size])
ticket.go#L170: mac.Write(encrypted[:len(encrypted)-sha256.Size])
crypto/x509
pem_decrypt.go#L89: hash.Write(digest)
pem_decrypt.go#L90: hash.Write(password)
pem_decrypt.go#L91: hash.Write(salt)
x509.go#L835: h.Write(signed)
x509.go#L2215: h.Write(signed)
x509.go#L2338: h.Write(signed)
x509.go#L2641: h.Write(signed)
x509.go#L2844: h.Write(tbsCertListContents)
encoding/base64
base64.go#L210: if _, e.err = e.w.Write(e.out[:4]); e.err != nil {
base64.go#L224: if _, e.err = e.w.Write(e.out[0 : nn/3*4]); e.err != nil {
base64.go#L246: _, e.err = e.w.Write(e.out[:e.enc.EncodedLen(e.nbuf)])
encoding/binary
binary.go#L375: _, err := w.Write(bs)
binary.go#L388: _, err := w.Write(buf)
encoding/gob
encoder.go#L82: _, err := w.Write(message[offset:])
encoding/hex
hex.go#L132: dumper.Write(data)
hex.go#L160: written, e.err = e.w.Write(e.out[:encoded])
hex.go#L254: _, err = h.w.Write(h.buf[4:])
hex.go#L273: _, err = h.w.Write(h.buf[:l])
hex.go#L284: _, err = h.w.Write(h.rightChars[:])
hex.go#L316: _, err = h.w.Write(h.buf[:l])
hex.go#L324: _, err = h.w.Write(h.rightChars[:nBytes+2])
encoding/json
encode.go#L857: enc.Write(s)
stream.go#L231: if _, err = enc.w.Write(b); err != nil {
encoding/pem
pem.go#L226: n, err = l.out.Write(l.line[0:l.used])
pem.go#L233: n, err = l.out.Write(b[0:excess])
pem.go#L238: n, err = l.out.Write(nl)
pem.go#L248: _, err = l.out.Write(l.line[0:l.used])
pem.go#L252: _, err = l.out.Write(nl)
pem.go#L259: _, err := out.Write([]byte(k + ": " + v + "\n"))
pem.go#L275: if _, err := out.Write(pemStart[1:]); err != nil {
pem.go#L278: if _, err := out.Write([]byte(b.Type + "-----\n")); err != nil {
pem.go#L307: if _, err := out.Write(nl); err != nil {
pem.go#L316: if _, err := b64.Write(b.Bytes); err != nil {
pem.go#L322: if _, err := out.Write(pemEnd[1:]); err != nil {
pem.go#L325: _, err := out.Write([]byte(b.Type + "-----\n"))
fmt
print.go#L205: n, err = w.Write(p.buf)
print.go#L233: n, err = w.Write(p.buf)
print.go#L265: n, err = w.Write(p.buf)
go.etcd.io/bbolt
db.go#L1165: _, _ = h.Write((*[unsafe.Offsetof(meta{}.checksum)]byte)(unsafe.Pointer(m))[:])
tx.go#L356: nn, err := w.Write(buf)
tx.go#L366: nn, err = w.Write(buf)
io
io.go#L97: Write(p []byte) (n int, err error)
io.go#L311: return w.Write([]byte(s))
io.go#L425: nw, ew := dst.Write(buf[0:nr])
io.go#L562: if n, err := t.w.Write(p[:n]); err != nil {
multi.go#L60: n, err = w.Write(p)
multi.go#L83: n, err = w.Write(p)
log
log.go#L184: _, err := l.out.Write(l.buf)
mime/multipart
writer.go#L164: _, err = p.Write([]byte(value))
writer.go#L196: n, err = p.mw.w.Write(d)
mime/quotedprintable
writer.go#L162: if _, err := w.w.Write(w.line[:w.i]); err != nil {
net
net.go#L704: nb, err := w.Write(b)
net/http
h2_bundle.go#L1606: n, err := f.w.Write(f.wbuf)
h2_bundle.go#L3537: return p.b.Write(d)
h2_bundle.go#L6905: n, err = sew.w.Write(p)
header.go#L137: return w.w.Write([]byte(s))
socks_bundle.go#L458: if _, err := rw.Write(b); err != nil {
transfer.go#L1101: n, err = fw.w.Write(p)
net/http/internal
chunked.go#L206: if n, err = cw.Wire.Write(data); err != nil {
runtime/pprof
pprof.go#L704: _, err := w.Write(buf)
runtime/trace
trace.go#L133: w.Write(data)
src.elv.sh/cmd/examples/e3bc/bc
bc.go#L40: bc.stdin.Write([]byte(code))
bc.go#L41: bc.stdin.Write(inputSuffix)
src.elv.sh/pkg/cli/term
writer.go#L182: _, err := w.file.Write(bytesBuf.Bytes())
strings
replace.go#L319: return w.w.Write([]byte(s))
replace.go#L470: wn, err := w.Write(buf[:ncopy])
replace.go#L556: nw, err := w.Write(r.replacements[b])
text/tabwriter
tabwriter.go#L254: n, err := b.output.Write(buf)
vendor/golang.org/x/crypto/hkdf
hkdf.go#L31: extractor.Write(secret)
hkdf.go#L60: f.expander.Write(f.prev)
hkdf.go#L61: f.expander.Write(f.info)
hkdf.go#L62: f.expander.Write([]byte{f.counter})
vendor/golang.org/x/net/http2/hpack
encode.go#L77: n, err := e.w.Write(e.buf)
huffman.go#L28: return w.Write(buf.Bytes())
vendor/golang.org/x/text/transform
transform.go#L245: if _, werr := w.w.Write(w.dst[:nDst]); werr != nil {
transform.go#L300: if _, werr := w.w.Write(w.dst[:nDst]); werr != nil {
vendor/golang.org/x/text/unicode/norm
readwriter.go#L41: if _, err = w.w.Write(w.buf[:i]); err != nil {
readwriter.go#L54: _, err := w.w.Write(w.buf)