|
1 /* |
|
2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Cryptographic algorithms - en/decryption, signing, verification, hashing |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 /** |
|
23 @file |
|
24 */ |
|
25 |
|
26 |
|
27 |
|
28 PRJ_PLATFORMS |
|
29 default winc |
|
30 |
|
31 PRJ_EXPORTS |
|
32 ../inc/cryptopanic.h |
|
33 ../inc/hash.h |
|
34 ../inc/random.h |
|
35 ../inc/keyidentifierutil.h |
|
36 ../inc/randsvr.h |
|
37 ../inc/randcliserv.h |
|
38 ../inc/pkcs5kdf.h |
|
39 ../inc/pkcs12kdf.h |
|
40 |
|
41 ../inc/crypto.iby /epoc32/rom/include/crypto.iby |
|
42 ../inc/hash.iby /epoc32/rom/include/hash.iby |
|
43 ../inc/random.iby /epoc32/rom/include/random.iby |
|
44 ../inc/pbe.iby /epoc32/rom/include/pbe.iby |
|
45 |
|
46 #ifndef SYMBIAN_CRYPTOSPI |
|
47 #ifndef TOOLS // Don't build anything for tools |
|
48 #ifndef TOOLS2 // Don't build anything for tools2 |
|
49 |
|
50 // For EKA1 arm builds, things that use long long support don't get built for thumb |
|
51 |
|
52 PRJ_MMPFILES |
|
53 cryptolib.mmp |
|
54 #ifndef MARM_THUMB |
|
55 crypto.mmp BUILD_AS_ARM // Don't build for thumb |
|
56 #endif |
|
57 hash.mmp |
|
58 randsvr.mmp |
|
59 random.mmp |
|
60 pbe.mmp |
|
61 |
|
62 #ifdef WINS |
|
63 cryptoswitch.mmp |
|
64 #endif |
|
65 |
|
66 PRJ_TESTMMPFILES |
|
67 tasymmetric.mmp |
|
68 #ifndef MARM_THUMB |
|
69 tbigint.mmp BUILD_AS_ARM // Don't build for thumb |
|
70 #endif |
|
71 tpkcs5kdf.mmp |
|
72 tpbe.mmp |
|
73 tsymmetric.mmp |
|
74 thash.mmp |
|
75 trandom.mmp |
|
76 tpaddingServer.mmp |
|
77 |
|
78 #endif // TOOLS2 |
|
79 #endif //TOOLS |
|
80 |
|
81 |
|
82 PRJ_TESTEXPORTS |
|
83 |
|
84 // bigint |
|
85 ../test/tbigint/scripts/tbasicmathstests.txt /epoc32/winscw/c/tbigint/tbasicmathstests.txt |
|
86 ../test/tbigint/scripts/tconstructiontests.txt /epoc32/winscw/c/tbigint/tconstructiontests.txt |
|
87 ../test/tbigint/scripts/tprimegen.txt /epoc32/winscw/c/tbigint/tprimegen.txt |
|
88 ../test/tbigint/scripts/tmontgomerytests.txt /epoc32/winscw/c/tbigint/tmontgomerytests.txt |
|
89 ../test/tbigint/scripts/tprimetests.txt /epoc32/winscw/c/tbigint/tprimetests.txt |
|
90 ../test/tbigint/scripts/tprimetests2.txt /epoc32/winscw/c/tbigint/tprimetests2.txt |
|
91 ../test/tbigint/scripts/tprimefailuretests.txt /epoc32/winscw/c/tbigint/tprimefailuretests.txt |
|
92 ../test/tbigint/scripts/tperformancetests.txt /epoc32/winscw/c/tbigint/tperformancetests.txt |
|
93 |
|
94 ../test/tpkcs5kdf/scripts/tpkcs12kdftests.txt /epoc32/winscw/c/tpkcs5kdf/tpkcs12kdftests.txt |
|
95 |
|
96 // pbe |
|
97 ../test/tpbe/scripts/tpbetests_v2.txt /epoc32/winscw/c/tpbe/tpbetests_v2.txt |
|
98 ../test/tpbe/Data/strong.dat /epoc32/winscw/c/tpbe/strong.dat |
|
99 ../test/tpbe/Data/weak.dat /epoc32/winscw/c/tpbe/weak.dat |
|
100 ../test/tpbe/Data/pkcs5-orig.dat /epoc32/winscw/c/tpbe/pkcs5-orig.dat |
|
101 ../test/tpbe/Data/pkcs12-first.dat /epoc32/winscw/c/tpbe/pkcs12-first.dat |
|
102 |
|
103 // Asymmetric |
|
104 ../test/tasymmetric/scripts/tasymmetrictests.txt /epoc32/winscw/c/tasymmetric/tasymmetrictests.txt |
|
105 |
|
106 ../test/tasymmetric/scripts/asymmetricPerformance.txt /epoc32/winscw/c/tasymmetric/asymmetricperformance.txt |
|
107 |
|
108 // Symmetric |
|
109 ../test/tsymmetric/scripts/tsymmetrictests.txt /epoc32/winscw/c/tsymmetric/tsymmetrictests.txt |
|
110 |
|
111 ../test/tsymmetric/scripts/tsymmetricperformancetests.txt /epoc32/winscw/c/tsymmetric/tsymmetricperformancetests.txt |
|
112 |
|
113 ../test/tsymmetric/scripts/symmetricOOMtests.txt /epoc32/winscw/c/tsymmetric/symmetricoomtests.txt |
|
114 |
|
115 ../test/tsymmetric/scripts/AESECBVectorsScript.txt /epoc32/winscw/c/tsymmetric/aesecbvectorsscript.txt |
|
116 ../test/tsymmetric/scripts/AESECB_KAT_VT.txt /epoc32/winscw/c/tsymmetric/aesecb_kat_vt.txt |
|
117 ../test/tsymmetric/scripts/AESECB_KAT_VK.txt /epoc32/winscw/c/tsymmetric/aesecb_kat_vk.txt |
|
118 |
|
119 ../test/tsymmetric/scripts/AESMonteCarloEncryptECB128.txt /epoc32/winscw/c/tsymmetric/aesmontecarloencryptecb128.txt |
|
120 ../test/tsymmetric/scripts/AESMonteCarloEncryptECB192.txt /epoc32/winscw/c/tsymmetric/aesmontecarloencryptecb192.txt |
|
121 ../test/tsymmetric/scripts/AESMonteCarloEncryptECB256.txt /epoc32/winscw/c/tsymmetric/aesmontecarloencryptecb256.txt |
|
122 |
|
123 ../test/tsymmetric/scripts/AESMonteCarloDecryptECB128.txt /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptecb128.txt |
|
124 ../test/tsymmetric/scripts/AESMonteCarloDecryptECB192.txt /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptecb192.txt |
|
125 ../test/tsymmetric/scripts/AESMonteCarloDecryptECB256.txt /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptecb256.txt |
|
126 |
|
127 ../test/tsymmetric/scripts/AESMonteCarloEncryptCBC128.txt /epoc32/winscw/c/tsymmetric/aesmontecarloencryptcbc128.txt |
|
128 ../test/tsymmetric/scripts/AESMonteCarloEncryptCBC192.txt /epoc32/winscw/c/tsymmetric/aesmontecarloencryptcbc192.txt |
|
129 ../test/tsymmetric/scripts/AESMonteCarloEncryptCBC256.txt /epoc32/winscw/c/tsymmetric/aesmontecarloencryptcbc256.txt |
|
130 |
|
131 ../test/tsymmetric/scripts/AESMonteCarloDecryptCBC128.txt /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptcbc128.txt |
|
132 ../test/tsymmetric/scripts/AESMonteCarloDecryptCBC192.txt /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptcbc192.txt |
|
133 ../test/tsymmetric/scripts/AESMonteCarloDecryptCBC256.txt /epoc32/winscw/c/tsymmetric/aesmontecarlodecryptcbc256.txt |
|
134 |
|
135 // Hash |
|
136 ../test/thash/testdata/hmacmd2.dat /epoc32/winscw/c/thash/hmacmd2.dat |
|
137 ../test/thash/testdata/hmacmd5.dat /epoc32/winscw/c/thash/hmacmd5.dat |
|
138 ../test/thash/testdata/hmacmd4.dat /epoc32/winscw/c/thash/hmacmd4.dat |
|
139 ../test/thash/testdata/hmacsha1.dat /epoc32/winscw/c/thash/hmacsha1.dat |
|
140 ../test/thash/testdata/hmacsha224.dat /epoc32/winscw/c/thash/hmacsha224.dat |
|
141 ../test/thash/testdata/hmacsha256.dat /epoc32/winscw/c/thash/hmacsha256.dat |
|
142 ../test/thash/testdata/hmacsha384.dat /epoc32/winscw/c/thash/hmacsha384.dat |
|
143 ../test/thash/testdata/hmacsha512.dat /epoc32/winscw/c/thash/hmacsha512.dat |
|
144 ../test/thash/testdata/md2.dat /epoc32/winscw/c/thash/md2.dat |
|
145 ../test/thash/testdata/md5.dat /epoc32/winscw/c/thash/md5.dat |
|
146 ../test/thash/testdata/sha1.dat /epoc32/winscw/c/thash/sha1.dat |
|
147 ../test/thash/testdata/md4.dat /epoc32/winscw/c/thash/md4.dat |
|
148 ../test/thash/testdata/md4_largedata1.txt /epoc32/winscw/c/thash/md4_largedata1.txt |
|
149 ../test/thash/testdata/md4_largedata2.txt /epoc32/winscw/c/thash/md4_largedata2.txt |
|
150 ../test/thash/testdata/md4_largedata3.txt /epoc32/winscw/c/thash/md4_largedata3.txt |
|
151 ../test/thash/testdata/448bit_data.txt /epoc32/winscw/c/thash/448bit_data.txt |
|
152 ../test/thash/testdata/512bit_data.txt /epoc32/winscw/c/thash/512bit_data.txt |
|
153 ../test/thash/testdata/512bitdata_largerkey.txt /epoc32/winscw/c/thash/512bitdata_largerkey.txt |
|
154 ../test/thash/testdata/largerthanblocksizedata_key.txt /epoc32/winscw/c/thash/largerthanblocksizedata_key.txt |
|
155 ../test/thash/testdata/sha224.dat /epoc32/winscw/c/thash/sha224.dat |
|
156 ../test/thash/testdata/sha256.dat /epoc32/winscw/c/thash/sha256.dat |
|
157 ../test/thash/testdata/sha384.dat /epoc32/winscw/c/thash/sha384.dat |
|
158 ../test/thash/testdata/sha512.dat /epoc32/winscw/c/thash/sha512.dat |
|
159 |
|
160 |
|
161 // Padding |
|
162 ../test/tpadding/scripts/tpadSSLv3.ini /epoc32/winscw/c/tpadding/tpadsslv3.ini |
|
163 ../test/tpadding/scripts/tpadpkcs7.ini /epoc32/winscw/c/tpadding/tpadpkcs7.ini |
|
164 ../test/tpadding/scripts/tpaddingnone.ini /epoc32/winscw/c/tpadding/tpaddingnone.ini |
|
165 ../test/tpadding/scripts/tpadding.script /epoc32/winscw/c/tpadding/tpadding.script |
|
166 ../test/tpadding/scripts/tpaddingudeb.script /epoc32/winscw/c/tpadding/tpaddingudeb.script |
|
167 |
|
168 |
|
169 // ROMKIT includes |
|
170 ../inc/cryptotests.iby /epoc32/rom/include/cryptotests.iby |
|
171 ../inc/hashtests.iby /epoc32/rom/include/hashtests.iby |
|
172 ../inc/pbetests.iby /epoc32/rom/include/pbetests.iby |
|
173 ../inc/randomtests.iby /epoc32/rom/include/randomtests.iby |
|
174 ../inc/pkcs5kdftests.iby /epoc32/rom/include/pkcs5kdftests.iby |
|
175 ../inc/paddingtests.iby /epoc32/rom/include/paddingtests.iby |
|
176 |
|
177 #endif // SYMBIAN_CRYPTOSPI |