Browse Source

added SSE - Part II

pull/249/head
Logan007 4 years ago
parent
commit
9509634ca5
  1. 2
      Makefile.in
  2. 4
      speck.h
  3. 2
      tools/Makefile.in

2
Makefile.in

@ -7,7 +7,7 @@ GIT_COMMITS=@GIT_COMMITS@
CC?=gcc CC?=gcc
DEBUG?=-g3 DEBUG?=-g3
OPTIMIZATION?=-O3 OPTIMIZATION?=-O3 -march=native
WARN?=-Wall WARN?=-Wall
#Ultrasparc64 users experiencing SIGBUS should try the following gcc options #Ultrasparc64 users experiencing SIGBUS should try the following gcc options

4
speck.h

@ -9,7 +9,9 @@ typedef struct {
u64 key[34]; u64 key[34];
} speck_context_t; } speck_context_t;
#else #else
typedef u64 speck_context_t [34]; typedef struct {
u64 key[34];
} speck_context_t;
#endif #endif
int speck_ctr (unsigned char *out, const unsigned char *in, int speck_ctr (unsigned char *out, const unsigned char *in,

2
tools/Makefile.in

@ -1,6 +1,6 @@
CC?=gcc CC?=gcc
DEBUG?=-g3 DEBUG?=-g3
#OPTIMIZATION?=-O2 OPTIMIZATION?=-O2 -march=native
WARN?=-Wall WARN?=-Wall
INSTALL=install INSTALL=install

Loading…
Cancel
Save