williamr@2: /* williamr@4: * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@2: * under the terms of the License "Eclipse Public License v1.0" williamr@2: * which accompanies this distribution, and is available williamr@2: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: williamr@4: * ** IMPORTANT ** PublishedPartner API's in this file are published to 3rd party developers via the williamr@4: * Symbian website. Changes to these API's should be treated as PublishedAll API changes and the Security TA should be consulted. williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: #ifndef __CRYPTOPANIC_H__ williamr@2: #define __CRYPTOPANIC_H__ williamr@2: williamr@2: /** williamr@2: * @file williamr@2: * Cryptography Panic Codes williamr@2: * williamr@2: * @publishedAll williamr@2: * @released williamr@2: */ williamr@2: williamr@2: /** williamr@2: * @publishedAll williamr@2: * @released williamr@2: * williamr@2: * Panic codes for cryptography related libraries williamr@2: */ williamr@2: _LIT(KCryptoPanic, "CRYPTO-LIB"); williamr@2: williamr@2: /** williamr@2: * @publishedAll williamr@2: * @released williamr@2: * williamr@2: * Panic codes for "CRYPTO-LIB" */ williamr@2: enum TCryptoPanicCode williamr@2: { williamr@2: /** williamr@2: * The supplied descriptor is not large enough to store the output williamr@2: * of the cryptographic operation williamr@2: */ williamr@2: ECryptoPanicOutputDescriptorOverflow= 1, williamr@2: /** williamr@2: * The supplied input descriptor is too large to pad williamr@2: */ williamr@2: ECryptoPanicPadInputTooLarge= 2, williamr@2: /** williamr@4: * The input data is too long williamr@4: */ williamr@2: ECryptoPanicInputTooLarge= 3 williamr@2: }; williamr@2: williamr@2: #endif