1CONFIGURE_ARGS_TRUSTY="\
2-DL_ENDIAN \
3linux-generic32:::<trusty_std.h> \
4no-camellia \
5no-capieng \
6no-cast \
7no-cms \
8no-comp \
9no-conf \
10no-des \
11no-dso \
12no-dtls1 \
13no-err \
14no-gost \
15no-gmp \
16no-heartbeats \
17no-idea \
18no-jpake \
19no-krb5 \
20no-locking \
21no-md2 \
22no-md4 \
23no-md5 \
24no-mdc2 \
25no-ocsp \
26no-pem \
27no-pkcs12 \
28no-pqueue \
29no-rc2 \
30no-rc4 \
31no-rc5 \
32no-rc5 \
33no-rdrand \
34no-rfc3779 \
35no-ripemd \
36no-rsax \
37no-sctp \
38no-seed \
39no-sha0 \
40no-srp \
41no-ssl \
42no-static_engine \
43no-store \
44no-threads \
45no-ts \
46no-txt_db \
47no-ui \
48no-whirlpool \
49"
50
51# Trusty-specific compiler defines for crypto/ library.
52#
53OPENSSL_CRYPTO_TRUSTY_DEFINES="\
54GETPID_IS_MEANINGLESS \
55NO_WINDOWS_BRAINDEATH \
56"
57
58OPENSSL_CRYPTO_TRUSTY_DEFINES_arm="\
59OPENSSL_BN_ASM_GF2m \
60OPENSSL_BN_ASM_MONT \
61GHASH_ASM \
62AES_ASM \
63SHA1_ASM \
64SHA256_ASM \
65SHA512_ASM \
66"
67
68OPENSSL_CRYPTO_TRUSTY_DEFINES_mips=""
69
70OPENSSL_CRYPTO_TRUSTY_DEFINES_x86=""
71
72OPENSSL_CRYPTO_TRUSTY_DEFINES_x86_64=""
73
74OPENSSL_CRYPTO_TRUSTY_INCLUDES="\
75. \
76include \
77crypto \
78crypto/asn1 \
79crypto/evp \
80crypto/modes \
81include \
82include/openssl \
83"
84
85OPENSSL_CRYPTO_TRUSTY_SOURCES="\
86crypto/aes/aes_cbc.c \
87crypto/aes/aes_misc.c \
88crypto/asn1/a_bitstr.c \
89crypto/asn1/a_d2i_fp.c \
90crypto/asn1/a_int.c \
91crypto/asn1/ameth_lib.c \
92crypto/asn1/a_object.c \
93crypto/asn1/a_octet.c \
94crypto/asn1/asn1_lib.c \
95crypto/asn1/asn_pack.c \
96crypto/asn1/a_type.c \
97crypto/asn1/d2i_pr.c \
98crypto/asn1/f_int.c \
99crypto/asn1/i2d_pr.c \
100crypto/asn1/p8_pkey.c \
101crypto/asn1/tasn_dec.c \
102crypto/asn1/tasn_enc.c \
103crypto/asn1/tasn_fre.c \
104crypto/asn1/tasn_new.c \
105crypto/asn1/tasn_typ.c \
106crypto/asn1/tasn_utl.c \
107crypto/asn1/t_pkey.c \
108crypto/asn1/t_x509.c \
109crypto/asn1/x_algor.c \
110crypto/asn1/x_attrib.c \
111crypto/asn1/x_bignum.c \
112crypto/asn1/x_long.c \
113crypto/asn1/x_pubkey.c \
114crypto/asn1/x_sig.c \
115crypto/bio/bio_lib.c \
116crypto/bio/b_print.c \
117crypto/bio/bss_mem.c \
118crypto/bn/bn_add.c \
119crypto/bn/bn_asm.c \
120crypto/bn/bn_blind.c \
121crypto/bn/bn_ctx.c \
122crypto/bn/bn_div.c \
123crypto/bn/bn_exp2.c \
124crypto/bn/bn_exp.c \
125crypto/bn/bn_gcd.c \
126crypto/bn/bn_gf2m.c \
127crypto/bn/bn_kron.c \
128crypto/bn/bn_lib.c \
129crypto/bn/bn_mod.c \
130crypto/bn/bn_mont.c \
131crypto/bn/bn_mul.c \
132crypto/bn/bn_nist.c \
133crypto/bn/bn_prime.c \
134crypto/bn/bn_print.c \
135crypto/bn/bn_rand.c \
136crypto/bn/bn_recp.c \
137crypto/bn/bn_shift.c \
138crypto/bn/bn_sqr.c \
139crypto/bn/bn_sqrt.c \
140crypto/bn/bn_word.c \
141crypto/buffer/buffer.c \
142crypto/buffer/buf_str.c \
143crypto/cmac/cmac.c \
144crypto/cmac/cm_ameth.c \
145crypto/cmac/cm_pmeth.c \
146Crypto-config.mk \
147crypto/cryptlib.c \
148crypto/dh/dh_ameth.c \
149crypto/dh/dh_asn1.c \
150crypto/dh/dh_check.c \
151crypto/dh/dh_gen.c \
152crypto/dh/dh_key.c \
153crypto/dh/dh_lib.c \
154crypto/dh/dh_pmeth.c \
155crypto/dsa/dsa_ameth.c \
156crypto/dsa/dsa_asn1.c \
157crypto/dsa/dsa_gen.c \
158crypto/dsa/dsa_key.c \
159crypto/dsa/dsa_lib.c \
160crypto/dsa/dsa_ossl.c \
161crypto/dsa/dsa_pmeth.c \
162crypto/dsa/dsa_sign.c \
163crypto/dsa/dsa_vrf.c \
164crypto/ecdh/ech_key.c \
165crypto/ecdh/ech_lib.c \
166crypto/ecdh/ech_ossl.c \
167crypto/ecdsa/ecs_asn1.c \
168crypto/ecdsa/ecs_lib.c \
169crypto/ecdsa/ecs_ossl.c \
170crypto/ecdsa/ecs_sign.c \
171crypto/ecdsa/ecs_vrf.c \
172crypto/ec/ec2_mult.c \
173crypto/ec/ec2_oct.c \
174crypto/ec/ec2_smpl.c \
175crypto/ec/ec_ameth.c \
176crypto/ec/ec_asn1.c \
177crypto/ec/ec_curve.c \
178crypto/ec/ec_cvt.c \
179crypto/ec/ec_key.c \
180crypto/ec/eck_prn.c \
181crypto/ec/ec_lib.c \
182crypto/ec/ec_mult.c \
183crypto/ec/ec_oct.c \
184crypto/ec/ec_pmeth.c \
185crypto/ec/ecp_mont.c \
186crypto/ec/ecp_nist.c \
187crypto/ec/ecp_oct.c \
188crypto/ec/ec_print.c \
189crypto/ec/ecp_smpl.c \
190crypto/engine/eng_init.c \
191crypto/engine/eng_lib.c \
192crypto/engine/eng_table.c \
193crypto/engine/tb_asnmth.c \
194crypto/engine/tb_cipher.c \
195crypto/engine/tb_dh.c \
196crypto/engine/tb_digest.c \
197crypto/engine/tb_dsa.c \
198crypto/engine/tb_ecdh.c \
199crypto/engine/tb_ecdsa.c \
200crypto/engine/tb_pkmeth.c \
201crypto/engine/tb_rand.c \
202crypto/engine/tb_rsa.c \
203crypto/err/err.c \
204crypto/evp/digest.c \
205crypto/evp/e_aes.c \
206crypto/evp/evp_enc.c \
207crypto/evp/evp_lib.c \
208crypto/evp/evp_pkey.c \
209crypto/evp/m_sha1.c \
210crypto/evp/m_sigver.c \
211crypto/evp/names.c \
212crypto/evp/p_lib.c \
213crypto/evp/pmeth_fn.c \
214crypto/evp/pmeth_gn.c \
215crypto/evp/pmeth_lib.c \
216crypto/ex_data.c \
217crypto/hmac/hmac.c \
218crypto/hmac/hm_ameth.c \
219crypto/hmac/hm_pmeth.c \
220crypto/lhash/lhash.c \
221crypto/mem.c \
222crypto/mem_clr.c \
223crypto/mem_dbg.c \
224crypto/modes/cbc128.c \
225crypto/modes/ctr128.c \
226crypto/objects/obj_dat.c \
227crypto/objects/obj_xref.c \
228crypto/objects/o_names.c \
229crypto/pkcs7/pk7_lib.c \
230crypto/rand/md_rand.c \
231crypto/rand/rand_lib.c \
232crypto/rsa/rsa_ameth.c \
233crypto/rsa/rsa_asn1.c \
234crypto/rsa/rsa_chk.c \
235crypto/rsa/rsa_crpt.c \
236crypto/rsa/rsa_eay.c \
237crypto/rsa/rsa_gen.c \
238crypto/rsa/rsa_lib.c \
239crypto/rsa/rsa_none.c \
240crypto/rsa/rsa_oaep.c \
241crypto/rsa/rsa_pk1.c \
242crypto/rsa/rsa_pmeth.c \
243crypto/rsa/rsa_pss.c \
244crypto/rsa/rsa_saos.c \
245crypto/rsa/rsa_sign.c \
246crypto/rsa/rsa_ssl.c \
247crypto/rsa/rsa_x931.c \
248crypto/sha/sha1_one.c \
249crypto/sha/sha1dgst.c \
250crypto/sha/sha256.c \
251crypto/sha/sha512.c \
252crypto/stack/stack.c \
253crypto/x509v3/v3_utl.c \
254crypto/x509/x_all.c \
255"
256
257OPENSSL_CRYPTO_TRUSTY_SOURCES_arm="\
258crypto/aes/asm/aes-armv4.S \
259crypto/sha/asm/sha1-armv4-large.S \
260crypto/sha/asm/sha256-armv4.S \
261crypto/sha/asm/sha512-armv4.S \
262crypto/bn/asm/armv4-gf2m.S \
263crypto/bn/asm/armv4-mont.S \
264"
265
266OPENSSL_CRYPTO_TRUSTY_SOURCES_EXCLUDES_arm=""
267
268OPENSSL_CRYPTO_TRUSTY_SOURCES_mips=""
269
270OPENSSL_CRYPTO_TRUSTY_SOURCES_EXCLUDES_mips=""
271
272OPENSSL_CRYPTO_TRUSTY_SOURCES_x86=""
273
274OPENSSL_CRYPTO_TRUSTY_SOURCES_EXCLUDES_x86=""
275
276OPENSSL_CRYPTO_TRUSTY_SOURCES_x86_64=""
277
278OPENSSL_CRYPTO_TRUSTY_SOURCES_EXCLUDES_x86_64=""
279