No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

25 líneas
566 B

  1. // Copyright 2016 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. // +build !go1.7,amd64,!gccgo,!appengine
  5. package blake2b
  6. import "golang.org/x/sys/cpu"
  7. func init() {
  8. useSSE4 = cpu.X86.HasSSE41
  9. }
  10. //go:noescape
  11. func hashBlocksSSE4(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte)
  12. func hashBlocks(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte) {
  13. if useSSE4 {
  14. hashBlocksSSE4(h, c, flag, blocks)
  15. } else {
  16. hashBlocksGeneric(h, c, flag, blocks)
  17. }
  18. }