You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

shake_generic.go 525B

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. //go:build !gc || purego || !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. }