12345678910111213141516171819202122232425 |
- package blake2b
- func init() {
- useSSE4 = supportsSSE4()
- }
- func supportsSSE4() bool
- func hashBlocksSSE4(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte)
- func hashBlocks(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte) {
- if useSSE4 {
- hashBlocksSSE4(h, c, flag, blocks)
- } else {
- hashBlocksGeneric(h, c, flag, blocks)
- }
- }
|