X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fcrypto%2Fsha2%2Fasm%2Fcopy_swap.c;h=5f7bbf35f8abe0bf1083f1d364f63db88aed396f;hp=f4302924b5580b96256eddda4c21222cc82dace1;hb=eb02408309de509d16a55332148a76846a869638;hpb=ce7c49b9dc887c2bb6de6672c0a3d3987b430e18 diff --git a/src/crypto/sha2/asm/copy_swap.c b/src/crypto/sha2/asm/copy_swap.c index f430292..5f7bbf3 100644 --- a/src/crypto/sha2/asm/copy_swap.c +++ b/src/crypto/sha2/asm/copy_swap.c @@ -3,7 +3,6 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include -#include void copy_swap_hashes(uint32_t *blocks, uint32_t *state) { @@ -42,6 +41,8 @@ void copy_swap_hashes(uint32_t *blocks, uint32_t *state) } #ifdef USE_SSSE3 +#include + void copy_swap_hashes_ssse3(uint32_t *blocks, uint32_t *state) { __m128i mask = _mm_set_epi8(12, 13, 14, 15, 8, 9, 10, 11, 4, 5, 6, 7, 0, 1, 2, 3);