crypto/weakcrypto/inc/blocktransformation.h
changeset 8 35751d3474b7
parent 0 2c201484c85f
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
    17 * CBlockTransformation class implementation
    17 * CBlockTransformation class implementation
    18 *
    18 *
    19 */
    19 */
    20 
    20 
    21 
    21 
    22 
       
    23 
       
    24 /**
    22 /**
    25  @file 
    23  @file 
    26  @internalAll
    24  @publishedPartner
       
    25  @released 
    27 */
    26 */
    28  
    27  
    29 #ifndef	__BLOCKTRANSFORMATION_H__
    28 #ifndef	BLOCKTRANSFORMATION_H__
    30 #define	__BLOCKTRANSFORMATION_H__
    29 #define	BLOCKTRANSFORMATION_H__
    31 
    30 
    32 #include <e32base.h>
    31 #include <e32base.h>
    33 
    32 
       
    33 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
    34 /** The maximum block size supported (in bytes) */
    34 /** The maximum block size supported (in bytes) */
    35 const TUint KMaxBlockSizeSupported = 32;
    35 const TUint KMaxBlockSizeSupported = 32;
       
    36 #endif
    36 
    37 
    37 /**
    38 /**
    38 * Abstract base class defining the interface to block transformation schemes.
    39 * Abstract base class defining the interface to block transformation schemes.
    39 *
    40 *
    40 * Block transformation schemes process a fixed-size block of input to return a
    41 * Block transformation schemes process a fixed-size block of input to return a
    41 * block of output the same size.  
    42 * block of output the same size.  
    42 *
    43 *
    43 * @publishedPartner
       
    44 * @released
       
    45 */
    44 */
    46 class CBlockTransformation : public CBase
    45 class CBlockTransformation : public CBase
    47 {
    46 {
    48 public:
    47 public:
    49 	/**
    48 	/**
    73 	* @return	Key size in bits.
    72 	* @return	Key size in bits.
    74 	*/
    73 	*/
    75 	virtual TInt KeySize() const = 0;
    74 	virtual TInt KeySize() const = 0;
    76 };
    75 };
    77 
    76 
    78 #endif	//	__BLOCKTRANSFORMATION_H__
    77 #endif	//	BLOCKTRANSFORMATION_H__