C# Class Org.BouncyCastle.Crypto.Engines.CamelliaEngine

Inheritance: IBlockCipher
Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode Description
CamelliaEngine ( ) : System
GetBlockSize ( ) : int
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
Reset ( ) : void

Private Methods

Méthode Description
bytes2uint ( byte src, int offset ) : uint
camelliaF2 ( uint s, uint skey, int keyoff ) : void
camelliaFLs ( uint s, uint fkey, int keyoff ) : void
decroldq ( int rot, uint ki, int ioff, uint ko, int ooff ) : void
decroldqo32 ( int rot, uint ki, int ioff, uint ko, int ooff ) : void
leftRotate ( uint x, int s ) : uint
processBlock128 ( byte input, int inOff, byte output, int outOff ) : int
processBlock192or256 ( byte input, int inOff, byte output, int outOff ) : int
rightRotate ( uint x, int s ) : uint
roldq ( int rot, uint ki, int ioff, uint ko, int ooff ) : void
roldqo32 ( int rot, uint ki, int ioff, uint ko, int ooff ) : void
setKey ( bool forEncryption, byte key ) : void
uint2bytes ( uint word, byte dst, int offset ) : void

Method Details

CamelliaEngine() public méthode

public CamelliaEngine ( ) : System
Résultat System

GetBlockSize() public méthode

public GetBlockSize ( ) : int
Résultat int

Init() public méthode

public Init ( bool forEncryption, ICipherParameters parameters ) : void
forEncryption bool
parameters ICipherParameters
Résultat void

ProcessBlock() public méthode

public ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
input byte
inOff int
output byte
outOff int
Résultat int

Reset() public méthode

public Reset ( ) : void
Résultat void