Add measures and tests.
[crypto_lab3.git] / src / Tests.h
1 #ifndef TESTS_H
2 #define TESTS_H
3
4 #include "Utils.h"
5
6 class Tests
7 {
8 public:
9 Tests(uint keySizeBits, uint rsaPublicExponent);
10
11 void runTests();
12 void runTimeMeasures();
13
14 private:
15 bool rsaStandard();
16 bool rsaCrt();
17
18 int timeSignRsaStd(int N);
19 int timeSignRsaCRT(int N);
20
21 const uint KEY_SIZE_BITS;
22 const uint RSA_PUBLIC_EXPONENT;
23 };
24
25 #endif