github.com/mdaxf/iac@v0.0.0-20240519030858-58a061660378/vendor_skip/golang.org/x/crypto/sha3/shake_generic.go (about)

     1  // Copyright 2017 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  //go:build !gc || purego || !s390x
     6  
     7  package sha3
     8  
     9  // newShake128Asm returns an assembly implementation of SHAKE-128 if available,
    10  // otherwise it returns nil.
    11  func newShake128Asm() ShakeHash {
    12  	return nil
    13  }
    14  
    15  // newShake256Asm returns an assembly implementation of SHAKE-256 if available,
    16  // otherwise it returns nil.
    17  func newShake256Asm() ShakeHash {
    18  	return nil
    19  }