equal
deleted
inserted
replaced
|
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 * Contains the list of error values that may be returned. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @publishedAll |
|
23 @released |
|
24 */ |
|
25 |
|
26 #ifndef CRYPTO_SPI_ERRS_H |
|
27 #define CRYPTO_SPI_ERRS_H |
|
28 |
|
29 #include <e32def.h> |
|
30 |
|
31 |
|
32 /** |
|
33 If the key size is larger than that allowed |
|
34 by the cipher strength restrictions of the crypto |
|
35 library. |
|
36 **/ |
|
37 const TInt KErrKeyNotWeakEnough = -11002; |
|
38 |
|
39 |
|
40 /** |
|
41 If the padding on a block does not conform to the |
|
42 specifications of the algorithm. |
|
43 **/ |
|
44 const TInt KErrInvalidPadding = -11003; |
|
45 |
|
46 |
|
47 /** |
|
48 If the key is weaker than that allowed |
|
49 by the cipher strength restrictions of the crypto |
|
50 library. |
|
51 **/ |
|
52 const TInt KErrWeakKey = -11004; |
|
53 |
|
54 |
|
55 /** |
|
56 If the requested key size is not supported. |
|
57 **/ |
|
58 const TInt KErrKeySize = -11009; |
|
59 |
|
60 |
|
61 #endif // #ifndef CRYPTO_SPI_ERRS_H |
|
62 |