mirror of
https://github.com/minio/minio.git
synced 2025-01-10 06:23:22 -05:00
0148237e22
Add placeholder sha256, sha512 implementations from Intel with AVX, AVX2 and SSE4.1 extensions - with some boilerplate Go code.
10 lines
268 B
Go
10 lines
268 B
Go
// +build amd64
|
|
|
|
package sha512
|
|
|
|
// #include <stdint.h>
|
|
// void sha512_transform_avx(const void* M, void* D, uint64_t L);
|
|
// void sha512_transform_ssse3(const void* M, void* D, uint64_t L);
|
|
// void sha512_transform_rorx(const void* M, void* D, uint64_t L);
|
|
import "C"
|