File tree Expand file tree Collapse file tree 1 file changed +19
-6
lines changed Expand file tree Collapse file tree 1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change 7
7
8
8
#define MLD_RANDOMIZED_SIGNING
9
9
10
+ #ifndef MLD_CONFIG_PARAMETER_SET
10
11
#ifndef MLDSA_MODE
11
12
#define MLDSA_MODE 2
12
13
#endif
13
14
14
15
#if MLDSA_MODE == 2
15
- #define MLD_NAMESPACETOP MLD_44_ref
16
- #define MLD_NAMESPACE (s ) MLD_44_ref_##s
16
+ #define MLD_CONFIG_PARAMETER_SET 44
17
17
#elif MLDSA_MODE == 3
18
- #define MLD_NAMESPACETOP MLD_65_ref
19
- #define MLD_NAMESPACE (s ) MLD_65_ref_##s
18
+ #define MLD_CONFIG_PARAMETER_SET 65
20
19
#elif MLDSA_MODE == 5
21
- #define MLD_NAMESPACETOP MLD_87_ref
22
- #define MLD_NAMESPACE (s ) MLD_87_ref_##s
20
+ #define MLD_CONFIG_PARAMETER_SET 87
21
+ #else
22
+ #define MLD_CONFIG_PARAMETER_SET 44
23
+ #endif
24
+ #endif
25
+
26
+ #ifndef MLD_CONFIG_NAMESPACE_PREFIX
27
+ #if MLD_CONFIG_PARAMETER_SET == 44
28
+ #define MLD_CONFIG_NAMESPACE_PREFIX MLD_44_ref_
29
+ #elif MLD_CONFIG_PARAMETER_SET == 65
30
+ #define MLD_CONFIG_NAMESPACE_PREFIX MLD_65_ref_
31
+ #elif MLD_CONFIG_PARAMETER_SET == 87
32
+ #define MLD_CONFIG_NAMESPACE_PREFIX MLD_87_ref_
33
+ #else
34
+ #define MLD_CONFIG_NAMESPACE_PREFIX MLD_44_ref_
35
+ #endif
23
36
#endif
24
37
25
38
You can’t perform that action at this time.
0 commit comments