# v0.1 -  - Tue Jul 26 14:03:33 CEST 2011
# - setup for the simvectors

# copy files
ln -s ../../scripts/gen_sha3_stimuli.pl 
gcp -a ../../external/Keccak_FinalRnd/Reference_Implementation/* .
# we do not need all of these 
rm genKAT.c mainReference.c

cat < SHA3api_ref.h
#include "KeccakDuplex.h"
#include "KeccakNISTInterface.h"
#include "KeccakSponge.h"
EOF
gcp -a ../../scripts/ETHZ_KAT.c .

# compile the reference
gcc -o ETHZ_KAT ETHZ_KAT.c \
                KeccakF-1600-reference.c \
                displayIntermediateValues.c \
                KeccakDuplex.c \
                KeccakNISTInterface.c \
                KeccakSponge.c

# run the generation script
./gen_sha3_stimuli.pl

# this should do it

# ignore the following files on SVN
cat < svn.ignore
stimuli.txt
expresp.txt
EOF

svn -q propset svn:ignore -F svn.ignore .
rm svn.ignore



Generated on Tue Nov 22 15:16:34 CET 2011
Home