type crypto.Hash

49 uses

	crypto (current package)
		crypto.go#L16: type Hash uint
		crypto.go#L19: func (h Hash) HashFunc() Hash {
		crypto.go#L23: func (h Hash) String() string {
		crypto.go#L69: 	MD4         Hash = 1 + iota // import golang.org/x/crypto/md4
		crypto.go#L116: func (h Hash) Size() int {
		crypto.go#L127: func (h Hash) New() hash.Hash {
		crypto.go#L138: func (h Hash) Available() bool {
		crypto.go#L145: func RegisterHash(h Hash, f func() hash.Hash) {
		crypto.go#L223: 	HashFunc() Hash

	crypto/ecdsa
		ecdsa.go#L448: func signFIPSDeterministic[P ecdsa.Point[P]](c *ecdsa.Curve[P], hashFunc crypto.Hash, priv *PrivateKey, hash []byte) ([]byte, error) {

	crypto/ed25519
		ed25519.go#L114: 	case hash == crypto.Hash(0) && context != "": // Ed25519ctx
		ed25519.go#L119: 	case hash == crypto.Hash(0): // Ed25519
		ed25519.go#L130: 	Hash crypto.Hash
		ed25519.go#L138: func (o *Options) HashFunc() crypto.Hash { return o.Hash }
		ed25519.go#L222: 	return VerifyWithOptions(publicKey, message, sig, &Options{Hash: crypto.Hash(0)}) == nil
		ed25519.go#L247: 	case opts.Hash == crypto.Hash(0) && opts.Context != "": // Ed25519ctx
		ed25519.go#L252: 	case opts.Hash == crypto.Hash(0): // Ed25519

	crypto/internal/boring
		notboring.go#L102: func SignRSAPKCS1v15(priv *PrivateKeyRSA, h crypto.Hash, hashed []byte) ([]byte, error) {
		notboring.go#L105: func SignRSAPSS(priv *PrivateKeyRSA, h crypto.Hash, hashed []byte, saltLen int) ([]byte, error) {
		notboring.go#L108: func VerifyRSAPKCS1v15(pub *PublicKeyRSA, h crypto.Hash, hashed, sig []byte) error {
		notboring.go#L111: func VerifyRSAPSS(pub *PublicKeyRSA, h crypto.Hash, hashed, sig []byte, saltLen int) error {

	crypto/rsa
		fips.go#L41: 	Hash crypto.Hash
		fips.go#L45: func (opts *PSSOptions) HashFunc() crypto.Hash {
		fips.go#L65: func SignPSS(random io.Reader, priv *PrivateKey, hash crypto.Hash, digest []byte, opts *PSSOptions) ([]byte, error) {
		fips.go#L132: func VerifyPSS(pub *PublicKey, hash crypto.Hash, digest []byte, sig []byte, opts *PSSOptions) error {
		fips.go#L321: func SignPKCS1v15(random io.Reader, priv *PrivateKey, hash crypto.Hash, hashed []byte) ([]byte, error) {
		fips.go#L323: 	if hash != crypto.Hash(0) {
		fips.go#L364: func VerifyPKCS1v15(pub *PublicKey, hash crypto.Hash, hashed []byte, sig []byte) error {
		fips.go#L366: 	if hash != crypto.Hash(0) {
		rsa.go#L95: 	Hash crypto.Hash
		rsa.go#L99: 	MGFHash crypto.Hash

	crypto/tls
		auth.go#L22: func verifyHandshakeSignature(sigType uint8, pubkey crypto.PublicKey, hashFunc crypto.Hash, signed, sig []byte) error {
		auth.go#L70: func verifyLegacyHandshakeSignature(sigType uint8, pubkey crypto.PublicKey, hashFunc crypto.Hash, hashed, sig []byte) error {
		auth.go#L123: func typeAndHashFromSignatureScheme(signatureAlgorithm SignatureScheme) (sigType uint8, hash crypto.Hash, err error) {
		auth.go#L156: func legacyTypeAndHashFromPublicKey(pub crypto.PublicKey) (sigType uint8, hash crypto.Hash, err error) {
		cipher_suites.go#L200: 	hash   crypto.Hash
		common.go#L224: var directSigning crypto.Hash = 0
		handshake_server.go#L774: 		var sigHash crypto.Hash
		handshake_server_tls13.go#L444: func cloneHash(in hash.Hash, h crypto.Hash) hash.Hash {
		key_agreement.go#L334: 	var sigHash crypto.Hash
		prf.go#L90: func prfAndHashForVersion(version uint16, suite *cipherSuite) (prfFunc, crypto.Hash) {
		prf.go#L93: 		return prf10, crypto.Hash(0)

	crypto/x509
		x509.go#L245: func (algo SignatureAlgorithm) hashFunc() crypto.Hash {
		x509.go#L251: 	return crypto.Hash(0)
		x509.go#L368: 	hash       crypto.Hash
		x509.go#L386: 	{PureEd25519, "Ed25519", oidSignatureEd25519, emptyRawValue, Ed25519, crypto.Hash(0) /* no pre-hashing */, false},
		x509.go#L981: 	var hashType crypto.Hash
		x509.go#L993: 	case crypto.Hash(0):