blocks_asm.go 595 B

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