shake_generic.go 523 B

12345678910111213141516171819
  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. // +build gccgo appengine !s390x
  5. package sha3
  6. // newShake128Asm returns an assembly implementation of SHAKE-128 if available,
  7. // otherwise it returns nil.
  8. func newShake128Asm() ShakeHash {
  9. return nil
  10. }
  11. // newShake256Asm returns an assembly implementation of SHAKE-256 if available,
  12. // otherwise it returns nil.
  13. func newShake256Asm() ShakeHash {
  14. return nil
  15. }