all: Use github.com/minio/sha256-simd

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3581
This commit is contained in:
Jakob Borg
2016-09-09 09:57:51 +00:00
committed by Audrius Butkevicius
parent 3990014073
commit 5e99d38412
31 changed files with 3547 additions and 20 deletions

View File

@@ -0,0 +1,22 @@
//+build !noasm
/*
* Minio Cloud Storage, (C) 2016 Minio, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package sha256
//go:noescape
func blockAvx2(h []uint32, message []uint8)