add NO_MAIN_DRIVER to CTaoCrypt benchmark

This commit is contained in:
Chris Conlon
2013-01-30 10:20:39 -07:00
parent 3ff842168e
commit b91f3c7c6d

View File

@@ -110,6 +110,8 @@ static int OpenNitroxDevice(int dma_mode,int dev_id)
#endif #endif
/* so embedded projects can pull in tests on their own */
#ifndef NO_MAIN_DRIVER
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
@@ -186,6 +188,8 @@ int main(int argc, char** argv)
return 0; return 0;
} }
#endif /* NO_MAIN_DRIVER */
const int megs = 5; /* how many megs to test (en/de)cryption */ const int megs = 5; /* how many megs to test (en/de)cryption */
const int times = 100; /* public key iterations */ const int times = 100; /* public key iterations */