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