Update contrib.
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
24 // SHA-2 implementation
30 EXPORT_C CSHA2* CSHA2::NewL(TSH2Algo aAlgorithmId)
32 CSHA2* self = CSHA2::NewLC(aAlgorithmId);
33 CleanupStack::Pop(self);
37 EXPORT_C CSHA2* CSHA2::NewLC(TSH2Algo aAlgorithmId)
39 CSHA2* self =CSHA2Shim::NewLC(aAlgorithmId);
44 EXPORT_C CSHA2::~CSHA2(void)
48 // All these methods have been replaced by the shim
49 #ifdef _BullseyeCoverage
50 #pragma suppress_warnings on
51 #pragma BullseyeCoverage off
52 #pragma suppress_warnings off
55 void CSHA2::RestoreState()
60 void CSHA2::StoreState()