add NO_MAIN_DRIVER to CTaoCrypt benchmark
This commit is contained in:
parent
3ff842168e
commit
b91f3c7c6d
@ -110,6 +110,8 @@ static int OpenNitroxDevice(int dma_mode,int dev_id)
|
||||
#endif
|
||||
|
||||
|
||||
/* so embedded projects can pull in tests on their own */
|
||||
#ifndef NO_MAIN_DRIVER
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@ -186,6 +188,8 @@ int main(int argc, char** argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* NO_MAIN_DRIVER */
|
||||
|
||||
const int megs = 5; /* how many megs to test (en/de)cryption */
|
||||
const int times = 100; /* public key iterations */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user