// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build !purego
+// +build !purego
+
// SHA256 block routine. See sha256block.go for Go equivalent.
//
// The algorithm is detailed in FIPS 180-4:
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build !purego
+// +build !purego
+
package notsha256
var useAVX2 = false
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build !purego
+// +build !purego
+
#include "textflag.h"
// SHA256 block routine. See sha256block.go for Go equivalent.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build 386 || amd64 || ppc64le || ppc64
+//go:build !purego && (386 || amd64 || ppc64le || ppc64)
+// +build !purego
// +build 386 amd64 ppc64le ppc64
package notsha256
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build !amd64 && !386 && !ppc64le && !ppc64
-// +build !amd64,!386,!ppc64le,!ppc64
+//go:build purego || (!amd64 && !386 && !ppc64le && !ppc64)
+// +build purego !amd64,!386,!ppc64le,!ppc64
package notsha256
// bootstrap toolchain.
//
-//go:build ppc64 || ppc64le
+//go:build !purego && (ppc64 || ppc64le)
+// +build !purego
// +build ppc64 ppc64le
// Based on CRYPTOGAMS code with the following comment: