golang.org/x/crypto/sha3.ShakeHash.Size (method)
45 uses
golang.org/x/crypto/hkdf
hkdf.go#L92: return &hkdfReader{expander, expander.Size(), info, 1, nil, nil}
crypto/hkdf
hkdf.go#L48: limit := fh().Size() * 255
hkdf.go#L65: limit := fh().Size() * 255
crypto/internal/fips140/ecdsa
hmacdrbg.go#L61: size := hash().Size()
crypto/internal/fips140/hkdf
hkdf.go#L18: salt = make([]byte, h().Size())
crypto/internal/fips140/hmac
hmac.go#L79: func (h *HMAC) Size() int { return h.outer.Size() }
crypto/internal/fips140/rsa
pkcs1v22.go#L75: hLen := hash.Size()
pkcs1v22.go#L152: hLen := hash.Size()
pkcs1v22.go#L256: saltLength := (pub.N.BitLen()-1+7)/8 - 2 - hash.Size()
pkcs1v22.go#L262: if fips140.Enabled && saltLength > hash.Size() {
pkcs1v22.go#L263: return hash.Size(), nil
pkcs1v22.go#L285: if saltLength > hash.Size() {
pkcs1v22.go#L389: if len(msg) > k-2*hash.Size()-2 {
pkcs1v22.go#L398: seed := em[1 : 1+hash.Size()]
pkcs1v22.go#L399: db := em[1+hash.Size():]
pkcs1v22.go#L401: copy(db[0:hash.Size()], lHash)
pkcs1v22.go#L423: k < hash.Size()*2+2 {
pkcs1v22.go#L438: seed := em[1 : hash.Size()+1]
pkcs1v22.go#L439: db := em[hash.Size()+1:]
pkcs1v22.go#L444: lHash2 := db[0:hash.Size()]
pkcs1v22.go#L459: rest := db[hash.Size():]
crypto/internal/fips140/tls12
tls12.go#L58: if h.Size() != 32 {
tls12.go#L62: if h.Size() != 46 && h.Size() != 64 {
crypto/internal/fips140/tls13
tls13.go#L44: newSecret = make([]byte, hash().Size())
tls13.go#L53: return ExpandLabel(hash, secret, label, transcript.Sum(nil), transcript.Size())
crypto/rsa
fips.go#L101: if fips140only.Enforced() && saltLength > h.Size() {
fips.go#L111: saltLength = h.Size()
fips.go#L163: if fips140only.Enforced() && saltLength > h.Size() {
fips.go#L170: return fipsError(rsa.VerifyPSSWithSaltLength(k, h, digest, sig, h.Size()))
fips.go#L222: if len(msg) > k-2*hash.Size()-2 {
fips.go#L275: k < hash.Size()*2+2 {
crypto/tls
cipher_suites.go#L600: func (c *cthWrapper) Size() int { return c.h.Size() }
conn.go#L386: minPayload := explicitNonceLen + roundUp(hc.mac.Size()+1, blockSize)
conn.go#L432: macSize := hc.mac.Size()
conn.go#L915: payloadBytes -= c.out.mac.Size()
conn.go#L925: payloadBytes -= c.out.mac.Size()
github.com/refraction-networking/utls
cipher_suites.go#L601: func (c *cthWrapper) Size() int { return c.h.Size() }
conn.go#L390: minPayload := explicitNonceLen + roundUp(hc.mac.Size()+1, blockSize)
conn.go#L436: macSize := hc.mac.Size()
conn.go#L910: payloadBytes -= c.out.mac.Size()
conn.go#L920: payloadBytes -= c.out.mac.Size()
github.com/refraction-networking/utls/internal/tls13
tls13.go#L45: newSecret = make([]byte, hash().Size())
tls13.go#L54: return ExpandLabel(hash, secret, label, transcript.Sum(nil), transcript.Size())
hash
hash.go#L39: Size() int
 |
The pages are generated with Golds v0.8.4. (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. |