equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "arc4.h" |
|
20 #include "arc4shim.h" |
|
21 |
|
22 |
|
23 EXPORT_C CARC4* CARC4::NewL(const TDesC8& aKey, TUint aDiscardBytes) |
|
24 { |
|
25 return CArc4Shim::NewL(aKey, aDiscardBytes); |
|
26 } |
|
27 |
|
28 EXPORT_C CARC4* CARC4::NewLC(const TDesC8& aKey, TUint aDiscardBytes) |
|
29 { |
|
30 return CArc4Shim::NewLC(aKey, aDiscardBytes); |
|
31 } |
|
32 |
|
33 CARC4::CARC4() |
|
34 { |
|
35 } |
|
36 |
|
37 // All these methods have been replaced by the shim |
|
38 #ifdef _BullseyeCoverage |
|
39 #pragma suppress_warnings on |
|
40 #pragma BullseyeCoverage off |
|
41 #pragma suppress_warnings off |
|
42 #endif |
|
43 |
|
44 void CARC4::Reset() |
|
45 { |
|
46 // Method replaced by shim |
|
47 ASSERT(EFalse); |
|
48 } |
|
49 |
|
50 TInt CARC4::KeySize() const |
|
51 { |
|
52 // Method replaced by shim |
|
53 ASSERT(EFalse); |
|
54 return 0; |
|
55 } |
|
56 |
|
57 void CARC4::DoProcess(TDes8& /*aData*/) |
|
58 { |
|
59 // Method replaced by shim |
|
60 ASSERT(EFalse); |
|
61 } |
|
62 |