blob: c24622ce5ac3c2d3d260835d6c26a294e4d2e7f6 [file] [log] [blame] [edit]
// Copyright 2025 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.
package cryptotest
import (
"crypto/internal/fips140"
"testing"
)
func MustSupportFIPS140(t *testing.T) {
t.Helper()
if err := fips140.Supported(); err != nil {
t.Skipf("test requires FIPS 140 mode: %v", err)
}
}