Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
elmad committed Feb 27, 2014
1 parent f295dee commit 42652e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qubit.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "x5/vect128/nist.h"
//---echo ----------------
#define _ECHO_VPERM_
#define AES-NI
#define AES_NI
#include "x5/echo512/ccalik/aesni/hash_api.h"

#if defined(__GNUC__)
Expand Down
4 changes: 2 additions & 2 deletions x5/luffa_for_sse2.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,10 @@ HashReturn update_luffa(hashState_luffa *state, const uint32 *data, DataLength d
uint8 *p = (uint8*)state->buffer;
for (i=0;i<8;i++) state->buffer[i] = BYTES_SWAP32((data)[i]);
rnd512(state);
data += MSG_BLOCK_BYTE_LEN;
data += 8;
for (i=0;i<8;i++) state->buffer[i] = BYTES_SWAP32((data)[i]);
rnd512(state);
data += MSG_BLOCK_BYTE_LEN;
data += 8;
for(i=0;i<16;i++) p[i] = ((uint8*) data)[i];
p[16] = 0x80;
i++;
Expand Down

0 comments on commit 42652e4

Please sign in to comment.