hash.Hash64.Sum (method)
53 uses
hash (current package)
hash.go#L33: Sum(b []byte) []byte
crypto
crypto.go#L252: msg = h.Sum(nil)
crypto/internal/fips140/hmac
hmac.go#L61: in = h.inner.Sum(in)
hmac.go#L72: return h.outer.Sum(in[:origLen])
hmac.go#L191: key = hm.outer.Sum(nil)
crypto/internal/fips140/rsa
pkcs1v22.go#L61: digest = hash.Sum(digest[:0])
pkcs1v22.go#L117: h = hash.Sum(h[:0])
pkcs1v22.go#L243: h0 := hash.Sum(nil)
pkcs1v22.go#L394: lHash := hash.Sum(nil)
pkcs1v22.go#L433: lHash := hash.Sum(nil)
crypto/internal/fips140/tls13
tls13.go#L53: return ExpandLabel(hash, secret, label, transcript.Sum(nil), transcript.Size())
tls13.go#L173: return ExpandLabel(s.hash, secret, "exporter", h.Sum(nil), length)
crypto/sha256
sha256.go#L60: h.Sum(sum[:0])
sha256.go#L72: h.Sum(sum[:0])
crypto/sha512
sha512.go#L91: h.Sum(sum[:0])
sha512.go#L103: h.Sum(sum[:0])
sha512.go#L112: h.Sum(sum[:0])
sha512.go#L121: h.Sum(sum[:0])
crypto/tls
auth.go#L87: b.Write(transcript.Sum(nil))
auth.go#L93: h.Write(transcript.Sum(nil))
auth.go#L94: return h.Sum(nil)
cipher_suites.go#L619: res := h.Sum(out)
handshake_client_tls13.go#L99: acceptConfirmation := tls13.ExpandLabel(h, prk, "ech accept confirmation", confTranscript.Sum(nil), 8)
handshake_client_tls13.go#L241: chHash := hs.transcript.Sum(nil)
handshake_client_tls13.go#L252: chHash = hs.echContext.innerTranscript.Sum(nil)
handshake_client_tls13.go#L274: acceptConfirmation := tls13.ExpandLabel(h, prk, "hrr ech accept confirmation", confTranscript.Sum(nil), 8)
handshake_server_tls13.go#L555: chHash := hs.transcript.Sum(nil)
handshake_server_tls13.go#L583: acceptConfirmation := tls13.ExpandLabel(h, prf, "hrr ech accept confirmation", confTranscript.Sum(nil), 8)
handshake_server_tls13.go#L747: acceptConfirmation := tls13.ExpandLabel(h, prk, "ech accept confirmation", echTranscript.Sum(nil), 8)
key_agreement.go#L113: return hsha1.Sum(nil)
key_agreement.go#L124: copy(md5sha1, hmd5.Sum(nil))
key_agreement.go#L146: digest := h.Sum(nil)
key_schedule.go#L39: verifyData.Write(transcript.Sum(nil))
key_schedule.go#L40: return verifyData.Sum(nil)
prf.go#L33: a := h.Sum(nil)
prf.go#L40: b := h.Sum(nil)
prf.go#L46: a = h.Sum(nil)
prf.go#L204: return h.client.Sum(nil)
prf.go#L208: out = h.clientMD5.Sum(out)
prf.go#L209: return h.client.Sum(out)
prf.go#L238: return hash.Sum(nil)
prf.go#L242: return h.server.Sum(nil)
ticket.go#L348: mac.Sum(macBytes[:0])
ticket.go#L383: expected := mac.Sum(nil)
crypto/x509
pem_decrypt.go#L92: digest = hash.Sum(digest[:0])
x509.go#L994: signed = h.Sum(nil)
go.pact.im/x/extraio
hash.go#L48: r.buf = r.h.Sum(r.buf)
golang.org/x/crypto/argon2
argon2.go#L152: b2.Sum(h0[:0])
blake2b.go#L30: b2.Sum(out[:0])
blake2b.go#L35: b2.Sum(buffer[:0])
blake2b.go#L41: b2.Sum(buffer[:0])
blake2b.go#L52: b2.Sum(out[:0])
golang.org/x/tools/internal/pkgbits
encoder.go#L100: copy(fingerprint[:], h.Sum(nil))