diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-10-04 23:32:50 +0100 |
---|---|---|
committer | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-10-04 23:32:50 +0100 |
commit | 2f7727e6d4ef645ea5fcbf7ef2f26121d86a06ac (patch) | |
tree | 5b609106057e3a929eae061f9f6b93272e5a0a41 /xmrstak/backend/cpu | |
parent | 8ee452eefae9be9d467602052131d3c5c9c0afb9 (diff) | |
download | xmr-stak-2f7727e6d4ef645ea5fcbf7ef2f26121d86a06ac.zip xmr-stak-2f7727e6d4ef645ea5fcbf7ef2f26121d86a06ac.tar.gz |
rename soft_aes.c
Diffstat (limited to 'xmrstak/backend/cpu')
-rw-r--r-- | xmrstak/backend/cpu/crypto/cryptonight_aesni.h | 5 | ||||
-rw-r--r-- | xmrstak/backend/cpu/crypto/soft_aes.hpp (renamed from xmrstak/backend/cpu/crypto/soft_aes.c) | 0 |
2 files changed, 2 insertions, 3 deletions
diff --git a/xmrstak/backend/cpu/crypto/cryptonight_aesni.h b/xmrstak/backend/cpu/crypto/cryptonight_aesni.h index 8bbb27c..942d511 100644 --- a/xmrstak/backend/cpu/crypto/cryptonight_aesni.h +++ b/xmrstak/backend/cpu/crypto/cryptonight_aesni.h @@ -36,14 +36,13 @@ static inline uint64_t _umul128(uint64_t a, uint64_t b, uint64_t* hi) #error You are trying to do a 32-bit build. This will all end in tears. I know it. #endif +#include "soft_aes.hpp" + extern "C" { void keccak(const uint8_t *in, int inlen, uint8_t *md, int mdlen); void keccakf(uint64_t st[25], int rounds); extern void(*const extra_hashes[4])(const void *, size_t, char *); - - __m128i soft_aesenc(__m128i in, __m128i key); - __m128i soft_aeskeygenassist(__m128i key, uint8_t rcon); } // This will shift and xor tmp1 into itself as 4 32-bit vals such as diff --git a/xmrstak/backend/cpu/crypto/soft_aes.c b/xmrstak/backend/cpu/crypto/soft_aes.hpp index aba7c20..aba7c20 100644 --- a/xmrstak/backend/cpu/crypto/soft_aes.c +++ b/xmrstak/backend/cpu/crypto/soft_aes.hpp |