-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
334 lines (330 loc) · 11.3 KB
/
CMakeLists.txt
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
cmake_minimum_required(VERSION 3.10)
project(PV204_Project C)
set(CMAKE_C_STANDARD 11)
include_directories(BearSSL/inc)
include_directories(BearSSL/src)
add_executable(PV204_Project
BearSSL/inc/bearssl.h
BearSSL/inc/bearssl_aead.h
BearSSL/inc/bearssl_block.h
BearSSL/inc/bearssl_ec.h
BearSSL/inc/bearssl_hash.h
BearSSL/inc/bearssl_hmac.h
BearSSL/inc/bearssl_kdf.h
BearSSL/inc/bearssl_pem.h
BearSSL/inc/bearssl_prf.h
BearSSL/inc/bearssl_rand.h
BearSSL/inc/bearssl_rsa.h
BearSSL/inc/bearssl_ssl.h
BearSSL/inc/bearssl_x509.h
BearSSL/src/aead/ccm.c
BearSSL/src/aead/eax.c
BearSSL/src/aead/gcm.c
BearSSL/src/codec/ccopy.c
BearSSL/src/codec/dec16be.c
BearSSL/src/codec/dec16le.c
BearSSL/src/codec/dec32be.c
BearSSL/src/codec/dec32le.c
BearSSL/src/codec/dec64be.c
BearSSL/src/codec/dec64le.c
BearSSL/src/codec/enc16be.c
BearSSL/src/codec/enc16le.c
BearSSL/src/codec/enc32be.c
BearSSL/src/codec/enc32le.c
BearSSL/src/codec/enc64be.c
BearSSL/src/codec/enc64le.c
BearSSL/src/codec/pemdec.c
BearSSL/src/codec/pemenc.c
BearSSL/src/ec/ec_all_m15.c
BearSSL/src/ec/ec_all_m31.c
BearSSL/src/ec/ec_c25519_i15.c
BearSSL/src/ec/ec_c25519_i31.c
BearSSL/src/ec/ec_c25519_m15.c
BearSSL/src/ec/ec_c25519_m31.c
BearSSL/src/ec/ec_c25519_m62.c
BearSSL/src/ec/ec_c25519_m64.c
BearSSL/src/ec/ec_curve25519.c
BearSSL/src/ec/ec_default.c
BearSSL/src/ec/ec_keygen.c
BearSSL/src/ec/ec_p256_m15.c
BearSSL/src/ec/ec_p256_m31.c
BearSSL/src/ec/ec_p256_m62.c
BearSSL/src/ec/ec_p256_m64.c
BearSSL/src/ec/ec_prime_i15.c
BearSSL/src/ec/ec_prime_i31.c
BearSSL/src/ec/ec_pubkey.c
BearSSL/src/ec/ec_secp256r1.c
BearSSL/src/ec/ec_secp384r1.c
BearSSL/src/ec/ec_secp521r1.c
BearSSL/src/ec/ecdsa_atr.c
BearSSL/src/ec/ecdsa_default_sign_asn1.c
BearSSL/src/ec/ecdsa_default_sign_raw.c
BearSSL/src/ec/ecdsa_default_vrfy_asn1.c
BearSSL/src/ec/ecdsa_default_vrfy_raw.c
BearSSL/src/ec/ecdsa_i15_bits.c
BearSSL/src/ec/ecdsa_i15_sign_asn1.c
BearSSL/src/ec/ecdsa_i15_sign_raw.c
BearSSL/src/ec/ecdsa_i15_vrfy_asn1.c
BearSSL/src/ec/ecdsa_i15_vrfy_raw.c
BearSSL/src/ec/ecdsa_i31_bits.c
BearSSL/src/ec/ecdsa_i31_sign_asn1.c
BearSSL/src/ec/ecdsa_i31_sign_raw.c
BearSSL/src/ec/ecdsa_i31_vrfy_asn1.c
BearSSL/src/ec/ecdsa_i31_vrfy_raw.c
BearSSL/src/ec/ecdsa_rta.c
BearSSL/src/hash/dig_oid.c
BearSSL/src/hash/dig_size.c
BearSSL/src/hash/ghash_ctmul.c
BearSSL/src/hash/ghash_ctmul32.c
BearSSL/src/hash/ghash_ctmul64.c
BearSSL/src/hash/ghash_pclmul.c
BearSSL/src/hash/ghash_pwr8.c
BearSSL/src/hash/md5.c
BearSSL/src/hash/md5sha1.c
BearSSL/src/hash/mgf1.c
BearSSL/src/hash/multihash.c
BearSSL/src/hash/sha1.c
BearSSL/src/hash/sha2big.c
BearSSL/src/hash/sha2small.c
BearSSL/src/int/i15_add.c
BearSSL/src/int/i15_bitlen.c
BearSSL/src/int/i15_decmod.c
BearSSL/src/int/i15_decode.c
BearSSL/src/int/i15_decred.c
BearSSL/src/int/i15_encode.c
BearSSL/src/int/i15_fmont.c
BearSSL/src/int/i15_iszero.c
BearSSL/src/int/i15_moddiv.c
BearSSL/src/int/i15_modpow.c
BearSSL/src/int/i15_modpow2.c
BearSSL/src/int/i15_montmul.c
BearSSL/src/int/i15_mulacc.c
BearSSL/src/int/i15_muladd.c
BearSSL/src/int/i15_ninv15.c
BearSSL/src/int/i15_reduce.c
BearSSL/src/int/i15_rshift.c
BearSSL/src/int/i15_sub.c
BearSSL/src/int/i15_tmont.c
BearSSL/src/int/i31_add.c
BearSSL/src/int/i31_bitlen.c
BearSSL/src/int/i31_decmod.c
BearSSL/src/int/i31_decode.c
BearSSL/src/int/i31_decred.c
BearSSL/src/int/i31_encode.c
BearSSL/src/int/i31_fmont.c
BearSSL/src/int/i31_iszero.c
BearSSL/src/int/i31_moddiv.c
BearSSL/src/int/i31_modpow.c
BearSSL/src/int/i31_modpow2.c
BearSSL/src/int/i31_montmul.c
BearSSL/src/int/i31_mulacc.c
BearSSL/src/int/i31_muladd.c
BearSSL/src/int/i31_ninv31.c
BearSSL/src/int/i31_reduce.c
BearSSL/src/int/i31_rshift.c
BearSSL/src/int/i31_sub.c
BearSSL/src/int/i31_tmont.c
BearSSL/src/int/i32_add.c
BearSSL/src/int/i32_bitlen.c
BearSSL/src/int/i32_decmod.c
BearSSL/src/int/i32_decode.c
BearSSL/src/int/i32_decred.c
BearSSL/src/int/i32_div32.c
BearSSL/src/int/i32_encode.c
BearSSL/src/int/i32_fmont.c
BearSSL/src/int/i32_iszero.c
BearSSL/src/int/i32_modpow.c
BearSSL/src/int/i32_montmul.c
BearSSL/src/int/i32_mulacc.c
BearSSL/src/int/i32_muladd.c
BearSSL/src/int/i32_ninv32.c
BearSSL/src/int/i32_reduce.c
BearSSL/src/int/i32_sub.c
BearSSL/src/int/i32_tmont.c
BearSSL/src/int/i62_modpow2.c
BearSSL/src/kdf/hkdf.c
BearSSL/src/kdf/shake.c
BearSSL/src/mac/hmac.c
BearSSL/src/mac/hmac_ct.c
BearSSL/src/rand/aesctr_drbg.c
BearSSL/src/rand/hmac_drbg.c
BearSSL/src/rand/sysrng.c
BearSSL/src/rsa/rsa_default_keygen.c
BearSSL/src/rsa/rsa_default_modulus.c
BearSSL/src/rsa/rsa_default_oaep_decrypt.c
BearSSL/src/rsa/rsa_default_oaep_encrypt.c
BearSSL/src/rsa/rsa_default_pkcs1_sign.c
BearSSL/src/rsa/rsa_default_pkcs1_vrfy.c
BearSSL/src/rsa/rsa_default_priv.c
BearSSL/src/rsa/rsa_default_privexp.c
BearSSL/src/rsa/rsa_default_pss_sign.c
BearSSL/src/rsa/rsa_default_pss_vrfy.c
BearSSL/src/rsa/rsa_default_pub.c
BearSSL/src/rsa/rsa_default_pubexp.c
BearSSL/src/rsa/rsa_i15_keygen.c
BearSSL/src/rsa/rsa_i15_modulus.c
BearSSL/src/rsa/rsa_i15_oaep_decrypt.c
BearSSL/src/rsa/rsa_i15_oaep_encrypt.c
BearSSL/src/rsa/rsa_i15_pkcs1_sign.c
BearSSL/src/rsa/rsa_i15_pkcs1_vrfy.c
BearSSL/src/rsa/rsa_i15_priv.c
BearSSL/src/rsa/rsa_i15_privexp.c
BearSSL/src/rsa/rsa_i15_pss_sign.c
BearSSL/src/rsa/rsa_i15_pss_vrfy.c
BearSSL/src/rsa/rsa_i15_pub.c
BearSSL/src/rsa/rsa_i15_pubexp.c
BearSSL/src/rsa/rsa_i31_keygen.c
BearSSL/src/rsa/rsa_i31_keygen_inner.c
BearSSL/src/rsa/rsa_i31_modulus.c
BearSSL/src/rsa/rsa_i31_oaep_decrypt.c
BearSSL/src/rsa/rsa_i31_oaep_encrypt.c
BearSSL/src/rsa/rsa_i31_pkcs1_sign.c
BearSSL/src/rsa/rsa_i31_pkcs1_vrfy.c
BearSSL/src/rsa/rsa_i31_priv.c
BearSSL/src/rsa/rsa_i31_privexp.c
BearSSL/src/rsa/rsa_i31_pss_sign.c
BearSSL/src/rsa/rsa_i31_pss_vrfy.c
BearSSL/src/rsa/rsa_i31_pub.c
BearSSL/src/rsa/rsa_i31_pubexp.c
BearSSL/src/rsa/rsa_i32_oaep_decrypt.c
BearSSL/src/rsa/rsa_i32_oaep_encrypt.c
BearSSL/src/rsa/rsa_i32_pkcs1_sign.c
BearSSL/src/rsa/rsa_i32_pkcs1_vrfy.c
BearSSL/src/rsa/rsa_i32_priv.c
BearSSL/src/rsa/rsa_i32_pss_sign.c
BearSSL/src/rsa/rsa_i32_pss_vrfy.c
BearSSL/src/rsa/rsa_i32_pub.c
BearSSL/src/rsa/rsa_i62_keygen.c
BearSSL/src/rsa/rsa_i62_oaep_decrypt.c
BearSSL/src/rsa/rsa_i62_oaep_encrypt.c
BearSSL/src/rsa/rsa_i62_pkcs1_sign.c
BearSSL/src/rsa/rsa_i62_pkcs1_vrfy.c
BearSSL/src/rsa/rsa_i62_priv.c
BearSSL/src/rsa/rsa_i62_pss_sign.c
BearSSL/src/rsa/rsa_i62_pss_vrfy.c
BearSSL/src/rsa/rsa_i62_pub.c
BearSSL/src/rsa/rsa_oaep_pad.c
BearSSL/src/rsa/rsa_oaep_unpad.c
BearSSL/src/rsa/rsa_pkcs1_sig_pad.c
BearSSL/src/rsa/rsa_pkcs1_sig_unpad.c
BearSSL/src/rsa/rsa_pss_sig_pad.c
BearSSL/src/rsa/rsa_pss_sig_unpad.c
BearSSL/src/rsa/rsa_ssl_decrypt.c
BearSSL/src/ssl/prf.c
BearSSL/src/ssl/prf_md5sha1.c
BearSSL/src/ssl/prf_sha256.c
BearSSL/src/ssl/prf_sha384.c
BearSSL/src/ssl/ssl_ccert_single_ec.c
BearSSL/src/ssl/ssl_ccert_single_rsa.c
BearSSL/src/ssl/ssl_client.c
BearSSL/src/ssl/ssl_client_default_rsapub.c
BearSSL/src/ssl/ssl_client_full.c
BearSSL/src/ssl/ssl_engine.c
BearSSL/src/ssl/ssl_engine_default_aescbc.c
BearSSL/src/ssl/ssl_engine_default_aesccm.c
BearSSL/src/ssl/ssl_engine_default_aesgcm.c
BearSSL/src/ssl/ssl_engine_default_chapol.c
BearSSL/src/ssl/ssl_engine_default_descbc.c
BearSSL/src/ssl/ssl_engine_default_ec.c
BearSSL/src/ssl/ssl_engine_default_ecdsa.c
BearSSL/src/ssl/ssl_engine_default_rsavrfy.c
BearSSL/src/ssl/ssl_hashes.c
BearSSL/src/ssl/ssl_hs_client.c
BearSSL/src/ssl/ssl_hs_server.c
BearSSL/src/ssl/ssl_io.c
BearSSL/src/ssl/ssl_keyexport.c
BearSSL/src/ssl/ssl_lru.c
BearSSL/src/ssl/ssl_rec_cbc.c
BearSSL/src/ssl/ssl_rec_ccm.c
BearSSL/src/ssl/ssl_rec_chapol.c
BearSSL/src/ssl/ssl_rec_gcm.c
BearSSL/src/ssl/ssl_scert_single_ec.c
BearSSL/src/ssl/ssl_scert_single_rsa.c
BearSSL/src/ssl/ssl_server.c
BearSSL/src/ssl/ssl_server_full_ec.c
BearSSL/src/ssl/ssl_server_full_rsa.c
BearSSL/src/ssl/ssl_server_mine2c.c
BearSSL/src/ssl/ssl_server_mine2g.c
BearSSL/src/ssl/ssl_server_minf2c.c
BearSSL/src/ssl/ssl_server_minf2g.c
BearSSL/src/ssl/ssl_server_minr2g.c
BearSSL/src/ssl/ssl_server_minu2g.c
BearSSL/src/ssl/ssl_server_minv2g.c
BearSSL/src/symcipher/aes_big_cbcdec.c
BearSSL/src/symcipher/aes_big_cbcenc.c
BearSSL/src/symcipher/aes_big_ctr.c
BearSSL/src/symcipher/aes_big_ctrcbc.c
BearSSL/src/symcipher/aes_big_dec.c
BearSSL/src/symcipher/aes_big_enc.c
BearSSL/src/symcipher/aes_common.c
BearSSL/src/symcipher/aes_ct.c
BearSSL/src/symcipher/aes_ct64.c
BearSSL/src/symcipher/aes_ct64_cbcdec.c
BearSSL/src/symcipher/aes_ct64_cbcenc.c
BearSSL/src/symcipher/aes_ct64_ctr.c
BearSSL/src/symcipher/aes_ct64_ctrcbc.c
BearSSL/src/symcipher/aes_ct64_dec.c
BearSSL/src/symcipher/aes_ct64_enc.c
BearSSL/src/symcipher/aes_ct_cbcdec.c
BearSSL/src/symcipher/aes_ct_cbcenc.c
BearSSL/src/symcipher/aes_ct_ctr.c
BearSSL/src/symcipher/aes_ct_ctrcbc.c
BearSSL/src/symcipher/aes_ct_dec.c
BearSSL/src/symcipher/aes_ct_enc.c
BearSSL/src/symcipher/aes_pwr8.c
BearSSL/src/symcipher/aes_pwr8_cbcdec.c
BearSSL/src/symcipher/aes_pwr8_cbcenc.c
BearSSL/src/symcipher/aes_pwr8_ctr.c
BearSSL/src/symcipher/aes_pwr8_ctrcbc.c
BearSSL/src/symcipher/aes_small_cbcdec.c
BearSSL/src/symcipher/aes_small_cbcenc.c
BearSSL/src/symcipher/aes_small_ctr.c
BearSSL/src/symcipher/aes_small_ctrcbc.c
BearSSL/src/symcipher/aes_small_dec.c
BearSSL/src/symcipher/aes_small_enc.c
BearSSL/src/symcipher/aes_x86ni.c
BearSSL/src/symcipher/aes_x86ni_cbcdec.c
BearSSL/src/symcipher/aes_x86ni_cbcenc.c
BearSSL/src/symcipher/aes_x86ni_ctr.c
BearSSL/src/symcipher/aes_x86ni_ctrcbc.c
BearSSL/src/symcipher/chacha20_ct.c
BearSSL/src/symcipher/chacha20_sse2.c
BearSSL/src/symcipher/des_ct.c
BearSSL/src/symcipher/des_ct_cbcdec.c
BearSSL/src/symcipher/des_ct_cbcenc.c
BearSSL/src/symcipher/des_support.c
BearSSL/src/symcipher/des_tab.c
BearSSL/src/symcipher/des_tab_cbcdec.c
BearSSL/src/symcipher/des_tab_cbcenc.c
BearSSL/src/symcipher/poly1305_ctmul.c
BearSSL/src/symcipher/poly1305_ctmul32.c
BearSSL/src/symcipher/poly1305_ctmulq.c
BearSSL/src/symcipher/poly1305_i15.c
BearSSL/src/x509/asn1enc.c
BearSSL/src/x509/encode_ec_pk8der.c
BearSSL/src/x509/encode_ec_rawder.c
BearSSL/src/x509/encode_rsa_pk8der.c
BearSSL/src/x509/encode_rsa_rawder.c
BearSSL/src/x509/skey_decoder.c
BearSSL/src/x509/x509_decoder.c
BearSSL/src/x509/x509_knownkey.c
BearSSL/src/x509/x509_minimal.c
BearSSL/src/x509/x509_minimal_full.c
BearSSL/src/config.h
BearSSL/src/inner.h
BearSSL/src/settings.c
# generator.c
# second_phase/analyser.c
# second_phase/rsa_analysis.c
# second_phase/rsa_analysis.h
# second_phase/utils.h
# second_phase/ecc_analysis.h
# second_phase/ecc_analysis.c
# second_phase/utils.c
BearSSL/pkcs11/pkcs11.h
BearSSL/pkcs11/pkcs11_ft.h
BearSSL/pkcs11/pkcs11f.h
BearSSL/pkcs11/pkcs11t.h
third_phase/tester.c
BearSSL/src/rsa/rsa_token_keygen.c
BearSSL/pkcs11/pkcs11_controller.h BearSSL/src/ec/ec_token_keygen.c BearSSL/src/rsa/rsa_token_pkcs1_sign.c BearSSL/src/rsa/rsa_token_oaep_decrypt.c BearSSL/pkcs11/pkcs11_controller.c BearSSL/src/ec/ec_token_pubkey.c BearSSL/src/ec/ecdsa_token_sign_raw.c)