hash.Hash.Size (method)
21 uses
hash (current package)
hash.go#L39: Size() int
crypto/hmac
hmac.go#L76: func (h *hmac) Size() int { return h.outer.Size() }
crypto/rsa
pss.go#L34: hLen := hash.Size()
pss.go#L109: hLen := hash.Size()
rsa.go#L528: if len(msg) > k-2*hash.Size()-2 {
rsa.go#L546: seed := em[1 : 1+hash.Size()]
rsa.go#L547: db := em[1+hash.Size():]
rsa.go#L549: copy(db[0:hash.Size()], lHash)
rsa.go#L718: k < hash.Size()*2+2 {
rsa.go#L745: seed := em[1 : hash.Size()+1]
rsa.go#L746: db := em[hash.Size()+1:]
rsa.go#L751: lHash2 := db[0:hash.Size()]
rsa.go#L766: rest := db[hash.Size():]
crypto/tls
cipher_suites.go#L570: func (c *cthWrapper) Size() int { return c.h.Size() }
conn.go#L385: minPayload := explicitNonceLen + roundUp(hc.mac.Size()+1, blockSize)
conn.go#L431: macSize := hc.mac.Size()
conn.go#L905: payloadBytes -= c.out.mac.Size()
conn.go#L915: payloadBytes -= c.out.mac.Size()
golang.org/x/crypto/pbkdf2
pbkdf2.go#L44: hashLen := prf.Size()
vendor/golang.org/x/crypto/hkdf
hkdf.go#L28: salt = make([]byte, hash().Size())
hkdf.go#L85: return &hkdf{expander, expander.Size(), info, 1, nil, nil}
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |