github.com/slayercat/go@v0.0.0-20170428012452-c51559813f61/src/crypto/sha1/sha1block_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 sha1
     6  
     7  // featureCheck reports whether the CPU supports the
     8  // SHA1 compute intermediate message digest (KIMD)
     9  // function code.
    10  func featureCheck() bool
    11  
    12  var useAsm = featureCheck()