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.

hashes_generic.go 813B

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