# Reference implementation of qTESLA-I-s in portable C

# Linux

To compile, do:

make 

which by default sets ARCH=x64, CC=gcc and DEBUG=FALSE, or do:

make ARCH=[x64/x86/ARM/ARM64] CC=[gcc/clang] DEBUG=[TRUE/FALSE]

The following executables are generated: "test_qtesla-I-s", "PQCtestKAT_sign-I-s" and "PQCgenKAT_sign-I-s".

To get cycle counts for key generation, signing and verification, execute:

./test_qtesla-I-s

To test against known answer values in the KAT folder, execute:

./PQCtestKAT_sign-I-s

To generate new KAT files, execute:

./PQCgenKAT_sign-I-s

Using DEBUG=TRUE generates statistics on acceptance rates and timings for internal functions. 

