Skip to content

Latest commit

 

History

History
140 lines (140 loc) · 11.6 KB

benchmarks-nucleo-f207zg.md

File metadata and controls

140 lines (140 loc) · 11.6 KB

Speed Evaluation

Key Encapsulation Schemes

scheme implementation key generation [cycles] encapsulation [cycles] decapsulation [cycles]
firesaber (100 executions) clean AVG: 4,008,689
MIN: 4,008,682
MAX: 4,008,721
AVG: 4,978,241
MIN: 4,978,231
MAX: 4,978,270
AVG: 5,765,705
MIN: 5,765,693
MAX: 5,765,732
firesaber (100 executions) m3speed AVG: 1,498,378
MIN: 1,498,375
MAX: 1,498,415
AVG: 1,811,994
MIN: 1,811,991
MAX: 1,812,032
AVG: 1,882,251
MIN: 1,882,247
MAX: 1,882,288
firesaber (100 executions) m3speedstack AVG: 1,777,409
MIN: 1,777,409
MAX: 1,777,409
AVG: 2,116,815
MIN: 2,116,809
MAX: 2,116,849
AVG: 2,190,834
MIN: 2,190,826
MAX: 2,190,867
firesaber (100 executions) m3stack AVG: 2,024,392
MIN: 2,024,388
MAX: 2,024,428
AVG: 2,484,693
MIN: 2,484,688
MAX: 2,484,728
AVG: 2,554,683
MIN: 2,554,678
MAX: 2,554,719
kyber1024 (100 executions) clean AVG: 1,675,464
MIN: 1,672,383
MAX: 1,698,615
AVG: 2,068,032
MIN: 2,062,756
MAX: 2,093,513
AVG: 2,188,135
MIN: 2,185,075
MAX: 2,211,401
kyber1024 (100 executions) m3 AVG: 1,399,645
MIN: 1,395,170
MAX: 1,424,482
AVG: 1,617,669
MIN: 1,611,007
MAX: 1,644,738
AVG: 1,559,322
MIN: 1,554,875
MAX: 1,584,215
kyber512 (100 executions) clean AVG: 685,263
MIN: 684,083
MAX: 698,981
AVG: 908,433
MIN: 905,035
MAX: 924,379
AVG: 1,000,930
MIN: 999,746
MAX: 1,014,644
kyber512 (100 executions) m3 AVG: 539,881
MIN: 538,425
MAX: 553,724
AVG: 656,152
MIN: 652,478
MAX: 672,207
AVG: 627,897
MIN: 626,438
MAX: 641,737
kyber768 (100 executions) clean AVG: 1,134,574
MIN: 1,132,149
MAX: 1,147,417
AVG: 1,401,601
MIN: 1,397,123
MAX: 1,415,312
AVG: 1,512,990
MIN: 1,510,727
MAX: 1,524,691
kyber768 (100 executions) m3 AVG: 886,498
MIN: 883,111
MAX: 898,980
AVG: 1,067,007
MIN: 1,061,410
MAX: 1,081,545
AVG: 1,022,257
MIN: 1,018,875
MAX: 1,034,719
lightsaber (100 executions) clean AVG: 1,238,485
MIN: 1,238,482
MAX: 1,238,522
AVG: 1,800,793
MIN: 1,800,789
MAX: 1,800,829
AVG: 2,196,876
MIN: 2,196,871
MAX: 2,196,912
lightsaber (100 executions) m3speed AVG: 519,952
MIN: 519,951
MAX: 519,990
AVG: 706,161
MIN: 706,160
MAX: 706,200
AVG: 747,411
MIN: 747,410
MAX: 747,450
lightsaber (100 executions) m3speedstack AVG: 566,942
MIN: 566,941
MAX: 566,980
AVG: 785,870
MIN: 785,868
MAX: 785,907
AVG: 829,403
MIN: 829,401
MAX: 829,440
lightsaber (100 executions) m3stack AVG: 613,896
MIN: 613,895
MAX: 613,934
AVG: 862,174
MIN: 862,173
MAX: 862,212
AVG: 903,685
MIN: 903,684
MAX: 903,725
saber (100 executions) clean AVG: 2,612,797
MIN: 2,612,792
MAX: 2,612,832
AVG: 3,437,602
MIN: 3,437,595
MAX: 3,437,635
AVG: 3,916,240
MIN: 3,916,232
MAX: 3,916,271
saber (100 executions) m3speed AVG: 960,237
MIN: 960,236
MAX: 960,277
AVG: 1,217,099
MIN: 1,217,097
MAX: 1,217,137
AVG: 1,266,793
MIN: 1,266,790
MAX: 1,266,830
saber (100 executions) m3speedstack AVG: 1,099,694
MIN: 1,099,694
MAX: 1,099,694
AVG: 1,390,592
MIN: 1,390,592
MAX: 1,390,592
AVG: 1,443,329
MIN: 1,443,329
MAX: 1,443,329
saber (100 executions) m3stack AVG: 1,228,688
MIN: 1,228,685
MAX: 1,228,725
AVG: 1,589,456
MIN: 1,589,453
MAX: 1,589,495
AVG: 1,639,161
MIN: 1,639,158
MAX: 1,639,198

