-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #541 from pq-code-package/api_order_include
Fix ordering of includes in arith/fips202 backend
- Loading branch information
Showing
7 changed files
with
72 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arm Cortex-A76 (Raspberry Pi 5) benchmarks
ML-KEM-512 keypair
29180
cycles29180
cycles1
ML-KEM-512 encaps
35550
cycles35555
cycles1.00
ML-KEM-512 decaps
46096
cycles46099
cycles1.00
ML-KEM-768 keypair
49220
cycles49219
cycles1.00
ML-KEM-768 encaps
55380
cycles55379
cycles1.00
ML-KEM-768 decaps
70208
cycles70208
cycles1
ML-KEM-1024 keypair
72237
cycles72230
cycles1.00
ML-KEM-1024 encaps
81077
cycles81071
cycles1.00
ML-KEM-1024 decaps
100881
cycles100876
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intel Xeon 4th gen (c7i)
ML-KEM-512 keypair
13533
cycles13547
cycles1.00
ML-KEM-512 encaps
17316
cycles17319
cycles1.00
ML-KEM-512 decaps
22850
cycles22860
cycles1.00
ML-KEM-768 keypair
22537
cycles22495
cycles1.00
ML-KEM-768 encaps
24505
cycles24463
cycles1.00
ML-KEM-768 decaps
32559
cycles32469
cycles1.00
ML-KEM-1024 keypair
31461
cycles31409
cycles1.00
ML-KEM-1024 encaps
34950
cycles34979
cycles1.00
ML-KEM-1024 decaps
45838
cycles45906
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intel Xeon 3rd gen (c6i)
ML-KEM-512 keypair
20340
cycles20331
cycles1.00
ML-KEM-512 encaps
27297
cycles27001
cycles1.01
ML-KEM-512 decaps
35844
cycles35818
cycles1.00
ML-KEM-768 keypair
34886
cycles34917
cycles1.00
ML-KEM-768 encaps
38189
cycles38215
cycles1.00
ML-KEM-768 decaps
50924
cycles50962
cycles1.00
ML-KEM-1024 keypair
48027
cycles47969
cycles1.00
ML-KEM-1024 encaps
54197
cycles54208
cycles1.00
ML-KEM-1024 decaps
71804
cycles71766
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AMD EPYC 3rd gen (c6a)
ML-KEM-512 keypair
18137
cycles18134
cycles1.00
ML-KEM-512 encaps
23201
cycles23184
cycles1.00
ML-KEM-512 decaps
30511
cycles30491
cycles1.00
ML-KEM-768 keypair
31078
cycles31060
cycles1.00
ML-KEM-768 encaps
34162
cycles34144
cycles1.00
ML-KEM-768 decaps
44729
cycles44726
cycles1.00
ML-KEM-1024 keypair
44565
cycles44648
cycles1.00
ML-KEM-1024 encaps
49897
cycles49879
cycles1.00
ML-KEM-1024 decaps
64402
cycles64405
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AMD EPYC 4th gen (c7a)
ML-KEM-512 keypair
15077
cycles15071
cycles1.00
ML-KEM-512 encaps
19660
cycles19650
cycles1.00
ML-KEM-512 decaps
26308
cycles26299
cycles1.00
ML-KEM-768 keypair
25578
cycles25601
cycles1.00
ML-KEM-768 encaps
28154
cycles28220
cycles1.00
ML-KEM-768 decaps
37846
cycles37873
cycles1.00
ML-KEM-1024 keypair
35641
cycles35572
cycles1.00
ML-KEM-1024 encaps
40966
cycles40971
cycles1.00
ML-KEM-1024 decaps
54548
cycles54546
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intel Xeon 4th gen (c7i) (no-opt)
ML-KEM-512 keypair
34897
cycles34854
cycles1.00
ML-KEM-512 encaps
44978
cycles45023
cycles1.00
ML-KEM-512 decaps
58945
cycles58898
cycles1.00
ML-KEM-768 keypair
59225
cycles59325
cycles1.00
ML-KEM-768 encaps
71828
cycles71988
cycles1.00
ML-KEM-768 decaps
89397
cycles89449
cycles1.00
ML-KEM-1024 keypair
87542
cycles87443
cycles1.00
ML-KEM-1024 encaps
104646
cycles104554
cycles1.00
ML-KEM-1024 decaps
127678
cycles127585
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graviton4
ML-KEM-512 keypair
18199
cycles18189
cycles1.00
ML-KEM-512 encaps
22233
cycles22234
cycles1.00
ML-KEM-512 decaps
28985
cycles28991
cycles1.00
ML-KEM-768 keypair
30681
cycles30684
cycles1.00
ML-KEM-768 encaps
33725
cycles33728
cycles1.00
ML-KEM-768 decaps
43302
cycles43304
cycles1.00
ML-KEM-1024 keypair
44354
cycles44357
cycles1.00
ML-KEM-1024 encaps
49788
cycles49786
cycles1.00
ML-KEM-1024 decaps
62840
cycles62844
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graviton3
ML-KEM-512 keypair
19003
cycles19006
cycles1.00
ML-KEM-512 encaps
23602
cycles23603
cycles1.00
ML-KEM-512 decaps
30765
cycles30765
cycles1
ML-KEM-768 keypair
32272
cycles32272
cycles1
ML-KEM-768 encaps
35727
cycles35732
cycles1.00
ML-KEM-768 decaps
45872
cycles45878
cycles1.00
ML-KEM-1024 keypair
46840
cycles46836
cycles1.00
ML-KEM-1024 encaps
52612
cycles52612
cycles1
ML-KEM-1024 decaps
66495
cycles66492
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graviton2
ML-KEM-512 keypair
29190
cycles29187
cycles1.00
ML-KEM-512 encaps
35560
cycles35558
cycles1.00
ML-KEM-512 decaps
46112
cycles46109
cycles1.00
ML-KEM-768 keypair
49228
cycles49215
cycles1.00
ML-KEM-768 encaps
55407
cycles55389
cycles1.00
ML-KEM-768 decaps
70217
cycles70193
cycles1.00
ML-KEM-1024 keypair
72353
cycles72316
cycles1.00
ML-KEM-1024 encaps
81163
cycles81115
cycles1.00
ML-KEM-1024 decaps
100914
cycles100848
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arm Cortex-A55 (Snapdragon 888) benchmarks
ML-KEM-512 keypair
57964
cycles57872
cycles1.00
ML-KEM-512 encaps
65238
cycles65139
cycles1.00
ML-KEM-512 decaps
83987
cycles83694
cycles1.00
ML-KEM-768 keypair
97986
cycles98126
cycles1.00
ML-KEM-768 encaps
109131
cycles109055
cycles1.00
ML-KEM-768 decaps
135466
cycles135879
cycles1.00
ML-KEM-1024 keypair
148680
cycles148610
cycles1.00
ML-KEM-1024 encaps
164777
cycles165125
cycles1.00
ML-KEM-1024 decaps
200003
cycles200493
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intel Xeon 3rd gen (c6i) (no-opt)
ML-KEM-512 keypair
56640
cycles56621
cycles1.00
ML-KEM-512 encaps
69527
cycles69438
cycles1.00
ML-KEM-512 decaps
91505
cycles91442
cycles1.00
ML-KEM-768 keypair
91903
cycles91895
cycles1.00
ML-KEM-768 encaps
107822
cycles107862
cycles1.00
ML-KEM-768 decaps
136407
cycles136408
cycles1.00
ML-KEM-1024 keypair
134896
cycles134802
cycles1.00
ML-KEM-1024 encaps
155420
cycles155453
cycles1.00
ML-KEM-1024 decaps
191704
cycles191630
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AMD EPYC 3rd gen (c6a) (no-opt)
ML-KEM-512 keypair
52178
cycles52151
cycles1.00
ML-KEM-512 encaps
65783
cycles65706
cycles1.00
ML-KEM-512 decaps
88428
cycles88307
cycles1.00
ML-KEM-768 keypair
84729
cycles84711
cycles1.00
ML-KEM-768 encaps
101502
cycles101421
cycles1.00
ML-KEM-768 decaps
132074
cycles132039
cycles1.00
ML-KEM-1024 keypair
124073
cycles124017
cycles1.00
ML-KEM-1024 encaps
145769
cycles145927
cycles1.00
ML-KEM-1024 decaps
183677
cycles183617
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AMD EPYC 4th gen (c7a) (no-opt)
ML-KEM-512 keypair
45720
cycles45730
cycles1.00
ML-KEM-512 encaps
56867
cycles56861
cycles1.00
ML-KEM-512 decaps
76234
cycles76283
cycles1.00
ML-KEM-768 keypair
74544
cycles74528
cycles1.00
ML-KEM-768 encaps
88570
cycles88565
cycles1.00
ML-KEM-768 decaps
114433
cycles114436
cycles1.00
ML-KEM-1024 keypair
109465
cycles109363
cycles1.00
ML-KEM-1024 encaps
127494
cycles127236
cycles1.00
ML-KEM-1024 decaps
160139
cycles159962
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graviton4 (no-opt)
ML-KEM-512 keypair
41978
cycles41968
cycles1.00
ML-KEM-512 encaps
50164
cycles50160
cycles1.00
ML-KEM-512 decaps
66049
cycles66043
cycles1.00
ML-KEM-768 keypair
69057
cycles69044
cycles1.00
ML-KEM-768 encaps
79763
cycles79764
cycles1.00
ML-KEM-768 decaps
101019
cycles101015
cycles1.00
ML-KEM-1024 keypair
102456
cycles102196
cycles1.00
ML-KEM-1024 encaps
117443
cycles117200
cycles1.00
ML-KEM-1024 decaps
143389
cycles143680
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graviton3 (no-opt)
ML-KEM-512 keypair
45386
cycles45390
cycles1.00
ML-KEM-512 encaps
54214
cycles54215
cycles1.00
ML-KEM-512 decaps
71155
cycles71149
cycles1.00
ML-KEM-768 keypair
74823
cycles74836
cycles1.00
ML-KEM-768 encaps
86063
cycles86074
cycles1.00
ML-KEM-768 decaps
108802
cycles108814
cycles1.00
ML-KEM-1024 keypair
111111
cycles111128
cycles1.00
ML-KEM-1024 encaps
125936
cycles125938
cycles1.00
ML-KEM-1024 decaps
154635
cycles154633
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graviton2 (no-opt)
ML-KEM-512 keypair
71162
cycles71261
cycles1.00
ML-KEM-512 encaps
85065
cycles85063
cycles1.00
ML-KEM-512 decaps
112770
cycles112743
cycles1.00
ML-KEM-768 keypair
117261
cycles117731
cycles1.00
ML-KEM-768 encaps
135096
cycles135381
cycles1.00
ML-KEM-768 decaps
171735
cycles172007
cycles1.00
ML-KEM-1024 keypair
174233
cycles175275
cycles0.99
ML-KEM-1024 encaps
196442
cycles197324
cycles1.00
ML-KEM-1024 decaps
242511
cycles243574
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bananapi bpi-f3 benchmarks
ML-KEM-512 keypair
335046
cycles335059
cycles1.00
ML-KEM-512 encaps
445607
cycles445527
cycles1.00
ML-KEM-512 decaps
593856
cycles593763
cycles1.00
ML-KEM-768 keypair
556062
cycles556213
cycles1.00
ML-KEM-768 encaps
697865
cycles698059
cycles1.00
ML-KEM-768 decaps
889403
cycles890515
cycles1.00
ML-KEM-1024 keypair
821286
cycles821071
cycles1.00
ML-KEM-1024 encaps
998065
cycles998070
cycles1.00
ML-KEM-1024 decaps
1230119
cycles1230307
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
271b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arm Cortex-A72 (Raspberry Pi 4) benchmarks
ML-KEM-512 keypair
52303
cycles51440
cycles1.02
ML-KEM-512 encaps
59330
cycles58352
cycles1.02
ML-KEM-512 decaps
75340
cycles74399
cycles1.01
ML-KEM-768 keypair
88072
cycles87136
cycles1.01
ML-KEM-768 encaps
96577
cycles95043
cycles1.02
ML-KEM-768 decaps
119275
cycles118694
cycles1.00
ML-KEM-1024 keypair
132209
cycles131584
cycles1.00
ML-KEM-1024 encaps
144750
cycles144957
cycles1.00
ML-KEM-1024 decaps
175884
cycles176036
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.