crypto/internal/fips140.Hash.Size (method)

16 uses

	crypto/rsa
		fips.go#L100: 	if fips140only.Enabled && saltLength > h.Size() {
		fips.go#L110: 		saltLength = h.Size()
		fips.go#L162: 	if fips140only.Enabled && saltLength > h.Size() {
		fips.go#L169: 		return fipsError(rsa.VerifyPSSWithSaltLength(k, h, digest, sig, h.Size()))
		fips.go#L203: 		if len(msg) > k-2*hash.Size()-2 {
		fips.go#L256: 			k < hash.Size()*2+2 {

	crypto/tls
		cipher_suites.go#L596: 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()

	github.com/aws/aws-sdk-go-v2/internal/v4a/internal/crypto
		ecc.go#L78: 	n := int64(math.Ceil((float64(bitLen) / 8) / float64(hash().Size())))

	go.pact.im/x/extraio
		hash.go#L25: 	buf := make([]byte, 0, h.Size())

	golang.org/x/crypto/pbkdf2
		pbkdf2.go#L44: 	hashLen := prf.Size()

	hash
		hash.go#L39: 	Size() int

	mellium.im/sasl
		scram.go#L223: 		saltedPassword := pbkdf2.Key(password, salt, iter, fn().Size(), fn)