First public contribution.
1 // Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // f32test\loader\security\t_hash.h
21 const TUint SHA1_LBLOCK=16;
22 const TUint SHA1_HASH=20;
25 class CSHA1:public CBase
28 static CSHA1* NewL(void);
29 void Update(const TDesC8& aMessage);
40 TBuf8<SHA1_HASH> iHash;
43 TUint iData[SHA1_LBLOCK*5];
44 void DoUpdate(const TUint8* aData,TUint aLength);
47 void ConstructL(void);