github.com/ltltlt/go-source-code@v0.0.0-20190830023027-95be009773aa/crypto/sha256/sha256block_s390x.go (about)

     1  // Copyright 2016 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package sha256
     6  
     7  // featureCheck reports whether the CPU supports the
     8  // SHA256 compute intermediate message digest (KIMD)
     9  // function code.
    10  func featureCheck() bool
    11  
    12  var useAsm = featureCheck()