equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-2007 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 |
|
19 #ifndef __CRYPTOPANIC_H__ |
|
20 #define __CRYPTOPANIC_H__ |
|
21 |
|
22 /** |
|
23 * @file |
|
24 * Cryptography Panic Codes |
|
25 * |
|
26 * @publishedAll |
|
27 * @released |
|
28 */ |
|
29 |
|
30 /** |
|
31 * @publishedAll |
|
32 * @released |
|
33 * |
|
34 * Panic codes for cryptography related libraries |
|
35 */ |
|
36 _LIT(KCryptoPanic, "CRYPTO-LIB"); |
|
37 |
|
38 /** |
|
39 * @publishedAll |
|
40 * @released |
|
41 * |
|
42 * Panic codes for "CRYPTO-LIB" */ |
|
43 enum TCryptoPanicCode |
|
44 { |
|
45 /** |
|
46 * The supplied descriptor is not large enough to store the output |
|
47 * of the cryptographic operation |
|
48 */ |
|
49 ECryptoPanicOutputDescriptorOverflow= 1, |
|
50 /** |
|
51 * The supplied input descriptor is too large to pad |
|
52 */ |
|
53 ECryptoPanicPadInputTooLarge= 2, |
|
54 /** |
|
55 * The input data is too long |
|
56 */ |
|
57 ECryptoPanicInputTooLarge= 3 |
|
58 }; |
|
59 |
|
60 #endif |