1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00
Files
xmrig/src/crypto/randomx/blake2/avx2/blake2b.h
SChernykh 63e21dfe63 RandomX: added Blake2 AVX2 version
+0.1% speedup on AMD Zen2/Zen3 and Intel CPUs which support AVX2.
2022-08-25 20:39:54 +02:00

17 lines
245 B
C

#ifndef BLAKE2_AVX2_BLAKE2B_H
#define BLAKE2_AVX2_BLAKE2B_H
#include <stddef.h>
#if defined(__cplusplus)
extern "C" {
#endif
int blake2b_avx2(void* out, size_t outlen, const void* in, size_t inlen);
#if defined(__cplusplus)
}
#endif
#endif