blocks_asm.go 645 B

12345678910111213141516171819202122
  1. //go:build arm || (amd64 && !appengine && !gccgo)
  2. // +build arm amd64,!appengine,!gccgo
  3. // Written in 2012 by Dmitry Chestnykh.
  4. //
  5. // To the extent possible under law, the author have dedicated all copyright
  6. // and related and neighboring rights to this software to the public domain
  7. // worldwide. This software is distributed without any warranty.
  8. // http://creativecommons.org/publicdomain/zero/1.0/
  9. // This file contains a function definition for use with assembly implementations of Hash()
  10. package siphash
  11. //go:noescape
  12. func blocks(d *digest, p []uint8)
  13. //go:noescape
  14. func finalize(d *digest) uint64
  15. //go:noescape
  16. func once(d *digest)