forked from PenguinsColective/PB173_tucnaci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspec.txt
49 lines (22 loc) · 865 Bytes
/
spec.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Třídy connection
server -> client
client -> client
client -> CA
client -> server
CA -> client
Abstract class
CA connection to client
get key from user
sent key to client on request
int RSA_decryt_and_verify(byte data, private_key * p_key, public_key * c_key, byte out)
int RSA_chek_new_key(data, private_key)
int RSA_encrypt_and_mac(data, prviate_key, public_key, data_out)
Server connection to client
int find_connection_of_client(id, conection);
int count_mac_of_message(data, private_key, output);
Client connection server connection CA connection client2client
int prepare_aes_enc(aes_context);
int aes_encrypt_decrypt(data, key, iv, out)
int RSA_decryt_and_verify(byte data, private_key * p_key, public_key * c_key, byte out)
int RSA_chek_new_key(data, private_key)
int RSA_encrypt_and_mac(data, prviate_key, public_key, data_out)