1
0
mirror of https://github.com/fumiama/blake2b-simd.git synced 2026-06-20 02:40:41 +08:00

Added AVX2 support (#6)

* Added AVX2 support
This commit is contained in:
Frank
2016-07-03 20:54:51 +02:00
committed by Harshavardhana
parent f0521e8972
commit 00562011ad
8 changed files with 808 additions and 19 deletions

23
compressAvx2_noasm.go Normal file
View File

@@ -0,0 +1,23 @@
//+build !amd64 noasm appengine
/*
* 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 blake2b
func compressAvx2(d *digest, p []uint8) {
compressGeneric(d, p)
}