implements IAeadCipher
0x00x0058
Members 11
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | STATE_SIZE | int | PrivateStatic+1 flags | — | |
| 0x08 | workingKey | byte[] | Private | — | |
| 0x08 | workingIV | byte[] | Private | — | |
| 0x08 | lfsr | uint[] | Private | — | |
| 0x08 | nfsr | uint[] | Private | — | |
| 0x08 | authAcc | uint[] | Private | — | |
| 0x08 | authSr | uint[] | Private | — | |
| 0x01 | initialised | bool | Private | — | |
| 0x01 | aadFinished | bool | Private | — | |
| 0x0042 | 0x06 | padding / unreflected | |||
| 0x08 | aadData | MemoryStream | Private | — | |
| 0x08 | mac | byte[] | Private | — | |
Functions 30
| Signature | Flags | Native | Params |
|---|---|---|---|
| string get_AlgorithmName() | PublicFinal+3 flags | 0x08 | |
| void Init(bool forEncryption, ICipherParameters param) | PublicFinal+2 flags | 0x08 | |
| void InitGrain() | Private | 0x00 | |
| uint GetOutputNFSR() | Private | 0x04 | |
| uint GetOutputLFSR() | Private | 0x04 | |
| uint GetOutput() | Private | 0x04 | |
| uint[] Shift(const uint[]& array, uint val) | Private | 0x08 | |
| void SetKey(const byte[]& keyBytes, const byte[]& ivBytes) | Private | 0x08 | |
| int ProcessBytes(const byte[]& input, int inOff, int len, const byte[]& output, int outOff) | PublicFinal+2 flags | 0x08 | |
| int ProcessBytes(const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | PublicFinal+2 flags | 0x10 | |
| void Reset() | PublicFinal+2 flags | 0x00 | |
| void Reset(bool clearMac) | Private | 0x01 | |
| void GetKeyStream(const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | Private | 0x10 | |
| byte ReturnByte(byte input) | Public | 0x01 | |
| void ProcessAadByte(byte input) | PublicFinal+2 flags | 0x01 | |
| void ProcessAadBytes(const byte[]& input, int inOff, int len) | PublicFinal+2 flags | 0x08 | |
| void ProcessAadBytes(const ReadOnlySpan<System.Byte>& input) | PublicFinal+2 flags | 0x10 | |
| void Accumulate() | Private | 0x00 | |
| void AuthShift(uint val) | Private | 0x04 | |
| int ProcessByte(byte input, const byte[]& output, int outOff) | PublicFinal+2 flags | 0x08 | |
| int ProcessByte(byte input, const Span<System.Byte>& output) | PublicFinal+2 flags | 0x10 | |
| void DoProcessAADBytes(const byte[]& input, int inOff, int len) | Private | 0x08 | |
| int DoFinal(const byte[]& output, int outOff) | PublicFinal+2 flags | 0x08 | |
| int DoFinal(const Span<System.Byte>& output) | PublicFinal+2 flags | 0x10 | |
| byte[] GetMac() | PublicFinal+2 flags | 0x08 | |
| int GetUpdateOutputSize(int len) | PublicFinal+2 flags | 0x04 | |
| int GetOutputSize(int len) | PublicFinal+2 flags | 0x04 | |
| int LenLength(int v) | PrivateStatic | 0x04 | |
| void .ctor() | Public+1 flags | 0x00 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 |