func crypto/internal/fips140only.ApprovedHash

12 uses

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

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

	crypto/hkdf
		hkdf.go#L80: 	if !fips140only.ApprovedHash(h()) {

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

	crypto/pbkdf2
		pbkdf2.go#L49: 		if !fips140only.ApprovedHash(fh()) {

	crypto/rsa
		fips.go#L88: 	if fips140only.Enforced() && !fips140only.ApprovedHash(h) {
		fips.go#L153: 	if fips140only.Enforced() && !fips140only.ApprovedHash(h) {
		fips.go#L238: 	if fips140only.Enforced() && !fips140only.ApprovedHash(hash) {
		fips.go#L296: 		if !fips140only.ApprovedHash(hash) || !fips140only.ApprovedHash(mgfHash) {
		fips.go#L345: 	if fips140only.Enforced() && !fips140only.ApprovedHash(fips140hash.Unwrap(hash.New())) {
		fips.go#L391: 	if fips140only.Enforced() && !fips140only.ApprovedHash(fips140hash.Unwrap(hash.New())) {