blob: b03b9ef537f2d5ad7bdc0913573c3ce4b0c62abb [file] [log] [blame]
// Copyright 2026 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build !(fips140v1.0 || fips140v1.26)
package fips140only
import (
"crypto/internal/fips140/drbg"
"io"
)
func ApprovedRandomReader(r io.Reader) bool {
return drbg.IsDefaultReader(r)
}