implements IMac
0x00x0048
Members 9
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | BlockSize | int | PrivateStatic+1 flags | 8 |
| — | 0x04 | MacSize | int | PrivateStatic+1 flags | 4 |
| 0x04 | bufOff | int | Private | — | |
| 0x0014 | 0x04 | padding / unreflected | |||
| 0x08 | buf | byte[] | Private | — | |
| 0x08 | mac | byte[] | Private | — | |
| 0x01 | firstStep | bool | Private | — | |
| 0x0029 | 0x07 | padding / unreflected | |||
| 0x08 | workingKey | int[] | Private | — | |
| 0x08 | macIV | byte[] | Private | — | |
| 0x08 | S | byte[] | Private | — | |
Functions 15
| Signature | Flags | Native | Params |
|---|---|---|---|
| void .ctor() | Public+1 flags | — | 0x00 |
| int[] GenerateWorkingKey(const byte[]& userKey) | PrivateStatic | — | 0x08 |
| void Init(ICipherParameters parameters) | PublicFinal+2 flags | — | 0x08 |
| string get_AlgorithmName() | PublicFinal+3 flags | — | 0x08 |
| int GetMacSize() | PublicFinal+2 flags | — | 0x04 |
| int Gost28147_mainStep(int n1, int key) | Private | — | 0x04 |
| void Gost28147MacFunc(const int[]& workingKey, const byte[]& input, int inOff, const byte[]& output, int outOff) | Private | — | 0x08 |
| void Update(byte input) | PublicFinal+2 flags | — | 0x01 |
| void BlockUpdate(const byte[]& input, int inOff, int len) | PublicFinal+2 flags | — | 0x08 |
| void BlockUpdate(const ReadOnlySpan<System.Byte>& input) | PublicFinal+2 flags | — | 0x10 |
| int DoFinal(const byte[]& output, int outOff) | PublicFinal+2 flags | — | 0x08 |
| int DoFinal(const Span<System.Byte>& output) | PublicFinal+2 flags | — | 0x10 |
| void Reset() | PublicFinal+2 flags | — | 0x00 |
| void Cm5Func(const byte[]& buf, int bufOff, const byte[]& mac, const byte[]& sum) | PrivateStatic | — | 0x08 |
| void Cm5Func(const ReadOnlySpan<System.Byte>& buffer, const ReadOnlySpan<System.Byte>& mac, const Span<System.Byte>& sum) | PrivateStatic | — | 0x10 |