mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 20:54:41 +02:00
add NO_MAIN_DRIVER to CTaoCrypt benchmark
This commit is contained in:
@@ -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 */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user