implements IAeadCipher
0x00x0060
Members 18
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | BufSize | int | PrivateStatic+1 flags | 0 |
| — | 0x04 | KeySize | int | PrivateStatic+1 flags | 0 |
| — | 0x04 | NonceSize | int | PrivateStatic+1 flags | 0 |
| — | 0x04 | MacSize | int | PrivateStatic+1 flags | 0 |
| 0x08 | Zeroes | byte[] | PrivateStatic+1 flags | — | |
| — | 0x08 | AadLimit | ulong | PrivateStatic+1 flags | 0 |
| — | 0x08 | DataLimit | ulong | PrivateStatic+1 flags | 0 |
| 0x08 | mChacha20 | ChaCha7539Engine | Private+1 flags | — | |
| 0x08 | mPoly1305 | IMac | Private+1 flags | — | |
| 0x08 | mKey | byte[] | Private+1 flags | — | |
| 0x08 | mNonce | byte[] | Private+1 flags | — | |
| 0x08 | mBuf | byte[] | Private+1 flags | — | |
| 0x08 | mMac | byte[] | Private+1 flags | — | |
| 0x08 | mInitialAad | byte[] | Private | — | |
| 0x08 | mAadCount | ulong | Private | — | |
| 0x08 | mDataCount | ulong | Private | — | |
| 0x04 | mState | State | Private | — | |
| 0x04 | mBufPos | int | Private | — |
Functions 29
| Signature | Flags | Native | Params |
|---|---|---|---|
| void .ctor() | Public+1 flags | — | 0x00 |
| void .ctor(IMac poly1305) | Public+1 flags | — | 0x08 |
| string get_AlgorithmName() | Public+3 flags | — | 0x08 |
| void Init(bool forEncryption, ICipherParameters parameters) | Public+2 flags | — | 0x08 |
| int GetOutputSize(int len) | Public+2 flags | — | 0x04 |
| int GetUpdateOutputSize(int len) | Public+2 flags | — | 0x04 |
| void ProcessAadByte(byte input) | Public+2 flags | — | 0x01 |
| void ProcessAadBytes(const byte[]& inBytes, int inOff, int len) | Public+2 flags | — | 0x08 |
| void ProcessAadBytes(const ReadOnlySpan<System.Byte>& input) | Public+2 flags | — | 0x10 |
| int ProcessByte(byte input, const byte[]& outBytes, int outOff) | Public+2 flags | — | 0x08 |
| int ProcessByte(byte input, const Span<System.Byte>& output) | Public+2 flags | — | 0x10 |
| int ProcessBytes(const byte[]& inBytes, int inOff, int len, const byte[]& outBytes, int outOff) | Public+2 flags | — | 0x08 |
| int ProcessBytes(const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | Public+2 flags | — | 0x10 |
| int DoFinal(const byte[]& outBytes, int outOff) | Public+2 flags | — | 0x08 |
| int DoFinal(const Span<System.Byte>& output) | Public+2 flags | — | 0x10 |
| byte[] GetMac() | Public+2 flags | — | 0x08 |
| void Reset() | Public+2 flags | — | 0x00 |
| void CheckAad() | Private | — | 0x00 |
| void CheckData() | Private | — | 0x00 |
| void FinishAad(const State& nextState) | Private | — | 0x04 |
| void FinishData(const State& nextState) | Private | — | 0x04 |
| ulong IncrementCount(ulong count, uint increment, ulong limit) | Private | 0x08 | |
| void InitMac() | Private | 0x00 | |
| void PadMac(ulong count) | Private | 0x08 | |
| void ProcessBlock(const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | Private | 0x10 | |
| void ProcessBlocks2(const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | Private | 0x10 | |
| void ProcessData(const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | Private | 0x10 | |
| void Reset(bool clearMac, bool resetCipher) | Private | 0x01 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 |