Signature Schemes

scheme implementation key generation [cycles] sign [cycles] verify [cycles]
dilithium2 (100 executions) clean AVG: 2,141,349
MIN: 2,088,037
MAX: 2,172,209
AVG: 9,453,705
MIN: 3,780,779
MAX: 34,824,060
AVG: 2,357,160
MIN: 2,356,494
MAX: 2,357,770
dilithium2 (100 executions) m3 AVG: 1,912,638
MIN: 1,859,293
MAX: 1,943,498
AVG: 6,602,737
MIN: 2,989,784
MAX: 30,248,533
AVG: 1,804,922
MIN: 1,804,303
MAX: 1,805,783
dilithium2aes (100 executions) clean AVG: 5,177,287
MIN: 5,118,119
MAX: 5,248,985
AVG: 14,705,483
MIN: 6,772,934
MAX: 49,768,875
AVG: 4,948,919
MIN: 4,891,535
MAX: 5,023,293
dilithium3 (100 executions) clean AVG: 3,673,281
MIN: 3,669,755
MAX: 3,676,589
AVG: 15,791,303
MIN: 5,806,982
MAX: 61,296,910
AVG: 3,860,668
MIN: 3,860,121
MAX: 3,861,171
dilithium3 (100 executions) m3 AVG: 3,308,859
MIN: 3,305,504
MAX: 3,312,025
AVG: 11,681,062
MIN: 4,638,553
MAX: 48,016,415
AVG: 3,025,694
MIN: 3,025,192
MAX: 3,026,030
dilithium3aes (100 executions) clean AVG: 9,264,996
MIN: 9,201,048
MAX: 9,369,008
AVG: 21,492,568
MIN: 11,241,307
MAX: 59,749,347
AVG: 8,723,854
MIN: 8,662,025
MAX: 8,825,906
picnic3l1 (100 executions) opt AVG: 66,972
MIN: 64,580
MAX: 69,050
AVG: 304,140,458
MIN: 304,118,144
MAX: 304,158,819
AVG: 204,127,371
MIN: 204,037,313
MAX: 204,174,031
picnic3l1 (100 executions) opt-mem AVG: 66,972
MIN: 64,580
MAX: 69,050
AVG: 322,583,594
MIN: 322,530,333
MAX: 322,621,529
AVG: 213,779,607
MIN: 213,713,714
MAX: 213,839,248
picnicl1fs (100 executions) opt AVG: 101,384
MIN: 99,249
MAX: 103,519
AVG: 294,517,846
MIN: 294,516,400
MAX: 294,519,045
AVG: 129,325,001
MIN: 129,315,833
MAX: 129,334,572
picnicl1full (100 executions) opt AVG: 61,210
MIN: 58,904
MAX: 63,198
AVG: 217,549,057
MIN: 217,547,815
MAX: 217,550,649
AVG: 96,688,245
MIN: 96,675,090
MAX: 96,700,718

Memory Evaluation

Key Encapsulation Schemes

Scheme Implementation Key Generation [bytes] Encapsulation [bytes] Decapsulation [bytes]
firesaber clean 19,364 19,468 20,940
firesaber m3speed 7,692 8,372 8,372
firesaber m3speedstack 5,636 3,860 3,860
firesaber m3stack 4,324 3,340 3,364
kyber1024 clean 15,092 18,772 20,340
kyber1024 m3 3,620 3,308 3,324
kyber512 clean 6,108 8,772 9,540
kyber512 m3 2,228 2,316 2,324
kyber768 clean 10,228 13,388 14,476
kyber768 m3 3,108 2,796 2,812
lightsaber clean 9,448 9,552 10,288
lightsaber m3speed 5,636 6,308 6,308
lightsaber m3speedstack 4,604 3,596 3,596
lightsaber m3stack 3,292 3,076 3,356
saber clean 13,040 13,168 14,232
saber m3speed 6,668 7,348 7,348
saber m3speedstack 5,124 3,732 3,732
saber m3stack 3,812 3,212 3,364

