secsrv_plat/devenccommonutils_api/inc/DevEncProtectedPSKey.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 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 "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:  Ps key definition
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef DEVENCPROTECTEDPSKEY_H_
       
    21 #define DEVENCPROTECTEDPSKEY_H_
       
    22 
       
    23 enum TDevEncOperation
       
    24 	{
       
    25 	EOpIdle,
       
    26 	EOpEncrypting,
       
    27 	EOpDecrypting
       
    28 	};
       
    29 
       
    30 //same Uid as DevEncStarter which is the component defining and deleting it
       
    31 const TUid  KDevEncProtectedUid = {0x2000259B};          
       
    32 
       
    33 /**
       
    34  * Store the last memory status changed
       
    35  * 0: Idle. It can be Encrypted or Decrypted
       
    36  * 1: Encrypting
       
    37  * 2: Decrypting
       
    38  **/
       
    39 const TUint KDevEncOperationKey = 0x01;
       
    40 
       
    41 #endif /* DEVENCPROTECTEDPSKEY_H_ */