vendor/golang.org/x/crypto/sha3.ShakeHash.Sum (method)
60 uses
vendor/golang.org/x/crypto/sha3 (current package)
hashes.go#L75: h.Sum(digest[:0])
hashes.go#L83: h.Sum(digest[:0])
hashes.go#L91: h.Sum(digest[:0])
hashes.go#L99: h.Sum(digest[:0])
vendor/golang.org/x/crypto/hkdf
hkdf.go#L32: return extractor.Sum(nil)
hkdf.go#L65: f.prev = f.expander.Sum(f.prev[:0])
crypto/ecdsa
ecdsa.go#L440: key := md.Sum(nil)[:32] // and compute ChopMD-256(SHA-512),
crypto/ed25519
ed25519.go#L232: messageDigest = mh.Sum(messageDigest)
ed25519.go#L250: hramDigest = kh.Sum(hramDigest)
ed25519.go#L337: hramDigest = kh.Sum(hramDigest)
crypto/hmac
hmac.go#L58: in = h.inner.Sum(in)
hmac.go#L69: return h.outer.Sum(in[:origLen])
hmac.go#L159: key = hm.outer.Sum(nil)
crypto/internal/mlkem768
mlkem768.go#L234: dkB = H.Sum(dkB)
mlkem768.go#L279: G := g.Sum(nil)
mlkem768.go#L385: G := g.Sum(nil)
crypto/rsa
pss.go#L76: h = hash.Sum(h[:0])
pss.go#L197: h0 := hash.Sum(nil)
rsa.go#L465: digest = hash.Sum(digest[:0])
rsa.go#L541: lHash := hash.Sum(nil)
rsa.go#L739: lHash := hash.Sum(nil)
crypto/tls
auth.go#L86: b.Write(transcript.Sum(nil))
auth.go#L92: h.Write(transcript.Sum(nil))
auth.go#L93: return h.Sum(nil)
cipher_suites.go#L609: res := h.Sum(out)
handshake_client_tls13.go#L99: confTranscript.Sum(nil),
handshake_client_tls13.go#L246: chHash := hs.transcript.Sum(nil)
handshake_client_tls13.go#L257: chHash = hs.echContext.innerTranscript.Sum(nil)
handshake_client_tls13.go#L276: confTranscript.Sum(nil),
handshake_server_tls13.go#L518: chHash := hs.transcript.Sum(nil)
key_agreement.go#L112: return hsha1.Sum(nil)
key_agreement.go#L123: copy(md5sha1, hmd5.Sum(nil))
key_agreement.go#L145: digest := h.Sum(nil)
key_schedule.go#L76: return c.expandLabel(secret, label, transcript.Sum(nil), c.hash.Size())
key_schedule.go#L106: verifyData.Write(transcript.Sum(nil))
key_schedule.go#L107: return verifyData.Sum(nil)
key_schedule.go#L118: return c.expandLabel(secret, "exporter", h.Sum(nil), length), nil
prf.go#L30: a := h.Sum(nil)
prf.go#L37: b := h.Sum(nil)
prf.go#L43: a = h.Sum(nil)
prf.go#L201: return h.client.Sum(nil)
prf.go#L205: out = h.clientMD5.Sum(out)
prf.go#L206: return h.client.Sum(out)
prf.go#L239: return hash.Sum(nil)
prf.go#L243: return h.server.Sum(nil)
ticket.go#L343: mac.Sum(macBytes[:0])
ticket.go#L378: expected := mac.Sum(nil)
crypto/x509
pem_decrypt.go#L92: digest = hash.Sum(digest[:0])
x509.go#L928: signed = h.Sum(nil)
x509.go#L1511: signed = h.Sum(nil)
github.com/golang-jwt/jwt/v5
ecdsa.go#L83: if verifystatus := ecdsa.Verify(ecdsaKey, hasher.Sum(nil), r, s); verifystatus {
ecdsa.go#L111: if r, s, err := ecdsa.Sign(rand.Reader, ecdsaKey, hasher.Sum(nil)); err == nil {
hmac.go#L75: if !hmac.Equal(sig, hasher.Sum(nil)) {
hmac.go#L100: return hasher.Sum(nil), nil
rsa.go#L65: return rsa.VerifyPKCS1v15(rsaKey, m.Hash, hasher.Sum(nil), sig)
rsa.go#L88: if sigBytes, err := rsa.SignPKCS1v15(rand.Reader, rsaKey, m.Hash, hasher.Sum(nil)); err == nil {
rsa_pss.go#L106: return rsa.VerifyPSS(rsaKey, m.Hash, hasher.Sum(nil), sig, opts)
rsa_pss.go#L130: if sigBytes, err := rsa.SignPSS(rand.Reader, rsaKey, m.Hash, hasher.Sum(nil), m.Options); err == nil {
github.com/google/uuid
hash.go#L31: s := h.Sum(nil)
hash
hash.go#L33: Sum(b []byte) []byte
 |
The pages are generated with Golds v0.7.6. (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. |