| Modifier and Type | Field and Description |
|---|---|
| private byte[][] | |
| protected static final int | |
| private boolean | |
| private static final byte[] | |
| private int | |
| private final byte[] | |
| private static final byte[] | |
| private int | |
| private byte[][] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| public String | getAlgorithmName()
Implements org. |
| public int | getBlockSize()
Implements org. |
| private void | |
| public void | init(boolean
if true the cipher is initialised for
encryption, if false for decryption. forEncryption, CipherParameters the key and other data required by the cipher. params)Implements org. |
| private static byte[][] | |
| private void | |
| private void | |
| private void | |
| private static byte | |
| private void | |
| private byte | |
| private byte[] | |
| public int | processBlock(byte[]
the array containing the input data. in, int offset into the in array the data starts at. inOff, byte[] the array the output data will be copied into. out, int the offset into the out array the output will start at. outOff)Implements org. |
| private void | |
| public void | |
| private void | |
| private int | |
| private void | |
| private byte[] |
| _gf_mul | back to summary |
|---|---|
| private byte[][] _gf_mul | |
| BLOCK_SIZE | back to summary |
|---|---|
| protected static final int BLOCK_SIZE | |
| forEncryption | back to summary |
|---|---|
| private boolean forEncryption | |
| inversePI | back to summary |
|---|---|
| private static final byte[] inversePI | |
| KEY_LENGTH | back to summary |
|---|---|
| private int KEY_LENGTH | |
| lFactors | back to summary |
|---|---|
| private final byte[] lFactors | |
| PI | back to summary |
|---|---|
| private static final byte[] PI | |
| SUB_LENGTH | back to summary |
|---|---|
| private int SUB_LENGTH | |
| subKeys | back to summary |
|---|---|
| private byte[][] subKeys | |
| GOST3412_2015Engine | back to summary |
|---|---|
| public GOST3412_2015Engine() | |
| C | back to summary |
|---|---|
| private void C(byte[] c, int i) | |
| F | back to summary |
|---|---|
| private void F(byte[] k, byte[] a1, byte[] a0) | |
| generateSubKeys | back to summary |
|---|---|
| private void generateSubKeys(byte[] userKey) | |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. Return the name of the algorithm the cipher implements.
| |
| getBlockSize | back to summary |
|---|---|
| public int getBlockSize() Implements org. Doc from org. Return the block size for this cipher (in bytes).
| |
| GOST3412_2015Func | back to summary |
|---|---|
| private void GOST3412_2015Func(byte[] in, int inOff, byte[] out, int outOff) | |
| init | back to summary |
|---|---|
| public void init(boolean forEncryption, CipherParameters params) throws IllegalArgumentException Implements org. Doc from org. Initialise the cipher.
| |
| init_gf256_mul_table | back to summary |
|---|---|
| private static byte[][] init_gf256_mul_table() | |
| inverseL | back to summary |
|---|---|
| private void inverseL(byte[] data) | |
| inverseR | back to summary |
|---|---|
| private void inverseR(byte[] data) | |
| inverseS | back to summary |
|---|---|
| private void inverseS(byte[] data) | |
| kuz_mul_gf256_slow | back to summary |
|---|---|
| private static byte kuz_mul_gf256_slow(byte a, byte b) | |
| L | back to summary |
|---|---|
| private void L(byte[] data) | |
| l | back to summary |
|---|---|
| private byte l(byte[] data) | |
| LSX | back to summary |
|---|---|
| private byte[] LSX(byte[] k, byte[] a) | |
| processBlock | back to summary |
|---|---|
| public int processBlock(byte[] in, int inOff, byte[] out, int outOff) throws DataLengthException, IllegalStateException Implements org. Doc from org. Process one block of input from the array in and write it to the out array.
| |
| R | back to summary |
|---|---|
| private void R(byte[] data) | |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. Reset the cipher. After resetting the cipher is in the same state as it was after the last init (if there was one). | |
| S | back to summary |
|---|---|
| private void S(byte[] data) | |
| unsignedByte | back to summary |
|---|---|
| private int unsignedByte(byte b) | |
| X | back to summary |
|---|---|
| private void X(byte[] result, byte[] data) | |
| XSL | back to summary |
|---|---|
| private byte[] XSL(byte[] k, byte[] a) | |