|
1 /* |
|
2 * Copyright (c) 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 * |
|
16 */ |
|
17 |
|
18 #ifndef __CRYPTO_LIBRARY_IBY__ |
|
19 #define __CRYPTO_LIBRARY_IBY__ |
|
20 |
|
21 REM crypto library |
|
22 |
|
23 #include "random.iby" |
|
24 #include "hash.iby" |
|
25 #include "cryptospi_plugins.iby" |
|
26 |
|
27 #ifdef __SECURITY_TEST_ROM__ |
|
28 ROM_IMAGE[0] { |
|
29 #endif |
|
30 #ifdef USE_STRONG_CRYPTOGRAPHY |
|
31 ECHO Using export-restricted strong crytography implementation |
|
32 file=ABI_DIR\BUILD_DIR\strong_cryptography.dll sys\bin\cryptography.dll |
|
33 |
|
34 #else |
|
35 file=ABI_DIR\BUILD_DIR\weak_cryptography.dll sys\bin\cryptography.dll |
|
36 #endif |
|
37 #ifdef __SECURITY_TEST_ROM__ |
|
38 } |
|
39 #endif |
|
40 |
|
41 // Get a proper flag |
|
42 //#ifdef CRYPTO_SPI |
|
43 #ifdef __SECURITY_TEST_ROM__ |
|
44 ROM_IMAGE[0] { |
|
45 #endif |
|
46 file=ABI_DIR\BUILD_DIR\cryptospi.dll sys\bin\cryptospi.dll |
|
47 #ifdef __SECURITY_TEST_ROM__ |
|
48 } |
|
49 #endif |
|
50 file=ABI_DIR\BUILD_DIR\cryptospisetup.exe sys\bin\cryptospisetup.exe |
|
51 |
|
52 |
|
53 #ifdef __SECURITY_MANDATORY_SWICERTSTORE__ |
|
54 data=ZRESOURCE\cryptospi\h4-plug-ins.txt resource\cryptospi\plug-ins.txt |
|
55 #elif __SECURITY_JAVA__ |
|
56 data=ZRESOURCE\cryptospi\h4-plug-ins.txt resource\cryptospi\plug-ins.txt |
|
57 #else |
|
58 data=ZRESOURCE\cryptospi\plug-ins.txt resource\cryptospi\plug-ins.txt |
|
59 #endif |
|
60 //#endif |
|
61 |
|
62 #endif // __CRYPTO_LIBRARY_IBY__ |
|
63 |