Update contrib.
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Cryptographic algorithms - en/decryption, signing, verification, hashing
24 #include "../test/kms/bld.inf"
30 ./plug-ins.txt z:/resource/cryptospi/plug-ins.txt
31 ./h4-plug-ins.txt z:/resource/cryptospi/h4-plug-ins.txt
33 // Hashes and random are not export controlled; export these
34 ../inc/spi/cryptospidef.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/cryptospidef.h)
35 ../inc/spi/cryptorandomapi.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/cryptorandomapi.h)
36 ../inc/spi/cryptohashapi.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/cryptohashapi.h)
37 ../inc/spi/pluginentrydef.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/pluginentrydef.h)
38 ../inc/spi/hashplugin.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/hashplugin.h)
39 ../inc/spi/randomplugin.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/randomplugin.h)
40 ../inc/spi/cryptoparams.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/cryptoparams.h)
41 ../inc/spi/cryptobaseapi.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/cryptobaseapi.h)
42 ../inc/spi/cryptoplugin.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/cryptoplugin.h)
43 ../inc/spi/plugincharacteristics.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/plugincharacteristics.h)
44 ../inc/spi/ruleselector.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/ruleselector.h)
45 ../inc/spi/pluginselectorbase.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/pluginselectorbase.h)
46 ../inc/spi/romlit.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/romlit.h)
47 ../inc/spi/extendedcharacteristics.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/extendedcharacteristics.h)
48 ../inc/spi/cryptocharacteristics.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/cryptocharacteristics.h)
49 ../inc/spi/cryptospistateapi.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/cryptospistateapi.h)
51 #ifdef SYMBIAN_SDP_IPSEC_VOIP_SUPPORT
52 ../inc/spi/cryptomacapi.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/cryptomacapi.h)
53 ../inc/spi/macplugin.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/macplugin.h)
57 // Now, the export control measures do not apply for the below set of headers. Hence, they can be exported.
58 ../inc/spi/asymmetriccipherplugin.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/asymmetriccipherplugin.h)
59 ../inc/spi/cryptosymmetriccipherapi.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/cryptosymmetriccipherapi.h)
60 ../inc/spi/cryptoasymmetriccipherapi.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/cryptoasymmetriccipherapi.h)
61 ../inc/spi/cryptosignatureapi.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/cryptosignatureapi.h)
62 ../inc/spi/cryptokeypairgeneratorapi.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/cryptokeypairgeneratorapi.h)
63 ../inc/spi/keys.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/keys.h)
64 ../inc/spi/keypair.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/keypair.h)
65 ../inc/spi/keypairgeneratorplugin.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/keypairgeneratorplugin.h)
66 ../inc/spi/signerplugin.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/signerplugin.h)
67 ../inc/spi/symmetriccipherplugin.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/symmetriccipherplugin.h)
68 ../inc/spi/verifierplugin.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/verifierplugin.h)
69 ../inc/spi/cryptokeyagreementapi.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/cryptokeyagreementapi.h)
70 ../inc/spi/keyagreementplugin.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(cryptospi/keyagreementplugin.h)
73 // Cryptospi error codes.
74 ../inc/spi/cryptospi_errs.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptospi/cryptospi_errs.h)
77 ../inc/cryptopanic.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(cryptopanic.h)
78 ../inc/hash.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(hash.h)
79 ../inc/random.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(random.h)
80 ../inc/keyidentifierutil.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(keyidentifierutil.h)
81 ../inc/pkcs5kdf.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(pkcs5kdf.h)
82 ../inc/pkcs12kdf.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(pkcs12kdf.h)
84 ../inc/crypto.iby /epoc32/rom/include/crypto.iby
85 ../inc/hash.iby /epoc32/rom/include/hash.iby
86 ../inc/random.iby /epoc32/rom/include/random.iby
87 ../inc/pbe.iby /epoc32/rom/include/pbe.iby
91 #ifndef TOOLS // Don't build anything for tools
92 #ifndef TOOLS2 // Don't build anything for tools2
94 // For EKA1 arm builds, things that use long long support don't get built for thumb
101 crypto.mmp BUILD_AS_ARM // Don't build for thumb
115 tbigint.mmp BUILD_AS_ARM // Don't build for thumb
133 ../test/tbigint/scripts/tbasicmathstests.script /epoc32/winscw/c/tbigint/tbasicmathstests.script
134 ../test/tbigint/scripts/tbasicmathstests.ini /epoc32/winscw/c/tbigint/tbasicmathstests.ini
136 ../test/tbigint/scripts/tconstructiontests.script /epoc32/winscw/c/tbigint/tconstructiontests.script
137 ../test/tbigint/scripts/tconstructiontests.ini /epoc32/winscw/c/tbigint/tconstructiontests.ini
139 ../test/tbigint/scripts/tprimegen.script /epoc32/winscw/c/tbigint/tprimegen.script
140 ../test/tbigint/scripts/tprimegen.ini /epoc32/winscw/c/tbigint/tprimegen.ini
142 ../test/tbigint/scripts/tmontgomerytests.script /epoc32/winscw/c/tbigint/tmontgomerytests.script
143 ../test/tbigint/scripts/tmontgomerytests.ini /epoc32/winscw/c/tbigint/tmontgomerytests.ini
145 ../test/tbigint/scripts/tprimetests.script /epoc32/winscw/c/tbigint/tprimetests.script
146 ../test/tbigint/scripts/tprimetests.ini /epoc32/winscw/c/tbigint/tprimetests.ini
148 ../test/tbigint/scripts/tprimetests2.script /epoc32/winscw/c/tbigint/tprimetests2.script
149 ../test/tbigint/scripts/tprimetests2.ini /epoc32/winscw/c/tbigint/tprimetests2.ini
151 ../test/tbigint/scripts/tprimefailuretests.script /epoc32/winscw/c/tbigint/tprimefailuretests.script
152 ../test/tbigint/scripts/tprimefailuretests.ini /epoc32/winscw/c/tbigint/tprimefailuretests.ini
154 ../test/tbigint/scripts/tperformancetests.txt /epoc32/winscw/c/tbigint/tperformancetests.txt
157 ../test/tpkcs5kdf/scripts/tpkcs12kdftests.script /epoc32/winscw/c/tpkcs5kdf/tpkcs12kdftests.script
158 ../test/tpkcs5kdf/scripts/tpkcs12kdftests.ini /epoc32/winscw/c/tpkcs5kdf/tpkcs12kdftests.ini
162 ../test/tpbe/scripts/tpbetests_v2.script /epoc32/winscw/c/tpbe/tpbetests_v2.script
163 ../test/tpbe/scripts/tpbetests_v2.ini /epoc32/winscw/c/tpbe/tpbetests_v2.ini
165 ../test/tpbe/Data/strong.dat /epoc32/winscw/c/tpbe/strong.dat
166 ../test/tpbe/Data/weak.dat /epoc32/winscw/c/tpbe/weak.dat
167 ../test/tpbe/Data/pkcs5-orig.dat /epoc32/winscw/c/tpbe/pkcs5-orig.dat
168 ../test/tpbe/Data/pkcs12-first.dat /epoc32/winscw/c/tpbe/pkcs12-first.dat
171 ../test/tasymmetric/scripts/tasymmetrictests.script /epoc32/winscw/c/tasymmetric/tasymmetrictests.script
172 ../test/tasymmetric/scripts/tasymmetrictests.ini /epoc32/winscw/c/tasymmetric/tasymmetrictests.ini
174 ../test/tasymmetric/scripts/asymmetricPerformance.txt /epoc32/winscw/c/tasymmetric/asymmetricperformance.txt
177 ../test/tsymmetric/scripts/tsymmetrictests.script /epoc32/winscw/c/tsymmetric/tsymmetrictests.script
178 ../test/tsymmetric/scripts/tsymmetrictests.ini /epoc32/winscw/c/tsymmetric/tsymmetrictests.ini
180 ../test/tsymmetric/scripts/tsymmetricperformancetests.txt /epoc32/winscw/c/tsymmetric/tsymmetricperformancetests.txt
182 ../test/tsymmetric/scripts/symmetricOOMtests.script /epoc32/winscw/c/tsymmetric/symmetricoomtests.script
183 ../test/tsymmetric/scripts/symmetricOOMtests.ini /epoc32/winscw/c/tsymmetric/symmetricoomtests.ini
185 ../test/tsymmetric/scripts/AESECBVectorsScript.script /epoc32/winscw/c/tsymmetric/aesecbvectorsscript.script
186 ../test/tsymmetric/scripts/AESECBVectorsScript.ini /epoc32/winscw/c/tsymmetric/aesecbvectorsscript.ini
188 ../test/tsymmetric/scripts/AESECB_KAT_VT.script /epoc32/winscw/c/tsymmetric/aesecb_kat_vt.script
189 ../test/tsymmetric/scripts/AESECB_KAT_VT.ini /epoc32/winscw/c/tsymmetric/aesecb_kat_vt.ini
191 ../test/tsymmetric/scripts/AESECB_KAT_VK.ini /epoc32/winscw/c/tsymmetric/aesecb_kat_vk.ini
192 ../test/tsymmetric/scripts/AESECB_KAT_VK.script /epoc32/winscw/c/tsymmetric/aesecb_kat_vk.script
194 ../test/tsymmetric/scripts/AESMonteCarloEncryptECB128.script /epoc32/winscw/c/tsymmetric/aesmontecarloencryptecb128.script
195 ../test/tsymmetric/scripts/AESMonteCarloEncryptECB128.ini /epoc32/winscw/c/tsymmetric/aesmontecarloencryptecb128.ini
196 ../test/tsymmetric/scripts/AESMonteCarloEncryptECB192.script /epoc32/winscw/c/tsymmetric/aesmontecarloencryptecb192.script
197 ../test/tsymmetric/scripts/AESMonteCarloEncryptECB192.ini /epoc32/winscw/c/tsymmetric/aesmontecarloencryptecb192.ini
198 ../test/tsymmetric/scripts/AESMonteCarloEncryptECB256.script /epoc32/winscw/c/tsymmetric/aesmontecarloencryptecb256.script
199 ../test/tsymmetric/scripts/AESMonteCarloEncryptECB256.ini /epoc32/winscw/c/tsymmetric/aesmontecarloencryptecb256.ini
202 ../test/tsymmetric/scripts/AESMonteCarloDecryptECB128.script /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptecb128.script
203 ../test/tsymmetric/scripts/AESMonteCarloDecryptECB128.ini /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptecb128.ini
204 ../test/tsymmetric/scripts/AESMonteCarloDecryptECB192.script /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptecb192.script
205 ../test/tsymmetric/scripts/AESMonteCarloDecryptECB192.ini /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptecb192.ini
206 ../test/tsymmetric/scripts/AESMonteCarloDecryptECB256.script /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptecb256.script
207 ../test/tsymmetric/scripts/AESMonteCarloDecryptECB256.ini /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptecb256.ini
209 ../test/tsymmetric/scripts/AESMonteCarloEncryptCBC128.script /epoc32/winscw/c/tsymmetric/aesmontecarloencryptcbc128.script
210 ../test/tsymmetric/scripts/AESMonteCarloEncryptCBC128.ini /epoc32/winscw/c/tsymmetric/aesmontecarloencryptcbc128.ini
211 ../test/tsymmetric/scripts/aesmontecarloencryptcbc192A.script /epoc32/winscw/c/tsymmetric/aesmontecarloencryptcbc192a.script
212 ../test/tsymmetric/scripts/aesmontecarloencryptcbc192B.script /epoc32/winscw/c/tsymmetric/aesmontecarloencryptcbc192b.script
213 ../test/tsymmetric/scripts/AESMonteCarloEncryptCBC192.ini /epoc32/winscw/c/tsymmetric/aesmontecarloencryptcbc192.ini
214 ../test/tsymmetric/scripts/AESMonteCarloEncryptCBC256.script /epoc32/winscw/c/tsymmetric/aesmontecarloencryptcbc256.script
215 ../test/tsymmetric/scripts/AESMonteCarloEncryptCBC256.ini /epoc32/winscw/c/tsymmetric/aesmontecarloencryptcbc256.ini
218 ../test/tsymmetric/scripts/AESMonteCarloDecryptCBC128.script /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptcbc128.script
219 ../test/tsymmetric/scripts/AESMonteCarloDecryptCBC128.ini /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptcbc128.ini
220 ../test/tsymmetric/scripts/AESMonteCarloDecryptCBC192.script /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptcbc192.script
221 ../test/tsymmetric/scripts/AESMonteCarloDecryptCBC192.ini /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptcbc192.ini
222 ../test/tsymmetric/scripts/AESMonteCarloDecryptCBC256.script /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptcbc256.script
223 ../test/tsymmetric/scripts/AESMonteCarloDecryptCBC256.ini /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptcbc256.ini
226 ../test/thash/testdata/hmacmd2.dat /epoc32/winscw/c/thash/hmacmd2.dat
227 ../test/thash/testdata/hmacmd5.dat /epoc32/winscw/c/thash/hmacmd5.dat
228 ../test/thash/testdata/hmacmd4.dat /epoc32/winscw/c/thash/hmacmd4.dat
229 ../test/thash/testdata/hmacsha1.dat /epoc32/winscw/c/thash/hmacsha1.dat
230 ../test/thash/testdata/hmacsha224.dat /epoc32/winscw/c/thash/hmacsha224.dat
231 ../test/thash/testdata/hmacsha256.dat /epoc32/winscw/c/thash/hmacsha256.dat
232 ../test/thash/testdata/hmacsha384.dat /epoc32/winscw/c/thash/hmacsha384.dat
233 ../test/thash/testdata/hmacsha512.dat /epoc32/winscw/c/thash/hmacsha512.dat
234 ../test/thash/testdata/md2.dat /epoc32/winscw/c/thash/md2.dat
235 ../test/thash/testdata/md5.dat /epoc32/winscw/c/thash/md5.dat
236 ../test/thash/testdata/sha1.dat /epoc32/winscw/c/thash/sha1.dat
237 ../test/thash/testdata/md4.dat /epoc32/winscw/c/thash/md4.dat
238 ../test/thash/testdata/md4_largedata1.txt /epoc32/winscw/c/thash/md4_largedata1.txt
239 ../test/thash/testdata/md4_largedata2.txt /epoc32/winscw/c/thash/md4_largedata2.txt
240 ../test/thash/testdata/md4_largedata3.txt /epoc32/winscw/c/thash/md4_largedata3.txt
241 ../test/thash/testdata/448bit_data.txt /epoc32/winscw/c/thash/448bit_data.txt
242 ../test/thash/testdata/512bit_data.txt /epoc32/winscw/c/thash/512bit_data.txt
243 ../test/thash/testdata/512bitdata_largerkey.txt /epoc32/winscw/c/thash/512bitdata_largerkey.txt
244 ../test/thash/testdata/largerthanblocksizedata_key.txt /epoc32/winscw/c/thash/largerthanblocksizedata_key.txt
245 ../test/thash/testdata/sha224.dat /epoc32/winscw/c/thash/sha224.dat
246 ../test/thash/testdata/sha256.dat /epoc32/winscw/c/thash/sha256.dat
247 ../test/thash/testdata/sha384.dat /epoc32/winscw/c/thash/sha384.dat
248 ../test/thash/testdata/sha512.dat /epoc32/winscw/c/thash/sha512.dat
252 ../test/tpadding/scripts/tpadSSLv3.ini /epoc32/winscw/c/tpadding/tpadsslv3.ini
253 ../test/tpadding/scripts/tpadpkcs7.ini /epoc32/winscw/c/tpadding/tpadpkcs7.ini
254 ../test/tpadding/scripts/tpaddingnone.ini /epoc32/winscw/c/tpadding/tpaddingnone.ini
255 ../test/tpadding/scripts/tpadding.script /epoc32/winscw/c/tpadding/tpadding.script
256 ../test/tpadding/scripts/tpaddingudeb.script /epoc32/winscw/c/tpadding/tpaddingudeb.script
258 #include "../test/tcryptospi/group/bld.inf"
261 ../inc/cryptotests.iby /epoc32/rom/include/cryptotests.iby
262 ../inc/hashtests.iby /epoc32/rom/include/hashtests.iby
263 ../inc/pbetests.iby /epoc32/rom/include/pbetests.iby
264 ../inc/randomtests.iby /epoc32/rom/include/randomtests.iby
265 ../inc/pkcs5kdftests.iby /epoc32/rom/include/pkcs5kdftests.iby
266 ../inc/paddingtests.iby /epoc32/rom/include/paddingtests.iby
267 ../inc/tcryptospi.iby /epoc32/rom/include/tcryptospi.iby
269 #ifdef SYMBIAN_SDP_IPSEC_VOIP_SUPPORT
270 #include "../examples/bld.inf"