55 inline_static : true
66 api :
77 - [libcrux_intrinsics, avx2]
8+ private :
9+ monomorphizations_exact :
10+ - [ Eurydice, arr_05]
11+ - [ Eurydice, arr_c0]
812
9- # # Constant time ops
10- # - name: libcrux_ct_ops
11- # inline_static: true
12- # api:
13- # - [libcrux_ml_kem, constant_time_ops]
13+ # MLDSA: MISC NON-ARCHITECTURE SPECIFIC HEADERS
14+ - name : libcrux_mldsa_core
15+ inline_static : true
16+ private :
17+ monomorphizations_of :
18+ - [libcrux_ml_dsa, types, "*"]
19+ patterns :
20+ - [core, "*"]
21+ - [libcrux_ml_dsa, types, "*" ]
22+ monomorphizations_exact :
23+ - [libcrux_sha3, Sha3_512Digest]
24+ - [ Eurydice_dst_ref_shared uint8_t size_t_x4]
25+ - [ Eurydice_dst_ref_shared uint8_t size_t_x2]
26+ - [ Eurydice_dst_ref uint8_t size_t_x4]
27+ - [ Eurydice_dst_ref uint8_t size_t_x2]
28+ - [ "Eurydice_slice uint8_t_x4" ]
29+ - [ "Eurydice_slice uint8_t_x2" ]
30+ - [ Eurydice, arr_88]
31+ - [ Eurydice, arr_910]
32+ - [ Eurydice, arr_6d]
33+ - [ core, result, unwrap_26_ab ]
34+ - [ core, result, Result_a4 ]
1435
36+ api :
37+ - [Eurydice, "*"]
38+
1539 # SHA3 (no mention of libcrux_mlkem in this section, please)
16-
1740 - name : libcrux_sha3_avx2
1841 inline_static : true
1942 target : " avx2"
43+ include_in_h :
44+ - ' "intrinsics/libcrux_intrinsics_avx2.h"'
2045 api :
2146 patterns :
2247 - [libcrux_sha3, avx2, "*"]
3257 - [libcrux_sha3, avx2, "*"]
3358 - [libcrux_sha3, simd, avx2, "*"]
3459 - [libcrux_sha3, generic_keccak, simd256, "*"]
35- include_in_h :
36- - ' "intrinsics/libcrux_intrinsics_avx2.h"'
60+
3761
3862 # Portable SHA3
3963 - name : libcrux_sha3_portable
6387 - [libcrux_sha3, generic_keccak, xof, "*"]
6488
6589 # MLDSA-65
66-
6790 - name : libcrux_mldsa65_avx2
6891 inline_static : true
6992 target : " avx2"
7699 - [libcrux_ml_dsa, hash_functions, simd256, "*"]
77100 - [libcrux_ml_dsa, ml_dsa_65, avx2, "*"]
78101 - [libcrux_ml_dsa, ml_dsa_generic, instantiations, avx2, "*"]
79- # - [core, option, Option_c4]
80- # - [libcrux_ml_dsa, polynomial, "*" ]
81102 monomorphizations_of :
82103 - [libcrux_ml_dsa, simd, avx2, "*"]
83104 - [libcrux_ml_dsa, hash_functions, simd256, "*"]
@@ -86,8 +107,9 @@ files:
86107 monomorphizations_using :
87108 - [libcrux_ml_dsa, simd, avx2, "*"]
88109 - [libcrux_ml_dsa, hash_functions, simd256, "*"]
89- # monomorphizations_exact:
90- # - [core, option, Option_c4]
110+ monomorphizations_exact :
111+ - [core, option, Option_e70]
112+ - [ Eurydice, arr_f8]
91113
92114 - name : libcrux_mldsa65_portable
93115 inline_static : true
@@ -99,48 +121,30 @@ files:
99121 - [libcrux_ml_dsa, hash_functions, portable, "*"]
100122 - [libcrux_ml_dsa, ml_dsa_65, portable, "*"]
101123 - [libcrux_ml_dsa, ml_dsa_generic, instantiations, portable, "*"]
102- # - [libcrux_ml_dsa, pre_hash, PreHashResult]
103- # - [core, option, Option_84]
104124 monomorphizations_of :
105125 - [libcrux_ml_dsa, polynomial, "*" ]
106126 - [libcrux_ml_dsa, simd, "*"]
107127 - [libcrux_ml_dsa, hash_functions, portable, "*"]
108128 - [libcrux_ml_dsa, ml_dsa_65, portable]
109129 - [libcrux_ml_dsa, ml_dsa_generic, instantiations, portable, "*"]
110- # - [libcrux_ml_dsa, pre_hash, PreHashResult]
111- # - [core, option, Option_84]
112130 monomorphizations_using :
113131 - [libcrux_ml_dsa, polynomial, "*" ]
114132 - [libcrux_ml_dsa, simd, "*"]
115133 - [libcrux_ml_dsa, hash_functions, portable, "*"]
116134 - [libcrux_ml_dsa, ml_dsa_generic, instantiations, portable, "*"]
117- # - [libcrux_ml_dsa, pre_hash, PreHashResult]
118135 monomorphizations_exact :
119136 - [libcrux_ml_dsa, pre_hash, PreHashResult]
120137 - [core, result, Result_a8]
121138 - [core, option, Option_84]
122139
123-
124- # MLKEM: MISC NON-ARCHITECTURE SPECIFIC HEADERS
125- - name : libcrux_core
140+ # MLDSA: catch-all for things that have not matched earlier
141+ - name : libcrux_mldsa_core
126142 inline_static : true
127143 private :
128144 monomorphizations_of :
129- - [core, "*"]
130- - [libcrux_ml_dsa, types, "*"]
131- - [libcrux_ml_dsa, utils, "*" ]
132- monomorphizations_using :
133145 - [Eurydice, "*" ]
134- - [libcrux_ml_dsa, types, "*"]
135146 patterns :
136- - [core, "*"]
137- - [libcrux_ml_dsa, types ]
138- - [libcrux_ml_dsa, constants ]
139- - [libcrux_ml_dsa, utils, "*" ]
140- # - [libcrux_ml_dsa, simd, traits ]
141- api :
142- - [Eurydice, "*"]
143-
147+ - [Eurydice, "*" ]
144148naming :
145149 skip_prefix :
146150 - [ core, core_arch, arm_shared, neon ]
0 commit comments