diff options
Diffstat (limited to 'test/monniaux/sha-2')
-rw-r--r-- | test/monniaux/sha-2/Makefile | 5 | ||||
-rw-r--r-- | test/monniaux/sha-2/sha-256.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/test/monniaux/sha-2/Makefile b/test/monniaux/sha-2/Makefile index f3918f7f..8fba819b 100644 --- a/test/monniaux/sha-2/Makefile +++ b/test/monniaux/sha-2/Makefile @@ -1,6 +1,6 @@ include ../rules.mk -PRODUCTS=sha-256.host sha-256.gcc.k1c.out sha-256.ccomp.k1c.out sha-256.ccomp.k1c.s sha-256.gcc.k1c.s sha-256.gcc.k1c sha-256.ccomp.k1c +PRODUCTS=sha-256.host sha-256.gcc.o1.k1c.out sha-256.gcc.k1c.out sha-256.ccomp.k1c.out sha-256.ccomp.k1c.s sha-256.gcc.k1c.s sha-256.gcc.k1c sha-256.ccomp.k1c all: $(PRODUCTS) @@ -12,6 +12,9 @@ sha-256.gcc.k1c.s sha-256.ccomp.k1c.s sha-256_run.gcc.k1c.s: sha-256.h sha-256.gcc.k1c: sha-256.gcc.k1c.o sha-256_run.gcc.k1c.o $(K1C_CC) $(K1C_CFLAGS) $+ -o $@ +sha-256.gcc.o1.k1c: sha-256.gcc.o1.k1c.o sha-256_run.gcc.o1.k1c.o + $(K1C_CC) $(K1C_CFLAGS_O1) $+ -o $@ + sha-256.ccomp.k1c: sha-256.ccomp.k1c.o sha-256_run.gcc.k1c.o $(K1C_CCOMP) $(K1C_CCOMPFLAGS) $+ -o $@ diff --git a/test/monniaux/sha-2/sha-256.c b/test/monniaux/sha-2/sha-256.c index 9306b7f1..63ac09b7 100644 --- a/test/monniaux/sha-2/sha-256.c +++ b/test/monniaux/sha-2/sha-256.c @@ -8,6 +8,7 @@ #include "sha-256.h" +#define USE_ORIGINAL 1 #define AUTOINCREMENT 1 #define CHUNK_SIZE 64 |