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