projects
/
crypto_lab3.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4f01ac0593e04042136982a3e6346a0a5c8fd5d8
[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