const crypto.SHA256
16 uses
crypto (current package)
crypto.go#L33: case SHA256:
crypto.go#L73: SHA256 // import crypto/sha256
crypto.go#L96: SHA256: 32,
crypto/internal/hpke
hpke.go#L67: DHKEM_X25519_HKDF_SHA256: {ecdh.X25519(), crypto.SHA256, 32},
hpke.go#L179: KDF_HKDF_SHA256: func() *hkdfKDF { return &hkdfKDF{crypto.SHA256} },
crypto/sha256
sha256.go#L18: crypto.RegisterHash(crypto.SHA256, New)
crypto/tls
auth.go#L116: hash = crypto.SHA256
auth.go#L156: {PSSWithSHA256, crypto.SHA256.Size()*2 + 2, VersionTLS13},
auth.go#L162: {PKCS1WithSHA256, 19 + crypto.SHA256.Size() + 11, VersionTLS12},
cipher_suites.go#L214: {TLS_AES_128_GCM_SHA256, 16, aeadAESGCMTLS13, crypto.SHA256},
cipher_suites.go#L215: {TLS_CHACHA20_POLY1305_SHA256, 32, aeadChaCha20Poly1305, crypto.SHA256},
prf.go#L98: return prf12(sha256.New), crypto.SHA256
crypto/x509
x509.go#L374: {SHA256WithRSA, "SHA256-RSA", oidSignatureSHA256WithRSA, asn1.NullRawValue, RSA, crypto.SHA256, false},
x509.go#L377: {SHA256WithRSAPSS, "SHA256-RSAPSS", oidSignatureRSAPSS, pssParametersSHA256, RSA, crypto.SHA256, true},
x509.go#L381: {DSAWithSHA256, "DSA-SHA256", oidSignatureDSAWithSHA256, emptyRawValue, DSA, crypto.SHA256, false},
x509.go#L383: {ECDSAWithSHA256, "ECDSA-SHA256", oidSignatureECDSAWithSHA256, emptyRawValue, ECDSA, crypto.SHA256, false},