@@ -91,6 +91,7 @@ add_library(CCryptoBoringSSL STATIC
91
91
"crypto/dh_extra/dh_asn1.c"
92
92
"crypto/dh_extra/params.c"
93
93
"crypto/digest_extra/digest_extra.c"
94
+ "crypto/dilithium/dilithium.c"
94
95
"crypto/dsa/dsa.c"
95
96
"crypto/dsa/dsa_asn1.c"
96
97
"crypto/ec_extra/ec_asn1.c"
@@ -100,10 +101,11 @@ add_library(CCryptoBoringSSL STATIC
100
101
"crypto/ecdsa_extra/ecdsa_asn1.c"
101
102
"crypto/engine/engine.c"
102
103
"crypto/err/err.c"
103
- "crypto/err/err_data.c"
104
104
"crypto/evp/evp.c"
105
105
"crypto/evp/evp_asn1.c"
106
106
"crypto/evp/evp_ctx.c"
107
+ "crypto/evp/p_dh.c"
108
+ "crypto/evp/p_dh_asn1.c"
107
109
"crypto/evp/p_dsa_asn1.c"
108
110
"crypto/evp/p_ec.c"
109
111
"crypto/evp/p_ec_asn1.c"
@@ -119,89 +121,17 @@ add_library(CCryptoBoringSSL STATIC
119
121
"crypto/evp/scrypt.c"
120
122
"crypto/evp/sign.c"
121
123
"crypto/ex_data.c"
122
- "crypto/fipsmodule/aes/aes.c"
123
- "crypto/fipsmodule/aes/aes_nohw.c"
124
- "crypto/fipsmodule/aes/key_wrap.c"
125
- "crypto/fipsmodule/aes/mode_wrappers.c"
126
- "crypto/fipsmodule/bn/add.c"
127
- "crypto/fipsmodule/bn/asm/x86_64-gcc.c"
128
- "crypto/fipsmodule/bn/bn.c"
129
- "crypto/fipsmodule/bn/bytes.c"
130
- "crypto/fipsmodule/bn/cmp.c"
131
- "crypto/fipsmodule/bn/ctx.c"
132
- "crypto/fipsmodule/bn/div.c"
133
- "crypto/fipsmodule/bn/div_extra.c"
134
- "crypto/fipsmodule/bn/exponentiation.c"
135
- "crypto/fipsmodule/bn/gcd.c"
136
- "crypto/fipsmodule/bn/gcd_extra.c"
137
- "crypto/fipsmodule/bn/generic.c"
138
- "crypto/fipsmodule/bn/jacobi.c"
139
- "crypto/fipsmodule/bn/montgomery.c"
140
- "crypto/fipsmodule/bn/montgomery_inv.c"
141
- "crypto/fipsmodule/bn/mul.c"
142
- "crypto/fipsmodule/bn/prime.c"
143
- "crypto/fipsmodule/bn/random.c"
144
- "crypto/fipsmodule/bn/rsaz_exp.c"
145
- "crypto/fipsmodule/bn/shift.c"
146
- "crypto/fipsmodule/bn/sqrt.c"
147
- "crypto/fipsmodule/cipher/aead.c"
148
- "crypto/fipsmodule/cipher/cipher.c"
149
- "crypto/fipsmodule/cipher/e_aes.c"
150
- "crypto/fipsmodule/cipher/e_aesccm.c"
151
- "crypto/fipsmodule/cmac/cmac.c"
152
- "crypto/fipsmodule/dh/check.c"
153
- "crypto/fipsmodule/dh/dh.c"
154
- "crypto/fipsmodule/digest/digest.c"
155
- "crypto/fipsmodule/digest/digests.c"
156
- "crypto/fipsmodule/digestsign/digestsign.c"
157
- "crypto/fipsmodule/ec/ec.c"
158
- "crypto/fipsmodule/ec/ec_key.c"
159
- "crypto/fipsmodule/ec/ec_montgomery.c"
160
- "crypto/fipsmodule/ec/felem.c"
161
- "crypto/fipsmodule/ec/oct.c"
162
- "crypto/fipsmodule/ec/p224-64.c"
163
- "crypto/fipsmodule/ec/p256-nistz.c"
164
- "crypto/fipsmodule/ec/p256.c"
165
- "crypto/fipsmodule/ec/scalar.c"
166
- "crypto/fipsmodule/ec/simple.c"
167
- "crypto/fipsmodule/ec/simple_mul.c"
168
- "crypto/fipsmodule/ec/util.c"
169
- "crypto/fipsmodule/ec/wnaf.c"
170
- "crypto/fipsmodule/ecdh/ecdh.c"
171
- "crypto/fipsmodule/ecdsa/ecdsa.c"
124
+ "crypto/fipsmodule/bcm.c"
172
125
"crypto/fipsmodule/fips_shared_support.c"
173
- "crypto/fipsmodule/hkdf/hkdf.c"
174
- "crypto/fipsmodule/hmac/hmac.c"
175
- "crypto/fipsmodule/md4/md4.c"
176
- "crypto/fipsmodule/md5/md5.c"
177
- "crypto/fipsmodule/modes/cbc.c"
178
- "crypto/fipsmodule/modes/cfb.c"
179
- "crypto/fipsmodule/modes/ctr.c"
180
- "crypto/fipsmodule/modes/gcm.c"
181
- "crypto/fipsmodule/modes/gcm_nohw.c"
182
- "crypto/fipsmodule/modes/ofb.c"
183
- "crypto/fipsmodule/modes/polyval.c"
184
- "crypto/fipsmodule/rand/ctrdrbg.c"
185
- "crypto/fipsmodule/rand/fork_detect.c"
186
- "crypto/fipsmodule/rand/rand.c"
187
- "crypto/fipsmodule/rand/urandom.c"
188
- "crypto/fipsmodule/rsa/blinding.c"
189
- "crypto/fipsmodule/rsa/padding.c"
190
- "crypto/fipsmodule/rsa/rsa.c"
191
- "crypto/fipsmodule/rsa/rsa_impl.c"
192
- "crypto/fipsmodule/self_check/fips.c"
193
- "crypto/fipsmodule/self_check/self_check.c"
194
- "crypto/fipsmodule/service_indicator/service_indicator.c"
195
- "crypto/fipsmodule/sha/sha1.c"
196
- "crypto/fipsmodule/sha/sha256.c"
197
- "crypto/fipsmodule/sha/sha512.c"
198
- "crypto/fipsmodule/tls/kdf.c"
199
126
"crypto/hpke/hpke.c"
200
127
"crypto/hrss/hrss.c"
201
128
"crypto/keccak/keccak.c"
202
129
"crypto/kyber/kyber.c"
203
130
"crypto/lhash/lhash.c"
131
+ "crypto/md4/md4.c"
132
+ "crypto/md5/md5.c"
204
133
"crypto/mem.c"
134
+ "crypto/mldsa/mldsa.c"
205
135
"crypto/obj/obj.c"
206
136
"crypto/obj/obj_xref.c"
207
137
"crypto/pem/pem_all.c"
@@ -222,26 +152,29 @@ add_library(CCryptoBoringSSL STATIC
222
152
"crypto/poly1305/poly1305_vec.c"
223
153
"crypto/pool/pool.c"
224
154
"crypto/rand_extra/deterministic.c"
155
+ "crypto/rand_extra/fork_detect.c"
225
156
"crypto/rand_extra/forkunsafe.c"
226
157
"crypto/rand_extra/getentropy.c"
227
158
"crypto/rand_extra/ios.c"
228
159
"crypto/rand_extra/passive.c"
229
160
"crypto/rand_extra/rand_extra.c"
230
161
"crypto/rand_extra/trusty.c"
162
+ "crypto/rand_extra/urandom.c"
231
163
"crypto/rand_extra/windows.c"
232
164
"crypto/rc4/rc4.c"
233
165
"crypto/refcount.c"
234
166
"crypto/rsa_extra/rsa_asn1.c"
235
167
"crypto/rsa_extra/rsa_crypt.c"
236
168
"crypto/rsa_extra/rsa_print.c"
169
+ "crypto/sha/sha1.c"
237
170
"crypto/siphash/siphash.c"
238
- "crypto/spx/address.c"
239
- "crypto/spx/fors.c"
240
- "crypto/spx/merkle.c"
241
171
"crypto/spx/spx.c"
172
+ "crypto/spx/spx_address.c"
173
+ "crypto/spx/spx_fors.c"
174
+ "crypto/spx/spx_merkle.c"
175
+ "crypto/spx/spx_thash.c"
242
176
"crypto/spx/spx_util.c"
243
- "crypto/spx/thash.c"
244
- "crypto/spx/wots.c"
177
+ "crypto/spx/spx_wots.c"
245
178
"crypto/stack/stack.c"
246
179
"crypto/thread.c"
247
180
"crypto/thread_none.c"
@@ -319,80 +252,21 @@ add_library(CCryptoBoringSSL STATIC
319
252
"crypto/x509/x_spki.c"
320
253
"crypto/x509/x_val.c"
321
254
"crypto/x509/x_x509.c"
322
- "crypto/x509/x_x509a.c" )
255
+ "crypto/x509/x_x509a.c"
256
+ "gen/crypto/err_data.c" )
323
257
324
258
if (CMAKE_SYSTEM_NAME STREQUAL Darwin AND CMAKE_SYSTEM_PROCESSOR MATCHES "amd64|x86_64" )
325
259
target_sources (CCryptoBoringSSL PRIVATE
326
- crypto/chacha/chacha-x86_64-mac.mac.x86_64.S
327
- crypto/cipher_extra/aes128gcmsiv-x86_64-mac.mac.x86_64.S
328
- crypto/cipher_extra/chacha20_poly1305_x86_64-mac.mac.x86_64.S
329
- crypto/fipsmodule/aesni-gcm-x86_64-mac.mac.x86_64.S
330
- crypto/fipsmodule/aesni-x86_64-mac.mac.x86_64.S
331
- crypto/fipsmodule/ghash-ssse3-x86_64-mac.mac.x86_64.S
332
- crypto/fipsmodule/ghash-x86_64-mac.mac.x86_64.S
333
- crypto/fipsmodule/md5-x86_64-mac.mac.x86_64.S
334
- crypto/fipsmodule/p256-x86_64-asm-mac.mac.x86_64.S
335
- crypto/fipsmodule/p256_beeu-x86_64-asm-mac.mac.x86_64.S
336
- crypto/fipsmodule/rdrand-x86_64-mac.mac.x86_64.S
337
- crypto/fipsmodule/rsaz-avx2-mac.mac.x86_64.S
338
- crypto/fipsmodule/sha1-x86_64-mac.mac.x86_64.S
339
- crypto/fipsmodule/sha256-x86_64-mac.mac.x86_64.S
340
- crypto/fipsmodule/sha512-x86_64-mac.mac.x86_64.S
341
- crypto/fipsmodule/vpaes-x86_64-mac.mac.x86_64.S
342
- crypto/fipsmodule/x86_64-mont-mac.mac.x86_64.S
343
- crypto/fipsmodule/x86_64-mont5-mac.mac.x86_64.S )
260
+ )
344
261
elseif (CMAKE_SYSTEM_NAME MATCHES "Linux|Android" AND CMAKE_SYSTEM_PROCESSOR MATCHES "amd64|x86_64" )
345
262
target_sources (CCryptoBoringSSL PRIVATE
346
- crypto/chacha/chacha-x86_64-linux.linux.x86_64.S
347
- crypto/cipher_extra/aes128gcmsiv-x86_64-linux.linux.x86_64.S
348
- crypto/cipher_extra/chacha20_poly1305_x86_64-linux.linux.x86_64.S
349
- crypto/fipsmodule/aesni-gcm-x86_64-linux.linux.x86_64.S
350
- crypto/fipsmodule/aesni-x86_64-linux.linux.x86_64.S
351
- crypto/fipsmodule/ghash-ssse3-x86_64-linux.linux.x86_64.S
352
- crypto/fipsmodule/ghash-x86_64-linux.linux.x86_64.S
353
- crypto/fipsmodule/md5-x86_64-linux.linux.x86_64.S
354
- crypto/fipsmodule/p256-x86_64-asm-linux.linux.x86_64.S
355
- crypto/fipsmodule/p256_beeu-x86_64-asm-linux.linux.x86_64.S
356
- crypto/fipsmodule/rdrand-x86_64-linux.linux.x86_64.S
357
- crypto/fipsmodule/rsaz-avx2-linux.linux.x86_64.S
358
- crypto/fipsmodule/sha1-x86_64-linux.linux.x86_64.S
359
- crypto/fipsmodule/sha256-x86_64-linux.linux.x86_64.S
360
- crypto/fipsmodule/sha512-x86_64-linux.linux.x86_64.S
361
- crypto/fipsmodule/vpaes-x86_64-linux.linux.x86_64.S
362
- crypto/fipsmodule/x86_64-mont-linux.linux.x86_64.S
363
- crypto/fipsmodule/x86_64-mont5-linux.linux.x86_64.S )
263
+ )
364
264
elseif (CMAKE_SYSTEM_NAME STREQUAL Darwin AND CMAKE_SYSTEM_PROCESSOR MATCHES "arm64|aarch64" )
365
265
target_sources (CCryptoBoringSSL PRIVATE
366
- crypto/chacha/chacha-armv8-ios.ios.aarch64.S
367
- crypto/cipher_extra/chacha20_poly1305_armv8-ios.ios.aarch64.S
368
- crypto/fipsmodule/aesv8-armv8-ios.ios.aarch64.S
369
- crypto/fipsmodule/aesv8-gcm-armv8-ios.ios.aarch64.S
370
- crypto/fipsmodule/armv8-mont-ios.ios.aarch64.S
371
- crypto/fipsmodule/bn-armv8-ios.ios.aarch64.S
372
- crypto/fipsmodule/ghash-neon-armv8-ios.ios.aarch64.S
373
- crypto/fipsmodule/ghashv8-armv8-ios.ios.aarch64.S
374
- crypto/fipsmodule/p256-armv8-asm-ios.ios.aarch64.S
375
- crypto/fipsmodule/p256_beeu-armv8-asm-ios.ios.aarch64.S
376
- crypto/fipsmodule/sha1-armv8-ios.ios.aarch64.S
377
- crypto/fipsmodule/sha256-armv8-ios.ios.aarch64.S
378
- crypto/fipsmodule/sha512-armv8-ios.ios.aarch64.S
379
- crypto/fipsmodule/vpaes-armv8-ios.ios.aarch64.S )
266
+ )
380
267
elseif (CMAKE_SYSTEM_NAME MATCHES "Linux|Android" AND CMAKE_SYSTEM_PROCESSOR MATCHES "arm64|aarch64" )
381
268
target_sources (CCryptoBoringSSL PRIVATE
382
- crypto/chacha/chacha-armv8-linux.linux.aarch64.S
383
- crypto/cipher_extra/chacha20_poly1305_armv8-linux.linux.aarch64.S
384
- crypto/fipsmodule/aesv8-armv8-linux.linux.aarch64.S
385
- crypto/fipsmodule/aesv8-gcm-armv8-linux.linux.aarch64.S
386
- crypto/fipsmodule/armv8-mont-linux.linux.aarch64.S
387
- crypto/fipsmodule/bn-armv8-linux.linux.aarch64.S
388
- crypto/fipsmodule/ghash-neon-armv8-linux.linux.aarch64.S
389
- crypto/fipsmodule/ghashv8-armv8-linux.linux.aarch64.S
390
- crypto/fipsmodule/p256-armv8-asm-linux.linux.aarch64.S
391
- crypto/fipsmodule/p256_beeu-armv8-asm-linux.linux.aarch64.S
392
- crypto/fipsmodule/sha1-armv8-linux.linux.aarch64.S
393
- crypto/fipsmodule/sha256-armv8-linux.linux.aarch64.S
394
- crypto/fipsmodule/sha512-armv8-linux.linux.aarch64.S
395
- crypto/fipsmodule/vpaes-armv8-linux.linux.aarch64.S )
269
+ )
396
270
endif ()
397
271
398
272
target_include_directories (CCryptoBoringSSL PUBLIC
0 commit comments