Commit 23a2e42b24 for golang

commit 23a2e42b24776c2b8050addab509fbd08d88162f
Author: Alan Donovan <adonovan@google.com>
Date:   Fri Dec 4 15:08:11 2026 -0500

    crypto/go.vet: enable fipsdit analyzer in crypto tree

    This change causes go test of any package in crypto to execute
    the fipsdit analyzer (when GOEXPERIMENT=vetfiles). This will
    catch errors sooner than the cmd/internal/stdcheck test
    (which applies to all of std). Example:

     src$ cat > crypto/md5/dummy.go
     package md5
     import "crypto/internal/fips140/rsa"
     func F() { rsa.SignPKCS1v15(nil, "", nil) }

     src$ GOEXPERIMENT=vetfiles go test crypto/md5
     # crypto/md5 [crypto/md5.test]
     crypto/md5/dummy.go:3:6: exported function crypto/md5.F calls constant-time/FIPS code without subtle.WithDataIndependentTiming: crypto/md5.F -> crypto/internal/fips140/rsa.SignPKCS1v15
     crypto/go.vet:3:1:     from analyzer "fipsditcheck" (internal/analysis/fipsdit.Analyzer), enabled here
     FAIL   crypto/md5 [build failed]

    Change-Id: Id4167a31a1506a1585ee83b396bfc4cd90ebec52
    Reviewed-on: https://go-review.googlesource.com/c/go/+/869762
    TryBot-Bypass: Alan Donovan <adonovan@google.com>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    Auto-Submit: Alan Donovan <adonovan@google.com>

diff --git a/src/crypto/go.vet b/src/crypto/go.vet
new file mode 100644
index 0000000000..941fc57db5
--- /dev/null
+++ b/src/crypto/go.vet
@@ -0,0 +1,3 @@
+
+// check FIPS 140 Data Independent Timing (DIT) requirements
+enable ./... internal/analysis/fipsdit.Analyzer