forked from open-quantum-safe/oqs-demos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenable-all-round-3-signatures.patch
4297 lines (4274 loc) · 237 KB
/
enable-all-round-3-signatures.patch
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
From 08e58cd0382fba74a93449d4c4906d120de2096a Mon Sep 17 00:00:00 2001
From: Nico Schwab <[email protected]>
Date: Mon, 1 Feb 2021 14:20:58 +0100
Subject: [PATCH] Enabled all round 3 sigs
---
configure.ac | 38 +--
oqs-template/generate.yml | 108 +++---
oqs-test/test_openssh.py | 4 +-
oqs-utils.h | 276 ++++++++++++++--
pathnames.h | 248 +++++++++++++-
readconf.c | 124 ++++++-
servconf.c | 238 +++++++++++++-
ssh-add.c | 124 ++++++-
ssh-keygen.c | 424 +++++++++++++++++++++++-
ssh-keyscan.c | 672 ++++++++++++++++++++++++++++++++++----
ssh-keysign.c | 126 ++++++-
ssh-oqs.c | 178 +++++++++-
ssh.c | 184 +++++++++--
sshconnect.c | 124 ++++++-
sshkey.c | 124 ++++++-
sshkey.h | 124 ++++++-
16 files changed, 2839 insertions(+), 277 deletions(-)
diff --git a/configure.ac b/configure.ac
index 93347a7b..1a75e19c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3732,7 +3732,7 @@ if test "x$with_liboqs" = "xyes" ; then
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <oqs/oqs.h>
]], [[
- #if defined(OQS_ENABLE_SIG_DILITHIUM) || (defined(OQS_ENABLE_SIG_dilithium_2))
+ #if defined(OQS_ENABLE_SIG_DILITHIUM) || (defined(OQS_ENABLE_SIG_dilithium_2) && defined(OQS_ENABLE_SIG_dilithium_3) && defined(OQS_ENABLE_SIG_dilithium_4))
#else
#error "DILITHIUM is not supported"
#endif
@@ -3746,7 +3746,7 @@ if test "x$with_liboqs" = "xyes" ; then
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <oqs/oqs.h>
]], [[
- #if defined(OQS_ENABLE_SIG_FALCON) || (defined(OQS_ENABLE_SIG_falcon_512))
+ #if defined(OQS_ENABLE_SIG_FALCON) || (defined(OQS_ENABLE_SIG_falcon_512) && defined(OQS_ENABLE_SIG_falcon_1024))
#else
#error "FALCON is not supported"
#endif
@@ -3756,25 +3756,11 @@ if test "x$with_liboqs" = "xyes" ; then
], [AC_MSG_RESULT([no])
])
- AC_MSG_CHECKING([for libOQS MQDSS support])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- #include <oqs/oqs.h>
- ]], [[
- #if defined(OQS_ENABLE_SIG_MQDSS) || (defined(OQS_ENABLE_SIG_mqdss_31_48))
- #else
- #error "MQDSS is not supported"
- #endif
- ]])],
- [ AC_MSG_RESULT([yes])
- AC_DEFINE([HAVE_MQDSS], [1], [Define to 1 if LibOQS library is compiled with support for MQDSS])
- ], [AC_MSG_RESULT([no])
- ])
-
AC_MSG_CHECKING([for libOQS PICNIC support])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <oqs/oqs.h>
]], [[
- #if defined(OQS_ENABLE_SIG_PICNIC) || (defined(OQS_ENABLE_SIG_picnic_L1_FS) && defined(OQS_ENABLE_SIG_picnic3_L1))
+ #if defined(OQS_ENABLE_SIG_PICNIC) || (defined(OQS_ENABLE_SIG_picnic_L1_FS) && defined(OQS_ENABLE_SIG_picnic_L1_UR) && defined(OQS_ENABLE_SIG_picnic_L1_full) && defined(OQS_ENABLE_SIG_picnic_L3_FS) && defined(OQS_ENABLE_SIG_picnic_L3_UR) && defined(OQS_ENABLE_SIG_picnic_L3_full) && defined(OQS_ENABLE_SIG_picnic_L5_FS) && defined(OQS_ENABLE_SIG_picnic_L5_UR) && defined(OQS_ENABLE_SIG_picnic_L5_full) && defined(OQS_ENABLE_SIG_picnic3_L1) && defined(OQS_ENABLE_SIG_picnic3_L3) && defined(OQS_ENABLE_SIG_picnic3_L5))
#else
#error "PICNIC is not supported"
#endif
@@ -3784,25 +3770,11 @@ if test "x$with_liboqs" = "xyes" ; then
], [AC_MSG_RESULT([no])
])
- AC_MSG_CHECKING([for libOQS QTESLA support])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- #include <oqs/oqs.h>
- ]], [[
- #if defined(OQS_ENABLE_SIG_QTESLA) || (defined(OQS_ENABLE_SIG_qTesla_p_I))
- #else
- #error "QTESLA is not supported"
- #endif
- ]])],
- [ AC_MSG_RESULT([yes])
- AC_DEFINE([HAVE_QTESLA], [1], [Define to 1 if LibOQS library is compiled with support for QTESLA])
- ], [AC_MSG_RESULT([no])
- ])
-
AC_MSG_CHECKING([for libOQS RAINBOW support])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <oqs/oqs.h>
]], [[
- #if defined(OQS_ENABLE_SIG_RAINBOW) || (defined(OQS_ENABLE_SIG_rainbow_Ia_classic) && defined(OQS_ENABLE_SIG_rainbow_IIIc_classic) && defined(OQS_ENABLE_SIG_rainbow_Vc_classic))
+ #if defined(OQS_ENABLE_SIG_RAINBOW) || (defined(OQS_ENABLE_SIG_rainbow_Ia_classic) && defined(OQS_ENABLE_SIG_rainbow_Ia_cyclic) && defined(OQS_ENABLE_SIG_rainbow_Ia_cyclic_compressed) && defined(OQS_ENABLE_SIG_rainbow_IIIc_classic) && defined(OQS_ENABLE_SIG_rainbow_IIIc_cyclic) && defined(OQS_ENABLE_SIG_rainbow_IIIc_cyclic_compressed) && defined(OQS_ENABLE_SIG_rainbow_Vc_classic) && defined(OQS_ENABLE_SIG_rainbow_Vc_cyclic) && defined(OQS_ENABLE_SIG_rainbow_Vc_cyclic_compressed))
#else
#error "RAINBOW is not supported"
#endif
@@ -3816,7 +3788,7 @@ if test "x$with_liboqs" = "xyes" ; then
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <oqs/oqs.h>
]], [[
- #if defined(OQS_ENABLE_SIG_SPHINCS) || (defined(OQS_ENABLE_SIG_sphincs_haraka_128f_robust) && defined(OQS_ENABLE_SIG_sphincs_sha256_128f_robust) && defined(OQS_ENABLE_SIG_sphincs_shake256_128f_robust))
+ #if defined(OQS_ENABLE_SIG_SPHINCS) || (defined(OQS_ENABLE_SIG_sphincs_haraka_128f_robust) && defined(OQS_ENABLE_SIG_sphincs_haraka_128f_simple) && defined(OQS_ENABLE_SIG_sphincs_haraka_128s_robust) && defined(OQS_ENABLE_SIG_sphincs_haraka_128s_simple) && defined(OQS_ENABLE_SIG_sphincs_haraka_192f_robust) && defined(OQS_ENABLE_SIG_sphincs_haraka_192f_simple) && defined(OQS_ENABLE_SIG_sphincs_haraka_192s_robust) && defined(OQS_ENABLE_SIG_sphincs_haraka_192s_simple) && defined(OQS_ENABLE_SIG_sphincs_haraka_256f_robust) && defined(OQS_ENABLE_SIG_sphincs_haraka_256f_simple) && defined(OQS_ENABLE_SIG_sphincs_haraka_256s_robust) && defined(OQS_ENABLE_SIG_sphincs_haraka_256s_simple) && defined(OQS_ENABLE_SIG_sphincs_sha256_128f_robust) && defined(OQS_ENABLE_SIG_sphincs_sha256_128f_simple) && defined(OQS_ENABLE_SIG_sphincs_sha256_128s_robust) && defined(OQS_ENABLE_SIG_sphincs_sha256_128s_simple) && defined(OQS_ENABLE_SIG_sphincs_sha256_192f_robust) && defined(OQS_ENABLE_SIG_sphincs_sha256_192f_simple) && defined(OQS_ENABLE_SIG_sphincs_sha256_192s_robust) && defined(OQS_ENABLE_SIG_sphincs_sha256_192s_simple) && defined(OQS_ENABLE_SIG_sphincs_sha256_256f_robust) && defined(OQS_ENABLE_SIG_sphincs_sha256_256f_simple) && defined(OQS_ENABLE_SIG_sphincs_sha256_256s_robust) && defined(OQS_ENABLE_SIG_sphincs_sha256_256s_simple) && defined(OQS_ENABLE_SIG_sphincs_shake256_128f_robust) && defined(OQS_ENABLE_SIG_sphincs_shake256_128f_simple) && defined(OQS_ENABLE_SIG_sphincs_shake256_128s_robust) && defined(OQS_ENABLE_SIG_sphincs_shake256_128s_simple) && defined(OQS_ENABLE_SIG_sphincs_shake256_192f_robust) && defined(OQS_ENABLE_SIG_sphincs_shake256_192f_simple) && defined(OQS_ENABLE_SIG_sphincs_shake256_192s_robust) && defined(OQS_ENABLE_SIG_sphincs_shake256_192s_simple) && defined(OQS_ENABLE_SIG_sphincs_shake256_256f_robust) && defined(OQS_ENABLE_SIG_sphincs_shake256_256f_simple) && defined(OQS_ENABLE_SIG_sphincs_shake256_256s_robust) && defined(OQS_ENABLE_SIG_sphincs_shake256_256s_simple))
#else
#error "SPHINCS is not supported"
#endif
diff --git a/oqs-template/generate.yml b/oqs-template/generate.yml
index 0da0646c..c407982c 100644
--- a/oqs-template/generate.yml
+++ b/oqs-template/generate.yml
@@ -20,13 +20,13 @@ sigs:
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "DILITHIUM_3"
oqs_meth: "OQS_SIG_alg_dilithium_3"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "DILITHIUM_4"
oqs_meth: "OQS_SIG_alg_dilithium_4"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
@@ -40,7 +40,7 @@ sigs:
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "FALCON_1024"
oqs_meth: "OQS_SIG_alg_falcon_1024"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
@@ -48,7 +48,7 @@ sigs:
family: "MQDSS"
variants:
-
- enable: true
+ enable: false
name: "MQDSS_31_48"
oqs_meth: "OQS_SIG_alg_mqdss_31_48"
mix_with: [{'name':'rsa3072'},
@@ -68,44 +68,44 @@ sigs:
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "PICNIC_L1UR"
oqs_meth: "OQS_SIG_alg_picnic_L1_UR"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "PICNIC_L1FULL"
oqs_meth: "OQS_SIG_alg_picnic_L1_full"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "PICNIC_L3FS"
oqs_meth: "OQS_SIG_alg_picnic_L3_FS"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "PICNIC_L3UR"
oqs_meth: "OQS_SIG_alg_picnic_L3_UR"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "PICNIC_L3FULL"
oqs_meth: "OQS_SIG_alg_picnic_L3_full"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "PICNIC_L5FS"
oqs_meth: "OQS_SIG_alg_picnic_L5_FS"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "PICNIC_L5UR"
oqs_meth: "OQS_SIG_alg_picnic_L5_UR"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "PICNIC_L5FULL"
oqs_meth: "OQS_SIG_alg_picnic_L5_full"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
@@ -116,12 +116,12 @@ sigs:
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "PICNIC3_L3"
oqs_meth: "OQS_SIG_alg_picnic3_L3"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "PICNIC3_L5"
oqs_meth: "OQS_SIG_alg_picnic3_L5"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
@@ -129,7 +129,7 @@ sigs:
family: "QTESLA"
variants:
-
- enable: true
+ enable: false
name: "QTESLA_P_I"
oqs_meth: "OQS_SIG_alg_qTesla_p_I"
mix_with: [{'name':'rsa3072'},
@@ -149,13 +149,13 @@ sigs:
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "RAINBOW_IA_CYCLIC"
oqs_meth: "OQS_SIG_alg_rainbow_Ia_cyclic"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "RAINBOW_IA_CYCLIC_COMPRESSED"
oqs_meth: "OQS_SIG_alg_rainbow_Ia_cyclic_compressed"
mix_with: [{'name':'rsa3072'},
@@ -166,12 +166,12 @@ sigs:
oqs_meth: "OQS_SIG_alg_rainbow_IIIc_classic"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "RAINBOW_IIIC_CYCLIC"
oqs_meth: "OQS_SIG_alg_rainbow_IIIc_cyclic"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "RAINBOW_IIIC_CYCLIC_COMPRESSED"
oqs_meth: "OQS_SIG_alg_rainbow_IIIc_cyclic_compressed"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
@@ -181,12 +181,12 @@ sigs:
oqs_meth: "OQS_SIG_alg_rainbow_Vc_classic"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "RAINBOW_VC_CYCLIC"
oqs_meth: "OQS_SIG_alg_rainbow_Vc_cyclic"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "RAINBOW_VC_CYCLIC_COMPRESSED"
oqs_meth: "OQS_SIG_alg_rainbow_Vc_cyclic_compressed"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
@@ -200,61 +200,61 @@ sigs:
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_HARAKA_128F_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_haraka_128f_simple"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_HARAKA_128S_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_haraka_128s_robust"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_HARAKA_128S_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_haraka_128s_simple"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_HARAKA_192F_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_haraka_192f_robust"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_HARAKA_192F_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_haraka_192f_simple"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_HARAKA_192S_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_haraka_192s_robust"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_HARAKA_192S_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_haraka_192s_simple"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_HARAKA_256F_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_haraka_256f_robust"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_HARAKA_256F_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_haraka_256f_simple"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_HARAKA_256S_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_haraka_256s_robust"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_HARAKA_256S_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_haraka_256s_simple"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
@@ -265,61 +265,61 @@ sigs:
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHA256_128F_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_sha256_128f_simple"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHA256_128S_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_sha256_128s_robust"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHA256_128S_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_sha256_128s_simple"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHA256_192F_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_sha256_192f_robust"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHA256_192F_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_sha256_192f_simple"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHA256_192S_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_sha256_192s_robust"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHA256_192S_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_sha256_192s_simple"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHA256_256F_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_sha256_256f_robust"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHA256_256F_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_sha256_256f_simple"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHA256_256S_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_sha256_256s_robust"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHA256_256S_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_sha256_256s_simple"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
@@ -330,61 +330,61 @@ sigs:
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHAKE256_128F_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_shake256_128f_simple"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHAKE256_128S_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_shake256_128s_robust"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHAKE256_128S_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_shake256_128s_simple"
mix_with: [{'name':'rsa3072'},
{'name': 'p256', 'curve':'NID_X9_62_prime256v1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHAKE256_192F_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_shake256_192f_robust"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHAKE256_192F_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_shake256_192f_simple"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHAKE256_192S_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_shake256_192s_robust"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHAKE256_192S_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_shake256_192s_simple"
mix_with: [{'name': 'p384', 'curve':'NID_secp384r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHAKE256_256F_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_shake256_256f_robust"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHAKE256_256F_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_shake256_256f_simple"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHAKE256_256S_ROBUST"
oqs_meth: "OQS_SIG_alg_sphincs_shake256_256s_robust"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
-
- enable: false
+ enable: true
name: "SPHINCS_SHAKE256_256S_SIMPLE"
oqs_meth: "OQS_SIG_alg_sphincs_shake256_256s_simple"
mix_with: [{'name': 'p521', 'curve':'NID_secp521r1'}]
diff --git a/oqs-test/test_openssh.py b/oqs-test/test_openssh.py
index 6afd8a2d..1273e732 100644
--- a/oqs-test/test_openssh.py
+++ b/oqs-test/test_openssh.py
@@ -9,9 +9,9 @@ if 'WITH_PQAUTH' in os.environ and os.environ['WITH_PQAUTH'] == 'true':
sig_algs += [
##### OQS_TEMPLATE_FRAGMENT_LIST_SIGS_START
# post-quantum only sigs
- 'ssh-oqsdefault','ssh-dilithium2','ssh-falcon512','ssh-mqdss3148','ssh-picnicl1fs','ssh-picnic3l1','ssh-qteslapi','ssh-rainbowiaclassic','ssh-rainbowiiicclassic','ssh-rainbowvcclassic','ssh-sphincsharaka128frobust','ssh-sphincssha256128frobust','ssh-sphincsshake256128frobust',
+ 'ssh-oqsdefault','ssh-dilithium2','ssh-dilithium3','ssh-dilithium4','ssh-falcon512','ssh-falcon1024','ssh-picnicl1fs','ssh-picnicl1ur','ssh-picnicl1full','ssh-picnicl3fs','ssh-picnicl3ur','ssh-picnicl3full','ssh-picnicl5fs','ssh-picnicl5ur','ssh-picnicl5full','ssh-picnic3l1','ssh-picnic3l3','ssh-picnic3l5','ssh-rainbowiaclassic','ssh-rainbowiacyclic','ssh-rainbowiacycliccompressed','ssh-rainbowiiicclassic','ssh-rainbowiiiccyclic','ssh-rainbowiiiccycliccompressed','ssh-rainbowvcclassic','ssh-rainbowvccyclic','ssh-rainbowvccycliccompressed','ssh-sphincsharaka128frobust','ssh-sphincsharaka128fsimple','ssh-sphincsharaka128srobust','ssh-sphincsharaka128ssimple','ssh-sphincsharaka192frobust','ssh-sphincsharaka192fsimple','ssh-sphincsharaka192srobust','ssh-sphincsharaka192ssimple','ssh-sphincsharaka256frobust','ssh-sphincsharaka256fsimple','ssh-sphincsharaka256srobust','ssh-sphincsharaka256ssimple','ssh-sphincssha256128frobust','ssh-sphincssha256128fsimple','ssh-sphincssha256128srobust','ssh-sphincssha256128ssimple','ssh-sphincssha256192frobust','ssh-sphincssha256192fsimple','ssh-sphincssha256192srobust','ssh-sphincssha256192ssimple','ssh-sphincssha256256frobust','ssh-sphincssha256256fsimple','ssh-sphincssha256256srobust','ssh-sphincssha256256ssimple','ssh-sphincsshake256128frobust','ssh-sphincsshake256128fsimple','ssh-sphincsshake256128srobust','ssh-sphincsshake256128ssimple','ssh-sphincsshake256192frobust','ssh-sphincsshake256192fsimple','ssh-sphincsshake256192srobust','ssh-sphincsshake256192ssimple','ssh-sphincsshake256256frobust','ssh-sphincsshake256256fsimple','ssh-sphincsshake256256srobust','ssh-sphincsshake256256ssimple',
# hybrid sigs
- 'ssh-rsa3072-oqsdefault','ssh-p256-oqsdefault','ssh-rsa3072-dilithium2','ssh-p256-dilithium2','ssh-rsa3072-falcon512','ssh-p256-falcon512','ssh-rsa3072-mqdss3148','ssh-p256-mqdss3148','ssh-rsa3072-picnicl1fs','ssh-p256-picnicl1fs','ssh-rsa3072-picnic3l1','ssh-p256-picnic3l1','ssh-rsa3072-qteslapi','ssh-p256-qteslapi','ssh-rsa3072-rainbowiaclassic','ssh-p256-rainbowiaclassic','ssh-p384-rainbowiiicclassic','ssh-p521-rainbowvcclassic','ssh-rsa3072-sphincsharaka128frobust','ssh-p256-sphincsharaka128frobust','ssh-rsa3072-sphincssha256128frobust','ssh-p256-sphincssha256128frobust','ssh-rsa3072-sphincsshake256128frobust','ssh-p256-sphincsshake256128frobust',
+ 'ssh-rsa3072-oqsdefault','ssh-p256-oqsdefault','ssh-rsa3072-dilithium2','ssh-p256-dilithium2','ssh-rsa3072-dilithium3','ssh-p256-dilithium3','ssh-p384-dilithium4','ssh-rsa3072-falcon512','ssh-p256-falcon512','ssh-p521-falcon1024','ssh-rsa3072-picnicl1fs','ssh-p256-picnicl1fs','ssh-rsa3072-picnicl1ur','ssh-p256-picnicl1ur','ssh-rsa3072-picnicl1full','ssh-p256-picnicl1full','ssh-p384-picnicl3fs','ssh-p384-picnicl3ur','ssh-p384-picnicl3full','ssh-p521-picnicl5fs','ssh-p521-picnicl5ur','ssh-p521-picnicl5full','ssh-rsa3072-picnic3l1','ssh-p256-picnic3l1','ssh-p384-picnic3l3','ssh-p521-picnic3l5','ssh-rsa3072-rainbowiaclassic','ssh-p256-rainbowiaclassic','ssh-rsa3072-rainbowiacyclic','ssh-p256-rainbowiacyclic','ssh-rsa3072-rainbowiacycliccompressed','ssh-p256-rainbowiacycliccompressed','ssh-p384-rainbowiiicclassic','ssh-p384-rainbowiiiccyclic','ssh-p384-rainbowiiiccycliccompressed','ssh-p521-rainbowvcclassic','ssh-p521-rainbowvccyclic','ssh-p521-rainbowvccycliccompressed','ssh-rsa3072-sphincsharaka128frobust','ssh-p256-sphincsharaka128frobust','ssh-rsa3072-sphincsharaka128fsimple','ssh-p256-sphincsharaka128fsimple','ssh-rsa3072-sphincsharaka128srobust','ssh-p256-sphincsharaka128srobust','ssh-rsa3072-sphincsharaka128ssimple','ssh-p256-sphincsharaka128ssimple','ssh-p384-sphincsharaka192frobust','ssh-p384-sphincsharaka192fsimple','ssh-p384-sphincsharaka192srobust','ssh-p384-sphincsharaka192ssimple','ssh-p521-sphincsharaka256frobust','ssh-p521-sphincsharaka256fsimple','ssh-p521-sphincsharaka256srobust','ssh-p521-sphincsharaka256ssimple','ssh-rsa3072-sphincssha256128frobust','ssh-p256-sphincssha256128frobust','ssh-rsa3072-sphincssha256128fsimple','ssh-p256-sphincssha256128fsimple','ssh-rsa3072-sphincssha256128srobust','ssh-p256-sphincssha256128srobust','ssh-rsa3072-sphincssha256128ssimple','ssh-p256-sphincssha256128ssimple','ssh-p384-sphincssha256192frobust','ssh-p384-sphincssha256192fsimple','ssh-p384-sphincssha256192srobust','ssh-p384-sphincssha256192ssimple','ssh-p521-sphincssha256256frobust','ssh-p521-sphincssha256256fsimple','ssh-p521-sphincssha256256srobust','ssh-p521-sphincssha256256ssimple','ssh-rsa3072-sphincsshake256128frobust','ssh-p256-sphincsshake256128frobust','ssh-rsa3072-sphincsshake256128fsimple','ssh-p256-sphincsshake256128fsimple','ssh-rsa3072-sphincsshake256128srobust','ssh-p256-sphincsshake256128srobust','ssh-rsa3072-sphincsshake256128ssimple','ssh-p256-sphincsshake256128ssimple','ssh-p384-sphincsshake256192frobust','ssh-p384-sphincsshake256192fsimple','ssh-p384-sphincsshake256192srobust','ssh-p384-sphincsshake256192ssimple','ssh-p521-sphincsshake256256frobust','ssh-p521-sphincsshake256256fsimple','ssh-p521-sphincsshake256256srobust','ssh-p521-sphincsshake256256ssimple',
##### OQS_TEMPLATE_FRAGMENT_LIST_SIGS_END
]
diff --git a/oqs-utils.h b/oqs-utils.h
index 82567008..4d6b7c3b 100644
--- a/oqs-utils.h
+++ b/oqs-utils.h
@@ -5,43 +5,117 @@
#define IS_RSA_HYBRID_ALG_NAME(alg) ( \
strcmp(alg, "ssh-rsa3072-oqsdefault") == 0 || \
strcmp(alg, "ssh-rsa3072-dilithium2") == 0 || \
+ strcmp(alg, "ssh-rsa3072-dilithium3") == 0 || \
strcmp(alg, "ssh-rsa3072-falcon512") == 0 || \
- strcmp(alg, "ssh-rsa3072-mqdss3148") == 0 || \
strcmp(alg, "ssh-rsa3072-picnicl1fs") == 0 || \
+ strcmp(alg, "ssh-rsa3072-picnicl1ur") == 0 || \
+ strcmp(alg, "ssh-rsa3072-picnicl1full") == 0 || \
strcmp(alg, "ssh-rsa3072-picnic3l1") == 0 || \
- strcmp(alg, "ssh-rsa3072-qteslapi") == 0 || \
strcmp(alg, "ssh-rsa3072-rainbowiaclassic") == 0 || \
+ strcmp(alg, "ssh-rsa3072-rainbowiacyclic") == 0 || \
+ strcmp(alg, "ssh-rsa3072-rainbowiacycliccompressed") == 0 || \
strcmp(alg, "ssh-rsa3072-sphincsharaka128frobust") == 0 || \
+ strcmp(alg, "ssh-rsa3072-sphincsharaka128fsimple") == 0 || \
+ strcmp(alg, "ssh-rsa3072-sphincsharaka128srobust") == 0 || \
+ strcmp(alg, "ssh-rsa3072-sphincsharaka128ssimple") == 0 || \
strcmp(alg, "ssh-rsa3072-sphincssha256128frobust") == 0 || \
- strcmp(alg, "ssh-rsa3072-sphincsshake256128frobust") == 0)
+ strcmp(alg, "ssh-rsa3072-sphincssha256128fsimple") == 0 || \
+ strcmp(alg, "ssh-rsa3072-sphincssha256128srobust") == 0 || \
+ strcmp(alg, "ssh-rsa3072-sphincssha256128ssimple") == 0 || \
+ strcmp(alg, "ssh-rsa3072-sphincsshake256128frobust") == 0 || \
+ strcmp(alg, "ssh-rsa3072-sphincsshake256128fsimple") == 0 || \
+ strcmp(alg, "ssh-rsa3072-sphincsshake256128srobust") == 0 || \
+ strcmp(alg, "ssh-rsa3072-sphincsshake256128ssimple") == 0)
#define IS_RSA_HYBRID(alg) ( \
alg == KEY_RSA3072_OQSDEFAULT || \
alg == KEY_RSA3072_DILITHIUM_2 || \
+ alg == KEY_RSA3072_DILITHIUM_3 || \
alg == KEY_RSA3072_FALCON_512 || \
- alg == KEY_RSA3072_MQDSS_31_48 || \
alg == KEY_RSA3072_PICNIC_L1FS || \
+ alg == KEY_RSA3072_PICNIC_L1UR || \
+ alg == KEY_RSA3072_PICNIC_L1FULL || \
alg == KEY_RSA3072_PICNIC3_L1 || \
- alg == KEY_RSA3072_QTESLA_P_I || \
alg == KEY_RSA3072_RAINBOW_IA_CLASSIC || \
+ alg == KEY_RSA3072_RAINBOW_IA_CYCLIC || \
+ alg == KEY_RSA3072_RAINBOW_IA_CYCLIC_COMPRESSED || \
alg == KEY_RSA3072_SPHINCS_HARAKA_128F_ROBUST || \
+ alg == KEY_RSA3072_SPHINCS_HARAKA_128F_SIMPLE || \
+ alg == KEY_RSA3072_SPHINCS_HARAKA_128S_ROBUST || \
+ alg == KEY_RSA3072_SPHINCS_HARAKA_128S_SIMPLE || \
alg == KEY_RSA3072_SPHINCS_SHA256_128F_ROBUST || \
- alg == KEY_RSA3072_SPHINCS_SHAKE256_128F_ROBUST)
+ alg == KEY_RSA3072_SPHINCS_SHA256_128F_SIMPLE || \
+ alg == KEY_RSA3072_SPHINCS_SHA256_128S_ROBUST || \
+ alg == KEY_RSA3072_SPHINCS_SHA256_128S_SIMPLE || \
+ alg == KEY_RSA3072_SPHINCS_SHAKE256_128F_ROBUST || \
+ alg == KEY_RSA3072_SPHINCS_SHAKE256_128F_SIMPLE || \
+ alg == KEY_RSA3072_SPHINCS_SHAKE256_128S_ROBUST || \
+ alg == KEY_RSA3072_SPHINCS_SHAKE256_128S_SIMPLE)
#define IS_ECDSA_HYBRID(alg) ( \
alg == KEY_P256_OQSDEFAULT || \
alg == KEY_P256_DILITHIUM_2 || \
+ alg == KEY_P256_DILITHIUM_3 || \
alg == KEY_P256_FALCON_512 || \
- alg == KEY_P256_MQDSS_31_48 || \
alg == KEY_P256_PICNIC_L1FS || \
+ alg == KEY_P256_PICNIC_L1UR || \
+ alg == KEY_P256_PICNIC_L1FULL || \
alg == KEY_P256_PICNIC3_L1 || \
- alg == KEY_P256_QTESLA_P_I || \
alg == KEY_P256_RAINBOW_IA_CLASSIC || \
+ alg == KEY_P256_RAINBOW_IA_CYCLIC || \
+ alg == KEY_P256_RAINBOW_IA_CYCLIC_COMPRESSED || \
alg == KEY_P256_SPHINCS_HARAKA_128F_ROBUST || \
+ alg == KEY_P256_SPHINCS_HARAKA_128F_SIMPLE || \
+ alg == KEY_P256_SPHINCS_HARAKA_128S_ROBUST || \
+ alg == KEY_P256_SPHINCS_HARAKA_128S_SIMPLE || \
alg == KEY_P256_SPHINCS_SHA256_128F_ROBUST || \
+ alg == KEY_P256_SPHINCS_SHA256_128F_SIMPLE || \
+ alg == KEY_P256_SPHINCS_SHA256_128S_ROBUST || \
+ alg == KEY_P256_SPHINCS_SHA256_128S_SIMPLE || \
alg == KEY_P256_SPHINCS_SHAKE256_128F_ROBUST || \
+ alg == KEY_P256_SPHINCS_SHAKE256_128F_SIMPLE || \
+ alg == KEY_P256_SPHINCS_SHAKE256_128S_ROBUST || \
+ alg == KEY_P256_SPHINCS_SHAKE256_128S_SIMPLE || \
+ alg == KEY_P384_DILITHIUM_4 || \
+ alg == KEY_P384_PICNIC_L3FS || \
+ alg == KEY_P384_PICNIC_L3UR || \
+ alg == KEY_P384_PICNIC_L3FULL || \
+ alg == KEY_P384_PICNIC3_L3 || \
alg == KEY_P384_RAINBOW_IIIC_CLASSIC || \
- alg == KEY_P521_RAINBOW_VC_CLASSIC)
+ alg == KEY_P384_RAINBOW_IIIC_CYCLIC || \
+ alg == KEY_P384_RAINBOW_IIIC_CYCLIC_COMPRESSED || \
+ alg == KEY_P384_SPHINCS_HARAKA_192F_ROBUST || \
+ alg == KEY_P384_SPHINCS_HARAKA_192F_SIMPLE || \
+ alg == KEY_P384_SPHINCS_HARAKA_192S_ROBUST || \
+ alg == KEY_P384_SPHINCS_HARAKA_192S_SIMPLE || \
+ alg == KEY_P384_SPHINCS_SHA256_192F_ROBUST || \
+ alg == KEY_P384_SPHINCS_SHA256_192F_SIMPLE || \
+ alg == KEY_P384_SPHINCS_SHA256_192S_ROBUST || \
+ alg == KEY_P384_SPHINCS_SHA256_192S_SIMPLE || \
+ alg == KEY_P384_SPHINCS_SHAKE256_192F_ROBUST || \
+ alg == KEY_P384_SPHINCS_SHAKE256_192F_SIMPLE || \
+ alg == KEY_P384_SPHINCS_SHAKE256_192S_ROBUST || \
+ alg == KEY_P384_SPHINCS_SHAKE256_192S_SIMPLE || \
+ alg == KEY_P521_FALCON_1024 || \
+ alg == KEY_P521_PICNIC_L5FS || \
+ alg == KEY_P521_PICNIC_L5UR || \
+ alg == KEY_P521_PICNIC_L5FULL || \
+ alg == KEY_P521_PICNIC3_L5 || \
+ alg == KEY_P521_RAINBOW_VC_CLASSIC || \
+ alg == KEY_P521_RAINBOW_VC_CYCLIC || \
+ alg == KEY_P521_RAINBOW_VC_CYCLIC_COMPRESSED || \
+ alg == KEY_P521_SPHINCS_HARAKA_256F_ROBUST || \
+ alg == KEY_P521_SPHINCS_HARAKA_256F_SIMPLE || \
+ alg == KEY_P521_SPHINCS_HARAKA_256S_ROBUST || \
+ alg == KEY_P521_SPHINCS_HARAKA_256S_SIMPLE || \
+ alg == KEY_P521_SPHINCS_SHA256_256F_ROBUST || \
+ alg == KEY_P521_SPHINCS_SHA256_256F_SIMPLE || \
+ alg == KEY_P521_SPHINCS_SHA256_256S_ROBUST || \
+ alg == KEY_P521_SPHINCS_SHA256_256S_SIMPLE || \
+ alg == KEY_P521_SPHINCS_SHAKE256_256F_ROBUST || \
+ alg == KEY_P521_SPHINCS_SHAKE256_256F_SIMPLE || \
+ alg == KEY_P521_SPHINCS_SHAKE256_256S_ROBUST || \
+ alg == KEY_P521_SPHINCS_SHAKE256_256S_SIMPLE)
///// OQS_TEMPLATE_FRAGMENT_DEFINE_HYBRID_MACROS_END
#define IS_HYBRID(alg) (IS_RSA_HYBRID(alg) || IS_ECDSA_HYBRID(alg))
@@ -50,17 +124,67 @@
#define IS_OQS_KEY_TYPE(type) ( \
(type) == KEY_OQSDEFAULT || \
(type) == KEY_DILITHIUM_2 || \
+ (type) == KEY_DILITHIUM_3 || \
+ (type) == KEY_DILITHIUM_4 || \
(type) == KEY_FALCON_512 || \
- (type) == KEY_MQDSS_31_48 || \
+ (type) == KEY_FALCON_1024 || \
(type) == KEY_PICNIC_L1FS || \
+ (type) == KEY_PICNIC_L1UR || \
+ (type) == KEY_PICNIC_L1FULL || \
+ (type) == KEY_PICNIC_L3FS || \
+ (type) == KEY_PICNIC_L3UR || \
+ (type) == KEY_PICNIC_L3FULL || \
+ (type) == KEY_PICNIC_L5FS || \
+ (type) == KEY_PICNIC_L5UR || \
+ (type) == KEY_PICNIC_L5FULL || \
(type) == KEY_PICNIC3_L1 || \
- (type) == KEY_QTESLA_P_I || \
+ (type) == KEY_PICNIC3_L3 || \
+ (type) == KEY_PICNIC3_L5 || \
(type) == KEY_RAINBOW_IA_CLASSIC || \
+ (type) == KEY_RAINBOW_IA_CYCLIC || \
+ (type) == KEY_RAINBOW_IA_CYCLIC_COMPRESSED || \
(type) == KEY_RAINBOW_IIIC_CLASSIC || \
+ (type) == KEY_RAINBOW_IIIC_CYCLIC || \
+ (type) == KEY_RAINBOW_IIIC_CYCLIC_COMPRESSED || \
(type) == KEY_RAINBOW_VC_CLASSIC || \
+ (type) == KEY_RAINBOW_VC_CYCLIC || \
+ (type) == KEY_RAINBOW_VC_CYCLIC_COMPRESSED || \
(type) == KEY_SPHINCS_HARAKA_128F_ROBUST || \
+ (type) == KEY_SPHINCS_HARAKA_128F_SIMPLE || \
+ (type) == KEY_SPHINCS_HARAKA_128S_ROBUST || \
+ (type) == KEY_SPHINCS_HARAKA_128S_SIMPLE || \
+ (type) == KEY_SPHINCS_HARAKA_192F_ROBUST || \
+ (type) == KEY_SPHINCS_HARAKA_192F_SIMPLE || \
+ (type) == KEY_SPHINCS_HARAKA_192S_ROBUST || \
+ (type) == KEY_SPHINCS_HARAKA_192S_SIMPLE || \
+ (type) == KEY_SPHINCS_HARAKA_256F_ROBUST || \
+ (type) == KEY_SPHINCS_HARAKA_256F_SIMPLE || \
+ (type) == KEY_SPHINCS_HARAKA_256S_ROBUST || \
+ (type) == KEY_SPHINCS_HARAKA_256S_SIMPLE || \
(type) == KEY_SPHINCS_SHA256_128F_ROBUST || \
+ (type) == KEY_SPHINCS_SHA256_128F_SIMPLE || \
+ (type) == KEY_SPHINCS_SHA256_128S_ROBUST || \
+ (type) == KEY_SPHINCS_SHA256_128S_SIMPLE || \
+ (type) == KEY_SPHINCS_SHA256_192F_ROBUST || \
+ (type) == KEY_SPHINCS_SHA256_192F_SIMPLE || \
+ (type) == KEY_SPHINCS_SHA256_192S_ROBUST || \
+ (type) == KEY_SPHINCS_SHA256_192S_SIMPLE || \
+ (type) == KEY_SPHINCS_SHA256_256F_ROBUST || \
+ (type) == KEY_SPHINCS_SHA256_256F_SIMPLE || \
+ (type) == KEY_SPHINCS_SHA256_256S_ROBUST || \
+ (type) == KEY_SPHINCS_SHA256_256S_SIMPLE || \
(type) == KEY_SPHINCS_SHAKE256_128F_ROBUST || \
+ (type) == KEY_SPHINCS_SHAKE256_128F_SIMPLE || \
+ (type) == KEY_SPHINCS_SHAKE256_128S_ROBUST || \
+ (type) == KEY_SPHINCS_SHAKE256_128S_SIMPLE || \
+ (type) == KEY_SPHINCS_SHAKE256_192F_ROBUST || \
+ (type) == KEY_SPHINCS_SHAKE256_192F_SIMPLE || \
+ (type) == KEY_SPHINCS_SHAKE256_192S_ROBUST || \
+ (type) == KEY_SPHINCS_SHAKE256_192S_SIMPLE || \
+ (type) == KEY_SPHINCS_SHAKE256_256F_ROBUST || \
+ (type) == KEY_SPHINCS_SHAKE256_256F_SIMPLE || \
+ (type) == KEY_SPHINCS_SHAKE256_256S_ROBUST || \
+ (type) == KEY_SPHINCS_SHAKE256_256S_SIMPLE || \
IS_HYBRID(type))
///// OQS_TEMPLATE_FRAGMENT_ASSIGN_PQ_KT_END
@@ -68,47 +192,159 @@
#define CASE_KEY_OQS \
case KEY_OQSDEFAULT: \
case KEY_DILITHIUM_2: \
+ case KEY_DILITHIUM_3: \
+ case KEY_DILITHIUM_4: \
case KEY_FALCON_512: \
- case KEY_MQDSS_31_48: \
+ case KEY_FALCON_1024: \
case KEY_PICNIC_L1FS: \
+ case KEY_PICNIC_L1UR: \
+ case KEY_PICNIC_L1FULL: \
+ case KEY_PICNIC_L3FS: \
+ case KEY_PICNIC_L3UR: \
+ case KEY_PICNIC_L3FULL: \
+ case KEY_PICNIC_L5FS: \
+ case KEY_PICNIC_L5UR: \
+ case KEY_PICNIC_L5FULL: \
case KEY_PICNIC3_L1: \
- case KEY_QTESLA_P_I: \
+ case KEY_PICNIC3_L3: \
+ case KEY_PICNIC3_L5: \
case KEY_RAINBOW_IA_CLASSIC: \
+ case KEY_RAINBOW_IA_CYCLIC: \
+ case KEY_RAINBOW_IA_CYCLIC_COMPRESSED: \
case KEY_RAINBOW_IIIC_CLASSIC: \
+ case KEY_RAINBOW_IIIC_CYCLIC: \
+ case KEY_RAINBOW_IIIC_CYCLIC_COMPRESSED: \
case KEY_RAINBOW_VC_CLASSIC: \
+ case KEY_RAINBOW_VC_CYCLIC: \
+ case KEY_RAINBOW_VC_CYCLIC_COMPRESSED: \
case KEY_SPHINCS_HARAKA_128F_ROBUST: \
+ case KEY_SPHINCS_HARAKA_128F_SIMPLE: \
+ case KEY_SPHINCS_HARAKA_128S_ROBUST: \
+ case KEY_SPHINCS_HARAKA_128S_SIMPLE: \
+ case KEY_SPHINCS_HARAKA_192F_ROBUST: \
+ case KEY_SPHINCS_HARAKA_192F_SIMPLE: \
+ case KEY_SPHINCS_HARAKA_192S_ROBUST: \
+ case KEY_SPHINCS_HARAKA_192S_SIMPLE: \
+ case KEY_SPHINCS_HARAKA_256F_ROBUST: \
+ case KEY_SPHINCS_HARAKA_256F_SIMPLE: \
+ case KEY_SPHINCS_HARAKA_256S_ROBUST: \
+ case KEY_SPHINCS_HARAKA_256S_SIMPLE: \
case KEY_SPHINCS_SHA256_128F_ROBUST: \
- case KEY_SPHINCS_SHAKE256_128F_ROBUST
+ case KEY_SPHINCS_SHA256_128F_SIMPLE: \
+ case KEY_SPHINCS_SHA256_128S_ROBUST: \
+ case KEY_SPHINCS_SHA256_128S_SIMPLE: \
+ case KEY_SPHINCS_SHA256_192F_ROBUST: \
+ case KEY_SPHINCS_SHA256_192F_SIMPLE: \
+ case KEY_SPHINCS_SHA256_192S_ROBUST: \
+ case KEY_SPHINCS_SHA256_192S_SIMPLE: \
+ case KEY_SPHINCS_SHA256_256F_ROBUST: \
+ case KEY_SPHINCS_SHA256_256F_SIMPLE: \
+ case KEY_SPHINCS_SHA256_256S_ROBUST: \
+ case KEY_SPHINCS_SHA256_256S_SIMPLE: \
+ case KEY_SPHINCS_SHAKE256_128F_ROBUST: \
+ case KEY_SPHINCS_SHAKE256_128F_SIMPLE: \
+ case KEY_SPHINCS_SHAKE256_128S_ROBUST: \
+ case KEY_SPHINCS_SHAKE256_128S_SIMPLE: \
+ case KEY_SPHINCS_SHAKE256_192F_ROBUST: \
+ case KEY_SPHINCS_SHAKE256_192F_SIMPLE: \
+ case KEY_SPHINCS_SHAKE256_192S_ROBUST: \
+ case KEY_SPHINCS_SHAKE256_192S_SIMPLE: \
+ case KEY_SPHINCS_SHAKE256_256F_ROBUST: \
+ case KEY_SPHINCS_SHAKE256_256F_SIMPLE: \
+ case KEY_SPHINCS_SHAKE256_256S_ROBUST: \
+ case KEY_SPHINCS_SHAKE256_256S_SIMPLE
///// OQS_TEMPLATE_FRAGMENT_DEFINE_PQ_SWITCH_CASES_END
///// OQS_TEMPLATE_FRAGMENT_DEFINE_HYBRID_SWITCH_CASES_START
#define CASE_KEY_RSA_HYBRID \
case KEY_RSA3072_OQSDEFAULT: \
case KEY_RSA3072_DILITHIUM_2: \
+ case KEY_RSA3072_DILITHIUM_3: \
case KEY_RSA3072_FALCON_512: \
- case KEY_RSA3072_MQDSS_31_48: \
case KEY_RSA3072_PICNIC_L1FS: \
+ case KEY_RSA3072_PICNIC_L1UR: \
+ case KEY_RSA3072_PICNIC_L1FULL: \
case KEY_RSA3072_PICNIC3_L1: \
- case KEY_RSA3072_QTESLA_P_I: \
case KEY_RSA3072_RAINBOW_IA_CLASSIC: \
+ case KEY_RSA3072_RAINBOW_IA_CYCLIC: \
+ case KEY_RSA3072_RAINBOW_IA_CYCLIC_COMPRESSED: \
case KEY_RSA3072_SPHINCS_HARAKA_128F_ROBUST: \
+ case KEY_RSA3072_SPHINCS_HARAKA_128F_SIMPLE: \
+ case KEY_RSA3072_SPHINCS_HARAKA_128S_ROBUST: \
+ case KEY_RSA3072_SPHINCS_HARAKA_128S_SIMPLE: \
case KEY_RSA3072_SPHINCS_SHA256_128F_ROBUST: \
- case KEY_RSA3072_SPHINCS_SHAKE256_128F_ROBUST
+ case KEY_RSA3072_SPHINCS_SHA256_128F_SIMPLE: \
+ case KEY_RSA3072_SPHINCS_SHA256_128S_ROBUST: \
+ case KEY_RSA3072_SPHINCS_SHA256_128S_SIMPLE: \
+ case KEY_RSA3072_SPHINCS_SHAKE256_128F_ROBUST: \
+ case KEY_RSA3072_SPHINCS_SHAKE256_128F_SIMPLE: \
+ case KEY_RSA3072_SPHINCS_SHAKE256_128S_ROBUST: \
+ case KEY_RSA3072_SPHINCS_SHAKE256_128S_SIMPLE
#define CASE_KEY_ECDSA_HYBRID \
case KEY_P256_OQSDEFAULT: \
case KEY_P256_DILITHIUM_2: \
+ case KEY_P256_DILITHIUM_3: \
case KEY_P256_FALCON_512: \
- case KEY_P256_MQDSS_31_48: \
case KEY_P256_PICNIC_L1FS: \
+ case KEY_P256_PICNIC_L1UR: \
+ case KEY_P256_PICNIC_L1FULL: \
case KEY_P256_PICNIC3_L1: \
- case KEY_P256_QTESLA_P_I: \
case KEY_P256_RAINBOW_IA_CLASSIC: \
+ case KEY_P256_RAINBOW_IA_CYCLIC: \
+ case KEY_P256_RAINBOW_IA_CYCLIC_COMPRESSED: \
case KEY_P256_SPHINCS_HARAKA_128F_ROBUST: \
+ case KEY_P256_SPHINCS_HARAKA_128F_SIMPLE: \
+ case KEY_P256_SPHINCS_HARAKA_128S_ROBUST: \
+ case KEY_P256_SPHINCS_HARAKA_128S_SIMPLE: \
case KEY_P256_SPHINCS_SHA256_128F_ROBUST: \
+ case KEY_P256_SPHINCS_SHA256_128F_SIMPLE: \
+ case KEY_P256_SPHINCS_SHA256_128S_ROBUST: \
+ case KEY_P256_SPHINCS_SHA256_128S_SIMPLE: \
case KEY_P256_SPHINCS_SHAKE256_128F_ROBUST: \
+ case KEY_P256_SPHINCS_SHAKE256_128F_SIMPLE: \
+ case KEY_P256_SPHINCS_SHAKE256_128S_ROBUST: \
+ case KEY_P256_SPHINCS_SHAKE256_128S_SIMPLE: \
+ case KEY_P384_DILITHIUM_4: \
+ case KEY_P384_PICNIC_L3FS: \
+ case KEY_P384_PICNIC_L3UR: \
+ case KEY_P384_PICNIC_L3FULL: \
+ case KEY_P384_PICNIC3_L3: \
case KEY_P384_RAINBOW_IIIC_CLASSIC: \
- case KEY_P521_RAINBOW_VC_CLASSIC
+ case KEY_P384_RAINBOW_IIIC_CYCLIC: \
+ case KEY_P384_RAINBOW_IIIC_CYCLIC_COMPRESSED: \
+ case KEY_P384_SPHINCS_HARAKA_192F_ROBUST: \
+ case KEY_P384_SPHINCS_HARAKA_192F_SIMPLE: \
+ case KEY_P384_SPHINCS_HARAKA_192S_ROBUST: \
+ case KEY_P384_SPHINCS_HARAKA_192S_SIMPLE: \
+ case KEY_P384_SPHINCS_SHA256_192F_ROBUST: \
+ case KEY_P384_SPHINCS_SHA256_192F_SIMPLE: \
+ case KEY_P384_SPHINCS_SHA256_192S_ROBUST: \
+ case KEY_P384_SPHINCS_SHA256_192S_SIMPLE: \
+ case KEY_P384_SPHINCS_SHAKE256_192F_ROBUST: \
+ case KEY_P384_SPHINCS_SHAKE256_192F_SIMPLE: \
+ case KEY_P384_SPHINCS_SHAKE256_192S_ROBUST: \
+ case KEY_P384_SPHINCS_SHAKE256_192S_SIMPLE: \
+ case KEY_P521_FALCON_1024: \
+ case KEY_P521_PICNIC_L5FS: \
+ case KEY_P521_PICNIC_L5UR: \
+ case KEY_P521_PICNIC_L5FULL: \
+ case KEY_P521_PICNIC3_L5: \
+ case KEY_P521_RAINBOW_VC_CLASSIC: \
+ case KEY_P521_RAINBOW_VC_CYCLIC: \
+ case KEY_P521_RAINBOW_VC_CYCLIC_COMPRESSED: \
+ case KEY_P521_SPHINCS_HARAKA_256F_ROBUST: \
+ case KEY_P521_SPHINCS_HARAKA_256F_SIMPLE: \
+ case KEY_P521_SPHINCS_HARAKA_256S_ROBUST: \
+ case KEY_P521_SPHINCS_HARAKA_256S_SIMPLE: \
+ case KEY_P521_SPHINCS_SHA256_256F_ROBUST: \
+ case KEY_P521_SPHINCS_SHA256_256F_SIMPLE: \
+ case KEY_P521_SPHINCS_SHA256_256S_ROBUST: \
+ case KEY_P521_SPHINCS_SHA256_256S_SIMPLE: \
+ case KEY_P521_SPHINCS_SHAKE256_256F_ROBUST: \
+ case KEY_P521_SPHINCS_SHAKE256_256F_SIMPLE: \
+ case KEY_P521_SPHINCS_SHAKE256_256S_ROBUST: \
+ case KEY_P521_SPHINCS_SHAKE256_256S_SIMPLE
///// OQS_TEMPLATE_FRAGMENT_DEFINE_HYBRID_SWITCH_CASES_END
#define CASE_KEY_HYBRID \
diff --git a/pathnames.h b/pathnames.h
index 9e80204b..11803ce3 100644
--- a/pathnames.h
+++ b/pathnames.h
@@ -44,41 +44,153 @@
///// OQS_TEMPLATE_FRAGMENT_DEFINE_OQS_KEY_FILES_START
#define _PATH_HOST_OQSDEFAULT_KEY_FILE SSHDIR "/ssh_host_oqsdefault_key"
#define _PATH_HOST_DILITHIUM_2_KEY_FILE SSHDIR "/ssh_host_dilithium2_key"
+#define _PATH_HOST_DILITHIUM_3_KEY_FILE SSHDIR "/ssh_host_dilithium3_key"
+#define _PATH_HOST_DILITHIUM_4_KEY_FILE SSHDIR "/ssh_host_dilithium4_key"
#define _PATH_HOST_FALCON_512_KEY_FILE SSHDIR "/ssh_host_falcon512_key"
-#define _PATH_HOST_MQDSS_31_48_KEY_FILE SSHDIR "/ssh_host_mqdss3148_key"
+#define _PATH_HOST_FALCON_1024_KEY_FILE SSHDIR "/ssh_host_falcon1024_key"
#define _PATH_HOST_PICNIC_L1FS_KEY_FILE SSHDIR "/ssh_host_picnicl1fs_key"
+#define _PATH_HOST_PICNIC_L1UR_KEY_FILE SSHDIR "/ssh_host_picnicl1ur_key"
+#define _PATH_HOST_PICNIC_L1FULL_KEY_FILE SSHDIR "/ssh_host_picnicl1full_key"
+#define _PATH_HOST_PICNIC_L3FS_KEY_FILE SSHDIR "/ssh_host_picnicl3fs_key"
+#define _PATH_HOST_PICNIC_L3UR_KEY_FILE SSHDIR "/ssh_host_picnicl3ur_key"
+#define _PATH_HOST_PICNIC_L3FULL_KEY_FILE SSHDIR "/ssh_host_picnicl3full_key"
+#define _PATH_HOST_PICNIC_L5FS_KEY_FILE SSHDIR "/ssh_host_picnicl5fs_key"
+#define _PATH_HOST_PICNIC_L5UR_KEY_FILE SSHDIR "/ssh_host_picnicl5ur_key"
+#define _PATH_HOST_PICNIC_L5FULL_KEY_FILE SSHDIR "/ssh_host_picnicl5full_key"
#define _PATH_HOST_PICNIC3_L1_KEY_FILE SSHDIR "/ssh_host_picnic3l1_key"
-#define _PATH_HOST_QTESLA_P_I_KEY_FILE SSHDIR "/ssh_host_qteslapi_key"
+#define _PATH_HOST_PICNIC3_L3_KEY_FILE SSHDIR "/ssh_host_picnic3l3_key"
+#define _PATH_HOST_PICNIC3_L5_KEY_FILE SSHDIR "/ssh_host_picnic3l5_key"
#define _PATH_HOST_RAINBOW_IA_CLASSIC_KEY_FILE SSHDIR "/ssh_host_rainbowiaclassic_key"
+#define _PATH_HOST_RAINBOW_IA_CYCLIC_KEY_FILE SSHDIR "/ssh_host_rainbowiacyclic_key"
+#define _PATH_HOST_RAINBOW_IA_CYCLIC_COMPRESSED_KEY_FILE SSHDIR "/ssh_host_rainbowiacycliccompressed_key"
#define _PATH_HOST_RAINBOW_IIIC_CLASSIC_KEY_FILE SSHDIR "/ssh_host_rainbowiiicclassic_key"
+#define _PATH_HOST_RAINBOW_IIIC_CYCLIC_KEY_FILE SSHDIR "/ssh_host_rainbowiiiccyclic_key"
+#define _PATH_HOST_RAINBOW_IIIC_CYCLIC_COMPRESSED_KEY_FILE SSHDIR "/ssh_host_rainbowiiiccycliccompressed_key"
#define _PATH_HOST_RAINBOW_VC_CLASSIC_KEY_FILE SSHDIR "/ssh_host_rainbowvcclassic_key"
+#define _PATH_HOST_RAINBOW_VC_CYCLIC_KEY_FILE SSHDIR "/ssh_host_rainbowvccyclic_key"
+#define _PATH_HOST_RAINBOW_VC_CYCLIC_COMPRESSED_KEY_FILE SSHDIR "/ssh_host_rainbowvccycliccompressed_key"
#define _PATH_HOST_SPHINCS_HARAKA_128F_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincsharaka128frobust_key"
+#define _PATH_HOST_SPHINCS_HARAKA_128F_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincsharaka128fsimple_key"
+#define _PATH_HOST_SPHINCS_HARAKA_128S_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincsharaka128srobust_key"
+#define _PATH_HOST_SPHINCS_HARAKA_128S_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincsharaka128ssimple_key"
+#define _PATH_HOST_SPHINCS_HARAKA_192F_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincsharaka192frobust_key"
+#define _PATH_HOST_SPHINCS_HARAKA_192F_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincsharaka192fsimple_key"
+#define _PATH_HOST_SPHINCS_HARAKA_192S_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincsharaka192srobust_key"
+#define _PATH_HOST_SPHINCS_HARAKA_192S_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincsharaka192ssimple_key"
+#define _PATH_HOST_SPHINCS_HARAKA_256F_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincsharaka256frobust_key"
+#define _PATH_HOST_SPHINCS_HARAKA_256F_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincsharaka256fsimple_key"
+#define _PATH_HOST_SPHINCS_HARAKA_256S_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincsharaka256srobust_key"
+#define _PATH_HOST_SPHINCS_HARAKA_256S_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincsharaka256ssimple_key"
#define _PATH_HOST_SPHINCS_SHA256_128F_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincssha256128frobust_key"
+#define _PATH_HOST_SPHINCS_SHA256_128F_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincssha256128fsimple_key"
+#define _PATH_HOST_SPHINCS_SHA256_128S_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincssha256128srobust_key"
+#define _PATH_HOST_SPHINCS_SHA256_128S_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincssha256128ssimple_key"
+#define _PATH_HOST_SPHINCS_SHA256_192F_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincssha256192frobust_key"
+#define _PATH_HOST_SPHINCS_SHA256_192F_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincssha256192fsimple_key"
+#define _PATH_HOST_SPHINCS_SHA256_192S_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincssha256192srobust_key"
+#define _PATH_HOST_SPHINCS_SHA256_192S_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincssha256192ssimple_key"
+#define _PATH_HOST_SPHINCS_SHA256_256F_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincssha256256frobust_key"
+#define _PATH_HOST_SPHINCS_SHA256_256F_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincssha256256fsimple_key"
+#define _PATH_HOST_SPHINCS_SHA256_256S_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincssha256256srobust_key"
+#define _PATH_HOST_SPHINCS_SHA256_256S_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincssha256256ssimple_key"
#define _PATH_HOST_SPHINCS_SHAKE256_128F_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincsshake256128frobust_key"
+#define _PATH_HOST_SPHINCS_SHAKE256_128F_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincsshake256128fsimple_key"
+#define _PATH_HOST_SPHINCS_SHAKE256_128S_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincsshake256128srobust_key"
+#define _PATH_HOST_SPHINCS_SHAKE256_128S_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincsshake256128ssimple_key"
+#define _PATH_HOST_SPHINCS_SHAKE256_192F_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincsshake256192frobust_key"
+#define _PATH_HOST_SPHINCS_SHAKE256_192F_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincsshake256192fsimple_key"
+#define _PATH_HOST_SPHINCS_SHAKE256_192S_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincsshake256192srobust_key"
+#define _PATH_HOST_SPHINCS_SHAKE256_192S_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincsshake256192ssimple_key"
+#define _PATH_HOST_SPHINCS_SHAKE256_256F_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincsshake256256frobust_key"
+#define _PATH_HOST_SPHINCS_SHAKE256_256F_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincsshake256256fsimple_key"
+#define _PATH_HOST_SPHINCS_SHAKE256_256S_ROBUST_KEY_FILE SSHDIR "/ssh_host_sphincsshake256256srobust_key"
+#define _PATH_HOST_SPHINCS_SHAKE256_256S_SIMPLE_KEY_FILE SSHDIR "/ssh_host_sphincsshake256256ssimple_key"
#define _PATH_HOST_RSA3072_OQSDEFAULT_KEY_FILE SSHDIR "/ssh_host_rsa3072_oqsdefault_key"
#define _PATH_HOST_P256_OQSDEFAULT_KEY_FILE SSHDIR "/ssh_host_p256_oqsdefault_key"
#define _PATH_HOST_RSA3072_DILITHIUM_2_KEY_FILE SSHDIR "/ssh_host_rsa3072_dilithium2_key"
#define _PATH_HOST_P256_DILITHIUM_2_KEY_FILE SSHDIR "/ssh_host_p256_dilithium2_key"
+#define _PATH_HOST_RSA3072_DILITHIUM_3_KEY_FILE SSHDIR "/ssh_host_rsa3072_dilithium3_key"
+#define _PATH_HOST_P256_DILITHIUM_3_KEY_FILE SSHDIR "/ssh_host_p256_dilithium3_key"
+#define _PATH_HOST_P384_DILITHIUM_4_KEY_FILE SSHDIR "/ssh_host_p384_dilithium4_key"
#define _PATH_HOST_RSA3072_FALCON_512_KEY_FILE SSHDIR "/ssh_host_rsa3072_falcon512_key"
#define _PATH_HOST_P256_FALCON_512_KEY_FILE SSHDIR "/ssh_host_p256_falcon512_key"
-#define _PATH_HOST_RSA3072_MQDSS_31_48_KEY_FILE SSHDIR "/ssh_host_rsa3072_mqdss3148_key"
-#define _PATH_HOST_P256_MQDSS_31_48_KEY_FILE SSHDIR "/ssh_host_p256_mqdss3148_key"
+#define _PATH_HOST_P521_FALCON_1024_KEY_FILE SSHDIR "/ssh_host_p521_falcon1024_key"
#define _PATH_HOST_RSA3072_PICNIC_L1FS_KEY_FILE SSHDIR "/ssh_host_rsa3072_picnicl1fs_key"
#define _PATH_HOST_P256_PICNIC_L1FS_KEY_FILE SSHDIR "/ssh_host_p256_picnicl1fs_key"
+#define _PATH_HOST_RSA3072_PICNIC_L1UR_KEY_FILE SSHDIR "/ssh_host_rsa3072_picnicl1ur_key"
+#define _PATH_HOST_P256_PICNIC_L1UR_KEY_FILE SSHDIR "/ssh_host_p256_picnicl1ur_key"
+#define _PATH_HOST_RSA3072_PICNIC_L1FULL_KEY_FILE SSHDIR "/ssh_host_rsa3072_picnicl1full_key"
+#define _PATH_HOST_P256_PICNIC_L1FULL_KEY_FILE SSHDIR "/ssh_host_p256_picnicl1full_key"
+#define _PATH_HOST_P384_PICNIC_L3FS_KEY_FILE SSHDIR "/ssh_host_p384_picnicl3fs_key"
+#define _PATH_HOST_P384_PICNIC_L3UR_KEY_FILE SSHDIR "/ssh_host_p384_picnicl3ur_key"
+#define _PATH_HOST_P384_PICNIC_L3FULL_KEY_FILE SSHDIR "/ssh_host_p384_picnicl3full_key"
+#define _PATH_HOST_P521_PICNIC_L5FS_KEY_FILE SSHDIR "/ssh_host_p521_picnicl5fs_key"
+#define _PATH_HOST_P521_PICNIC_L5UR_KEY_FILE SSHDIR "/ssh_host_p521_picnicl5ur_key"
+#define _PATH_HOST_P521_PICNIC_L5FULL_KEY_FILE SSHDIR "/ssh_host_p521_picnicl5full_key"
#define _PATH_HOST_RSA3072_PICNIC3_L1_KEY_FILE SSHDIR "/ssh_host_rsa3072_picnic3l1_key"
#define _PATH_HOST_P256_PICNIC3_L1_KEY_FILE SSHDIR "/ssh_host_p256_picnic3l1_key"
-#define _PATH_HOST_RSA3072_QTESLA_P_I_KEY_FILE SSHDIR "/ssh_host_rsa3072_qteslapi_key"
-#define _PATH_HOST_P256_QTESLA_P_I_KEY_FILE SSHDIR "/ssh_host_p256_qteslapi_key"
+#define _PATH_HOST_P384_PICNIC3_L3_KEY_FILE SSHDIR "/ssh_host_p384_picnic3l3_key"
+#define _PATH_HOST_P521_PICNIC3_L5_KEY_FILE SSHDIR "/ssh_host_p521_picnic3l5_key"
#define _PATH_HOST_RSA3072_RAINBOW_IA_CLASSIC_KEY_FILE SSHDIR "/ssh_host_rsa3072_rainbowiaclassic_key"
#define _PATH_HOST_P256_RAINBOW_IA_CLASSIC_KEY_FILE SSHDIR "/ssh_host_p256_rainbowiaclassic_key"
+#define _PATH_HOST_RSA3072_RAINBOW_IA_CYCLIC_KEY_FILE SSHDIR "/ssh_host_rsa3072_rainbowiacyclic_key"
+#define _PATH_HOST_P256_RAINBOW_IA_CYCLIC_KEY_FILE SSHDIR "/ssh_host_p256_rainbowiacyclic_key"
+#define _PATH_HOST_RSA3072_RAINBOW_IA_CYCLIC_COMPRESSED_KEY_FILE SSHDIR "/ssh_host_rsa3072_rainbowiacycliccompressed_key"
+#define _PATH_HOST_P256_RAINBOW_IA_CYCLIC_COMPRESSED_KEY_FILE SSHDIR "/ssh_host_p256_rainbowiacycliccompressed_key"
#define _PATH_HOST_P384_RAINBOW_IIIC_CLASSIC_KEY_FILE SSHDIR "/ssh_host_p384_rainbowiiicclassic_key"
+#define _PATH_HOST_P384_RAINBOW_IIIC_CYCLIC_KEY_FILE SSHDIR "/ssh_host_p384_rainbowiiiccyclic_key"
+#define _PATH_HOST_P384_RAINBOW_IIIC_CYCLIC_COMPRESSED_KEY_FILE SSHDIR "/ssh_host_p384_rainbowiiiccycliccompressed_key"
#define _PATH_HOST_P521_RAINBOW_VC_CLASSIC_KEY_FILE SSHDIR "/ssh_host_p521_rainbowvcclassic_key"
+#define _PATH_HOST_P521_RAINBOW_VC_CYCLIC_KEY_FILE SSHDIR "/ssh_host_p521_rainbowvccyclic_key"
+#define _PATH_HOST_P521_RAINBOW_VC_CYCLIC_COMPRESSED_KEY_FILE SSHDIR "/ssh_host_p521_rainbowvccycliccompressed_key"
#define _PATH_HOST_RSA3072_SPHINCS_HARAKA_128F_ROBUST_KEY_FILE SSHDIR "/ssh_host_rsa3072_sphincsharaka128frobust_key"
#define _PATH_HOST_P256_SPHINCS_HARAKA_128F_ROBUST_KEY_FILE SSHDIR "/ssh_host_p256_sphincsharaka128frobust_key"
+#define _PATH_HOST_RSA3072_SPHINCS_HARAKA_128F_SIMPLE_KEY_FILE SSHDIR "/ssh_host_rsa3072_sphincsharaka128fsimple_key"
+#define _PATH_HOST_P256_SPHINCS_HARAKA_128F_SIMPLE_KEY_FILE SSHDIR "/ssh_host_p256_sphincsharaka128fsimple_key"
+#define _PATH_HOST_RSA3072_SPHINCS_HARAKA_128S_ROBUST_KEY_FILE SSHDIR "/ssh_host_rsa3072_sphincsharaka128srobust_key"
+#define _PATH_HOST_P256_SPHINCS_HARAKA_128S_ROBUST_KEY_FILE SSHDIR "/ssh_host_p256_sphincsharaka128srobust_key"
+#define _PATH_HOST_RSA3072_SPHINCS_HARAKA_128S_SIMPLE_KEY_FILE SSHDIR "/ssh_host_rsa3072_sphincsharaka128ssimple_key"
+#define _PATH_HOST_P256_SPHINCS_HARAKA_128S_SIMPLE_KEY_FILE SSHDIR "/ssh_host_p256_sphincsharaka128ssimple_key"
+#define _PATH_HOST_P384_SPHINCS_HARAKA_192F_ROBUST_KEY_FILE SSHDIR "/ssh_host_p384_sphincsharaka192frobust_key"
+#define _PATH_HOST_P384_SPHINCS_HARAKA_192F_SIMPLE_KEY_FILE SSHDIR "/ssh_host_p384_sphincsharaka192fsimple_key"
+#define _PATH_HOST_P384_SPHINCS_HARAKA_192S_ROBUST_KEY_FILE SSHDIR "/ssh_host_p384_sphincsharaka192srobust_key"
+#define _PATH_HOST_P384_SPHINCS_HARAKA_192S_SIMPLE_KEY_FILE SSHDIR "/ssh_host_p384_sphincsharaka192ssimple_key"