Signature Schemes

Scheme Implementation Key Generation [bytes] Sign [bytes] Verify [bytes]
dilithium2 clean 38,292 51,916 36,204
dilithium2 m3 38,324 51,956 36,244
dilithium2aes clean 39,764 53,388 37,676
dilithium3 clean 60,880 79,588 57,732
dilithium3 m3 60,876 79,620 57,772
dilithium3aes clean 62,352 81,060 59,204
picnic3l1 opt 824 69,252 87,648
picnic3l1 opt-mem 832 24,680 32,452
picnicl1fs opt 728 4,060 4,028
picnicl1full opt 824 4,136 3,504

Hashing Evaluation

Key Encapsulation Schemes

Scheme Implementation Key Generation [%] Encapsulation [%] Decapsulation [%]
firesaber clean 18.1% 18.2% 13.1%
firesaber m3speed 52.3% 53.3% 43.2%
firesaber m3speedstack 44.1% 45.7% 37.1%
firesaber m3stack 38.7% 38.9% 31.8%
kyber1024 clean 54.2% 54.1% 42.8%
kyber1024 m3 70.2% 73.7% 64.9%
kyber512 clean 55.6% 53.0% 38.3%
kyber512 m3 70.6% 73.3% 61.0%
kyber768 clean 54.0% 52.5% 39.4%
kyber768 m3 69.1% 73.1% 62.7%
lightsaber clean 22.7% 21.8% 14.1%
lightsaber m3speed 54.1% 55.7% 41.4%
lightsaber m3speedstack 49.6% 50.1% 37.3%
lightsaber m3stack 45.8% 45.6% 34.2%
saber clean 19.8% 19.6% 13.2%
saber m3speed 53.9% 55.1% 43.1%
saber m3speedstack 47.1% 48.3% 37.8%
saber m3stack 42.1% 42.2% 33.3%

Signature Schemes

Scheme Implementation Key Generation [%] Sign [%] Verify [%]
dilithium2 clean 62.0% 31.6% 53.8%
dilithium2 m3 69.4% 40.4% 70.2%
dilithium2aes clean 2.7% 3.1% 4.9%
dilithium3 clean 65.6% 32.6% 57.7%
dilithium3 m3 72.8% 41.9% 73.6%
dilithium3aes clean 2.2% 2.0% 3.5%
picnic3l1 opt 0.0% 69.6% 84.0%
picnic3l1 opt-mem 0.0% 0.0% 0.0%
picnicl1fs opt 0.0% 28.0% 29.3%
picnicl1full opt 0.0% 37.7% 39.1%

Size Evaluation

Key Encapsulation Schemes

Scheme Implementation .text [bytes] .data [bytes] .bss [bytes] Total [bytes]
firesaber clean 10,332 0 0 10,332
firesaber m3speed 30,780 0 0 30,780
firesaber m3speedstack 31,008 0 0 31,008
firesaber m3stack 30,760 0 0 30,760
kyber1024 clean 6,064 0 0 6,064
kyber1024 m3 13,716 0 0 13,716
kyber512 clean 4,888 0 0 4,888
kyber512 m3 12,676 0 0 12,676
kyber768 clean 4,916 0 0 4,916
kyber768 m3 12,816 0 0 12,816
lightsaber clean 10,500 0 0 10,500
lightsaber m3speed 30,968 0 0 30,968
lightsaber m3speedstack 31,196 0 0 31,196
lightsaber m3stack 31,016 0 0 31,016
saber clean 10,240 0 0 10,240
saber m3speed 30,688 0 0 30,688
saber m3speedstack 30,912 0 0 30,912
saber m3stack 30,700 0 0 30,700

Signature Schemes

Scheme Implementation .text [bytes] .data [bytes] .bss [bytes] Total [bytes]
dilithium2 clean 8,004 0 0 8,004
dilithium2 m3 21,324 0 0 21,324
dilithium2aes clean 15,438 0 0 15,438
dilithium3 clean 7,472 0 0 7,472
dilithium3 m3 20,784 0 0 20,784
dilithium3aes clean 14,902 0 0 14,902
picnic3l1 opt 80,044 1,092 13 81,149
picnic3l1 opt-mem 92,732 1,092 13 93,837
picnicl1fs opt 54,626 1,072 0 55,698
picnicl1full opt 104,432 1,072 0 105,504