Method | Description | |
---|---|---|
DoFinal ( byte output, int outOff ) : int | ||
GetBlockSize ( ) : int | ||
GetMac ( ) : byte[] | ||
GetOutputSize ( int len ) : int | ||
GetUnderlyingCipher ( ) : IBlockCipher | ||
GetUpdateOutputSize ( int len ) : int | ||
Init ( bool forEncryption, ICipherParameters parameters ) : void | ||
OcbBlockCipher ( IBlockCipher hashCipher, IBlockCipher mainCipher ) : System | ||
ProcessAadByte ( byte input ) : void | ||
ProcessAadBytes ( byte input, int off, int len ) : void | ||
ProcessByte ( byte input, byte output, int outOff ) : int | ||
ProcessBytes ( byte input, int inOff, int len, byte output, int outOff ) : int | ||
Reset ( ) : void |
Method | Description | |
---|---|---|
Clear ( byte bs ) : void | ||
GetLSub ( int n ) : byte[] | ||
OCB_double ( byte block ) : byte[] | ||
OCB_extend ( byte block, int pos ) : void | ||
OCB_ntz ( long x ) : int | ||
ProcessHashBlock ( ) : void | ||
ProcessMainBlock ( byte output, int outOff ) : void | ||
Reset ( bool clearMac ) : void | ||
ShiftLeft ( byte block, byte output ) : int | ||
UpdateHASH ( byte LSub ) : void | ||
Xor ( byte block, byte val ) : void |
public DoFinal ( byte output, int outOff ) : int | ||
output | byte | |
outOff | int | |
return | int |
public GetUnderlyingCipher ( ) : IBlockCipher | ||
return | IBlockCipher |
public Init ( bool forEncryption, ICipherParameters parameters ) : void | ||
forEncryption | bool | |
parameters | ICipherParameters | |
return | void |
protected static OCB_double ( byte block ) : byte[] | ||
block | byte | |
return | byte[] |
protected static OCB_extend ( byte block, int pos ) : void | ||
block | byte | |
pos | int | |
return | void |
public OcbBlockCipher ( IBlockCipher hashCipher, IBlockCipher mainCipher ) : System | ||
hashCipher | IBlockCipher | |
mainCipher | IBlockCipher | |
return | System |
public ProcessAadBytes ( byte input, int off, int len ) : void | ||
input | byte | |
off | int | |
len | int | |
return | void |
public ProcessByte ( byte input, byte output, int outOff ) : int | ||
input | byte | |
output | byte | |
outOff | int | |
return | int |
public ProcessBytes ( byte input, int inOff, int len, byte output, int outOff ) : int | ||
input | byte | |
inOff | int | |
len | int | |
output | byte | |
outOff | int | |
return | int |
protected ProcessMainBlock ( byte output, int outOff ) : void | ||
output | byte | |
outOff | int | |
return | void |
protected static ShiftLeft ( byte block, byte output ) : int | ||
block | byte | |
output | byte | |
return | int |
protected static Xor ( byte block, byte val ) : void | ||
block | byte | |
val | byte | |
return | void |