1.1 --- a/epoc32/include/cryptopanic.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/cryptopanic.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,60 @@
1.4 -cryptopanic.h
1.5 +/*
1.6 +* Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* under the terms of the License "Eclipse Public License v1.0"
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description:
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +#ifndef __CRYPTOPANIC_H__
1.24 +#define __CRYPTOPANIC_H__
1.25 +
1.26 +/**
1.27 + * @file
1.28 + * Cryptography Panic Codes
1.29 + *
1.30 + * @publishedAll
1.31 + * @released
1.32 + */
1.33 +
1.34 +/**
1.35 + * @publishedAll
1.36 + * @released
1.37 + *
1.38 + * Panic codes for cryptography related libraries
1.39 + */
1.40 +_LIT(KCryptoPanic, "CRYPTO-LIB");
1.41 +
1.42 +/**
1.43 + * @publishedAll
1.44 + * @released
1.45 + *
1.46 + * Panic codes for "CRYPTO-LIB" */
1.47 +enum TCryptoPanicCode
1.48 + {
1.49 + /**
1.50 + * The supplied descriptor is not large enough to store the output
1.51 + * of the cryptographic operation
1.52 + */
1.53 + ECryptoPanicOutputDescriptorOverflow= 1,
1.54 + /**
1.55 + * The supplied input descriptor is too large to pad
1.56 + */
1.57 + ECryptoPanicPadInputTooLarge= 2,
1.58 + /**
1.59 + * The input data is too long
1.60 + */
1.61 + ECryptoPanicInputTooLarge= 3
1.62 + };
1.63 +
1.64 +#endif