revision2

This commit is contained in:
josi 2024-05-14 12:48:34 +02:00
parent 8c5c037629
commit 4e105afbd0
4 changed files with 58 additions and 53 deletions

View File

@ -246,8 +246,4 @@ All notable changes to this project will be documented in this file.
### Added ### Added
- RDTSC instruction for time measuring of signature verification - RDTSC instruction for time measuring of signature verification
- condition in function *SAL_initLib()* for correct compilation without PQ settings - condition in function *SAL_initLib()* for correct compilation without PQ settings
### Changed
- *clock()* in client.cpp return values in seconds, not in ms

BIN
Simko-DP-revizia2.pdf Normal file

Binary file not shown.

9
Simko-DP-revizia2.txt Normal file
View File

@ -0,0 +1,9 @@
07.05.2024
-----------------
- opravené jednotky μs na ms (tab. 6.3, str. 84; príloha J)
13.05.2024
-----------------
- opravené jednotky s na ms (tab. 6.2, str. 83; príloha I)

View File

@ -7,51 +7,51 @@ Windows 11
liboqs 0.9.2 liboqs 0.9.2
KYBER512 KYBER512
Key Generation 0.09 s Key Generation 0.09 ms
Public key size: 800 bytes Public key size: 800 bytes
Secret key size: 1632 bytes Secret key size: 1632 bytes
KYBER768 KYBER768
Key Generation 0.10 s Key Generation 0.10 ms
Public key size: 1184 bytes Public key size: 1184 bytes
Secret key size: 2400 bytes Secret key size: 2400 bytes
KYBER1024 KYBER1024
Key Generation 0.12 s Key Generation 0.12 ms
Public key size: 1568 bytes Public key size: 1568 bytes
Secret key size: 3168 bytes Secret key size: 3168 bytes
HQC128 HQC128
Key Generation 0.11 s Key Generation 0.11 ms
Public key size: 2249 bytes Public key size: 2249 bytes
Secret key size: 2289 bytes Secret key size: 2289 bytes
HQC192 HQC192
Key Generation 0.21 s Key Generation 0.21 ms
Public key size: 4522 bytes Public key size: 4522 bytes
Secret key size: 4562 bytes Secret key size: 4562 bytes
HQC256 HQC256
Key Generation 0.35 s Key Generation 0.35 ms
Public key size: 7245 bytes Public key size: 7245 bytes
Secret key size: 7285 bytes Secret key size: 7285 bytes
FRODO640AES FRODO640AES
Key Generation 0.22 s Key Generation 0.22 ms
Public key size: 9616 bytes Public key size: 9616 bytes
Secret key size: 19888 bytes Secret key size: 19888 bytes
FRODO640SHAKE FRODO640SHAKE
Key Generation 1.43 s Key Generation 1.43 ms
Public key size: 9616 bytes Public key size: 9616 bytes
Secret key size: 19888 bytes Secret key size: 19888 bytes
FRODO976AES FRODO976AES
Key Generation 0.39 s Key Generation 0.39 ms
Public key size: 15632 bytes Public key size: 15632 bytes
Secret key size: 31296 bytes Secret key size: 31296 bytes
FRODO976SHAKE FRODO976SHAKE
Key Generation 3.14 s Key Generation 3.14 ms
Public key size: 15632 bytes Public key size: 15632 bytes
Secret key size: 31296 bytes Secret key size: 31296 bytes
FRODO1344AES FRODO1344AES
Key Generation 0.64 s Key Generation 0.64 ms
Public key size: 21520 bytes Public key size: 21520 bytes
Secret key size: 43088 bytes Secret key size: 43088 bytes
FRODO1344SHAKE FRODO1344SHAKE
Key Generation 5.67 s Key Generation 5.67 ms
Public key size: 21520 bytes Public key size: 21520 bytes
Secret key size: 43088 bytes Secret key size: 43088 bytes
@ -63,77 +63,77 @@ Windows 11
liboqs 0.10.0 liboqs 0.10.0
X25519 X25519
Key Generation 0.13 s Key Generation 0.13 ms
Public key size: 32 bytes Public key size: 32 bytes
Secret key size: 32 bytes Secret key size: 32 bytes
SECP256R1 SECP256R1
Key Generation 0.23 s Key Generation 0.23 ms
Public key size: 65 bytes Public key size: 65 bytes
Secret key size: 32 bytes Secret key size: 32 bytes
SECP384R1 SECP384R1
Key Generation 0.52 s Key Generation 0.52 ms
Public key size: 97 bytes Public key size: 97 bytes
Secret key size: 48 bytes Secret key size: 48 bytes
KYBER512 KYBER512
Key Generation 0.09 s Key Generation 0.09 ms
Public key size: 800 bytes Public key size: 800 bytes
Secret key size: 1632 bytes Secret key size: 1632 bytes
KYBER768 KYBER768
Key Generation 0.10 s Key Generation 0.10 ms
Public key size: 1184 bytes Public key size: 1184 bytes
Secret key size: 2400 bytes Secret key size: 2400 bytes
KYBER1024 KYBER1024
Key Generation 0.12 s Key Generation 0.12 ms
Public key size: 1568 bytes Public key size: 1568 bytes
Secret key size: 3168 bytes Secret key size: 3168 bytes
MLKEM512 MLKEM512
Key Generation 0.05 s Key Generation 0.05 ms
Public key size: 800 bytes Public key size: 800 bytes
Secret key size: 1632 bytes Secret key size: 1632 bytes
MLKEM768 MLKEM768
Key Generation 0.07 s Key Generation 0.07 ms
Public key size: 1184 bytes Public key size: 1184 bytes
Secret key size: 2400 bytes Secret key size: 2400 bytes
MLKEM1024 MLKEM1024
Key Generation 0.09 s Key Generation 0.09 ms
Public key size: 1568 bytes Public key size: 1568 bytes
Secret key size: 3168 bytes Secret key size: 3168 bytes
HQC128 HQC128
Key Generation 1.32 s Key Generation 1.32 ms
Public key size: 2249 bytes Public key size: 2249 bytes
Secret key size: 2305 bytes Secret key size: 2305 bytes
HQC192 HQC192
Key Generation 3.85 s Key Generation 3.85 ms
Public key size: 4522 bytes Public key size: 4522 bytes
Secret key size: 4586 bytes Secret key size: 4586 bytes
HQC256 HQC256
Key Generation 6.95 s Key Generation 6.95 ms
Public key size: 7245 bytes Public key size: 7245 bytes
Secret key size: 7317 bytes Secret key size: 7317 bytes
FRODO640AES FRODO640AES
Key Generation 0.22 s Key Generation 0.22 ms
Public key size: 9616 bytes Public key size: 9616 bytes
Secret key size: 19888 bytes Secret key size: 19888 bytes
FRODO640SHAKE FRODO640SHAKE
Key Generation 1.45 s Key Generation 1.45 ms
Public key size: 9616 bytes Public key size: 9616 bytes
Secret key size: 19888 bytes Secret key size: 19888 bytes
FRODO976AES FRODO976AES
Key Generation 0.39 s Key Generation 0.39 ms
Public key size: 15632 bytes Public key size: 15632 bytes
Secret key size: 31296 bytes Secret key size: 31296 bytes
FRODO976SHAKE FRODO976SHAKE
Key Generation 3.20 s Key Generation 3.20 ms
Public key size: 15632 bytes Public key size: 15632 bytes
Secret key size: 31296 bytes Secret key size: 31296 bytes
FRODO1344AES FRODO1344AES
Key Generation 0.66 s Key Generation 0.66 ms
Public key size: 21520 bytes Public key size: 21520 bytes
Secret key size: 43088 bytes Secret key size: 43088 bytes
FRODO1344SHAKE FRODO1344SHAKE
Key Generation 5.76 s Key Generation 5.76 ms
Public key size: 21520 bytes Public key size: 21520 bytes
Secret key size: 43088 bytes Secret key size: 43088 bytes
@ -145,76 +145,76 @@ Windows 10
liboqs 0.10.0 liboqs 0.10.0
X25519 X25519
Key Generation 0.30 s Key Generation 0.30 ms
Public key size: 32 bytes Public key size: 32 bytes
Secret key size: 32 bytes Secret key size: 32 bytes
SECP256R1 SECP256R1
Key Generation 0.59 s Key Generation 0.59 ms
Public key size: 65 bytes Public key size: 65 bytes
Secret key size: 32 bytes Secret key size: 32 bytes
SECP384R1 SECP384R1
Key Generation 1.51 s Key Generation 1.51 ms
Public key size: 97 bytes Public key size: 97 bytes
Secret key size: 48 bytes Secret key size: 48 bytes
KYBER512 KYBER512
Key Generation 0.35 s Key Generation 0.35 ms
Public key size: 800 bytes Public key size: 800 bytes
Secret key size: 1632 bytes Secret key size: 1632 bytes
KYBER768 KYBER768
Key Generation 0.41 s Key Generation 0.41 ms
Public key size: 1184 bytes Public key size: 1184 bytes
Secret key size: 2400 bytes Secret key size: 2400 bytes
KYBER1024 KYBER1024
Key Generation 0.44 s Key Generation 0.44 ms
Public key size: 1568 bytes Public key size: 1568 bytes
Secret key size: 3168 bytes Secret key size: 3168 bytes
MLKEM512 MLKEM512
Key Generation 0.20 s Key Generation 0.20 ms
Public key size: 800 bytes Public key size: 800 bytes
Secret key size: 1632 bytes Secret key size: 1632 bytes
MLKEM768 MLKEM768
Key Generation 0.24 s Key Generation 0.24 ms
Public key size: 1184 bytes Public key size: 1184 bytes
Secret key size: 2400 bytes Secret key size: 2400 bytes
MLKEM1024 MLKEM1024
Key Generation 0.28 s Key Generation 0.28 ms
Public key size: 1568 bytes Public key size: 1568 bytes
Secret key size: 3168 bytes Secret key size: 3168 bytes
HQC128 HQC128
Key Generation 2.70 s Key Generation 2.70 ms
Public key size: 2249 bytes Public key size: 2249 bytes
Secret key size: 2305 bytes Secret key size: 2305 bytes
HQC192 HQC192
Key Generation 7.29 s Key Generation 7.29 ms
Public key size: 4522 bytes Public key size: 4522 bytes
Secret key size: 4586 bytes Secret key size: 4586 bytes
HQC256 HQC256
Key Generation 14.93 s Key Generation 14.93 ms
Public key size: 7245 bytes Public key size: 7245 bytes
Secret key size: 7317 bytes Secret key size: 7317 bytes
FRODO640AES FRODO640AES
Key Generation 1.20 s Key Generation 1.20 ms
Public key size: 9616 bytes Public key size: 9616 bytes
Secret key size: 19888 bytes Secret key size: 19888 bytes
FRODO640SHAKE FRODO640SHAKE
Key Generation 4.59 s Key Generation 4.59 ms
Public key size: 9616 bytes Public key size: 9616 bytes
Secret key size: 19888 bytes Secret key size: 19888 bytes
FRODO976AES FRODO976AES
Key Generation 1.33 s Key Generation 1.33 ms
Public key size: 15632 bytes Public key size: 15632 bytes
Secret key size: 31296 bytes Secret key size: 31296 bytes
FRODO976SHAKE FRODO976SHAKE
Key Generation 9.28 s Key Generation 9.28 ms
Public key size: 15632 bytes Public key size: 15632 bytes
Secret key size: 31296 bytes Secret key size: 31296 bytes
FRODO1344AES FRODO1344AES
Key Generation 3.58 s Key Generation 3.58 ms
Public key size: 21520 bytes Public key size: 21520 bytes
Secret key size: 43088 bytes Secret key size: 43088 bytes
FRODO1344SHAKE FRODO1344SHAKE
Key Generation 15.80 s Key Generation 15.80 ms
Public key size: 21520 bytes Public key size: 21520 bytes
Secret key size: 43088 bytes Secret key size: 43088 bytes