crypto/weakcryptospi/source/symmetric/arc4shim.cpp
branchRCL_3
changeset 43 2f10d260163b
parent 19 cd501b96611d
equal deleted inserted replaced
42:eb9b28acd381 43:2f10d260163b
     1 /*
     1 /*
     2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    17 
    17 
    18 
    18 
    19 
    19 
    20 #include "arc4shim.h"
    20 #include "arc4shim.h"
    21 
    21 
    22 #include "cryptosymmetriccipherapi.h"
    22 #include <cryptospi/cryptosymmetriccipherapi.h>
    23 #include <cryptospi/cryptospidef.h>
    23 #include <cryptospi/cryptospidef.h>
    24 #include <cryptospi/plugincharacteristics.h>
    24 #include <cryptospi/plugincharacteristics.h>
    25 #include <cryptostrength.h>
    25 #include <cryptostrength.h>
    26 #include "../common/inlines.h"
    26 #include "../common/inlines.h"
    27 #include "keys.h"
    27 #include <cryptospi/keys.h>
    28 
    28 
    29 using namespace CryptoSpi;
    29 using namespace CryptoSpi;
    30 
    30 
    31 CArc4Shim* CArc4Shim::NewL(const TDesC8& aKey, TUint aDiscardBytes)
    31 CArc4Shim* CArc4Shim::NewL(const TDesC8& aKey, TUint aDiscardBytes)
    32 	{
    32 	{