mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Initial upload v3.4.7
This commit is contained in:
24
algo/hodl/wolf-aes.h
Normal file
24
algo/hodl/wolf-aes.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef __WOLF_AES_H
|
||||
#define __WOLF_AES_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <x86intrin.h>
|
||||
|
||||
void ExpandAESKey256(__m128i *keys, const __m128i *KeyBuf);
|
||||
|
||||
#ifdef __AVX__
|
||||
|
||||
#define AES_PARALLEL_N 8
|
||||
#define BLOCK_COUNT 256
|
||||
|
||||
void AES256CBC( __m128i** data, const __m128i** next, __m128i ExpandedKey[][16],
|
||||
__m128i* IV );
|
||||
|
||||
#else
|
||||
|
||||
void AES256CBC( __m128i *Ciphertext, const __m128i *Plaintext,
|
||||
const __m128i *ExpandedKey, __m128i IV, uint32_t BlockCount );
|
||||
|
||||
#endif
|
||||
|
||||
#endif // __WOLF_AES_H
|
||||
Reference in New Issue
Block a user