sl@0: /* sl@0: * Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: #ifndef __CRYPTOPANIC_H__ sl@0: #define __CRYPTOPANIC_H__ sl@0: sl@0: /** sl@0: * @file sl@0: * Cryptography Panic Codes sl@0: * sl@0: * @publishedAll sl@0: * @released sl@0: */ sl@0: sl@0: /** sl@0: * @publishedAll sl@0: * @released sl@0: * sl@0: * Panic codes for cryptography related libraries sl@0: */ sl@0: _LIT(KCryptoPanic, "CRYPTO-LIB"); sl@0: sl@0: /** sl@0: * @publishedAll sl@0: * @released sl@0: * sl@0: * Panic codes for "CRYPTO-LIB" */ sl@0: enum TCryptoPanicCode sl@0: { sl@0: /** sl@0: * The supplied descriptor is not large enough to store the output sl@0: * of the cryptographic operation sl@0: */ sl@0: ECryptoPanicOutputDescriptorOverflow= 1, sl@0: /** sl@0: * The supplied input descriptor is too large to pad sl@0: */ sl@0: ECryptoPanicPadInputTooLarge= 2, sl@0: /** sl@0: * The input data is too long sl@0: */ sl@0: ECryptoPanicInputTooLarge= 3 sl@0: }; sl@0: sl@0: #endif