func crypto/internal/fips140only.ApprovedHash

10 uses

	crypto/internal/fips140only (current package)
		fips140only.go#L21: func ApprovedHash(h hash.Hash) bool {

	crypto/ecdsa
		ecdsa.go#L286: 	if fips140only.Enabled && !fips140only.ApprovedHash(h()) {

	crypto/hmac
		hmac.go#L52: 		if !fips140only.ApprovedHash(h()) {

	crypto/rsa
		fips.go#L87: 	if fips140only.Enabled && !fips140only.ApprovedHash(h) {
		fips.go#L152: 	if fips140only.Enabled && !fips140only.ApprovedHash(h) {
		fips.go#L219: 	if fips140only.Enabled && !fips140only.ApprovedHash(hash) {
		fips.go#L277: 		if !fips140only.ApprovedHash(hash) || !fips140only.ApprovedHash(mgfHash) {
		fips.go#L326: 	if fips140only.Enabled && !fips140only.ApprovedHash(fips140hash.Unwrap(hash.New())) {
		fips.go#L372: 	if fips140only.Enabled && !fips140only.ApprovedHash(fips140hash.Unwrap(hash.New())) {