C# 클래스 Org.BouncyCastle.Crypto.Engines.CamelliaLightEngine

상속: IBlockCipher
파일 보기 프로젝트 열기: nonorganic/dssnet 1 사용 예제들

공개 메소드들

메소드 설명
CamelliaLightEngine ( ) : System
GetBlockSize ( ) : int
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
Reset ( ) : void

비공개 메소드들

메소드 설명
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
lRot8 ( byte v, int rot ) : byte
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
sbox2 ( int x ) : uint
sbox3 ( int x ) : uint
sbox4 ( int x ) : uint
setKey ( bool forEncryption, byte key ) : void
uint2bytes ( uint word, byte dst, int offset ) : void

메소드 상세

CamelliaLightEngine() 공개 메소드

public CamelliaLightEngine ( ) : System
리턴 System

GetBlockSize() 공개 메소드

public GetBlockSize ( ) : int
리턴 int

Init() 공개 메소드

public Init ( bool forEncryption, ICipherParameters parameters ) : void
forEncryption bool
parameters ICipherParameters
리턴 void

ProcessBlock() 공개 메소드

public ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
input byte
inOff int
output byte
outOff int
리턴 int

Reset() 공개 메소드

public Reset ( ) : void
리턴 void