equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-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 * ** IMPORTANT ** PublishedPartner API's in this file are published to 3rd party developers via the |
|
16 * Symbian website. Changes to these API's should be treated as PublishedAll API changes and the Security TA should be consulted. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #ifndef __CRYPTOPANIC_H__ |
|
22 #define __CRYPTOPANIC_H__ |
|
23 |
|
24 /** |
|
25 * @file |
|
26 * Cryptography Panic Codes |
|
27 * |
|
28 * @publishedAll |
|
29 * @released |
|
30 */ |
|
31 |
|
32 /** |
|
33 * @publishedAll |
|
34 * @released |
|
35 * |
|
36 * Panic codes for cryptography related libraries |
|
37 */ |
|
38 _LIT(KCryptoPanic, "CRYPTO-LIB"); |
|
39 |
|
40 /** |
|
41 * @publishedAll |
|
42 * @released |
|
43 * |
|
44 * Panic codes for "CRYPTO-LIB" */ |
|
45 enum TCryptoPanicCode |
|
46 { |
|
47 /** |
|
48 * The supplied descriptor is not large enough to store the output |
|
49 * of the cryptographic operation |
|
50 */ |
|
51 ECryptoPanicOutputDescriptorOverflow= 1, |
|
52 /** |
|
53 * The supplied input descriptor is too large to pad |
|
54 */ |
|
55 ECryptoPanicPadInputTooLarge= 2, |
|
56 /** |
|
57 * The input data is too long |
|
58 */ |
|
59 ECryptoPanicInputTooLarge= 3 |
|
60 }; |
|
61 |
|
62 #endif |