hash.Hash.Size (method)
20 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#L527: if len(msg) > k-2*hash.Size()-2 {
rsa.go#L545: seed := em[1 : 1+hash.Size()]
rsa.go#L546: db := em[1+hash.Size():]
rsa.go#L548: copy(db[0:hash.Size()], lHash)
rsa.go#L717: k < hash.Size()*2+2 {
rsa.go#L744: seed := em[1 : hash.Size()+1]
rsa.go#L745: db := em[hash.Size()+1:]
rsa.go#L750: lHash2 := db[0:hash.Size()]
rsa.go#L765: rest := db[hash.Size():]
crypto/tls
cipher_suites.go#L590: func (c *cthWrapper) Size() int { return c.h.Size() }
conn.go#L389: minPayload := explicitNonceLen + roundUp(hc.mac.Size()+1, blockSize)
conn.go#L435: macSize := hc.mac.Size()
conn.go#L909: payloadBytes -= c.out.mac.Size()
conn.go#L919: payloadBytes -= c.out.mac.Size()
vendor/golang.org/x/crypto/hkdf
hkdf.go#L28: salt = make([]byte, hash().Size())
hkdf.go#L87: return &hkdf{expander, expander.Size(), info, 1, nil, nil}
![]() |
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. |