hashes_generic.go 841 B

12345678910111213141516171819202122232425262728
  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. // +build !gc purego !s390x
  6. package sha3
  7. import (
  8. "hash"
  9. )
  10. // new224Asm returns an assembly implementation of SHA3-224 if available,
  11. // otherwise it returns nil.
  12. func new224Asm() hash.Hash { return nil }
  13. // new256Asm returns an assembly implementation of SHA3-256 if available,
  14. // otherwise it returns nil.
  15. func new256Asm() hash.Hash { return nil }
  16. // new384Asm returns an assembly implementation of SHA3-384 if available,
  17. // otherwise it returns nil.
  18. func new384Asm() hash.Hash { return nil }
  19. // new512Asm returns an assembly implementation of SHA3-512 if available,
  20. // otherwise it returns nil.
  21. func new512Asm() hash.Hash { return nil }