| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private long[] | |
| private long[][] | |
| private static final int | |
| private static final int | |
| private static final int | |
| private int | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private int | |
| private int | |
| private long[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| public String | getAlgorithmName()
Implements org. Return the name of the algorithm the cipher implements. |
| public int | getBlockSize()
Implements org. Return the block size for this cipher (in bytes). |
| 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. Initialise the cipher. |
| private void | |
| private void | |
| private static long | |
| private static long | |
| private void | |
| private void | |
| private static long | |
| private static long | |
| 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. Process one block of input from the array in and write it to the out array. |
| public void | |
| private static long | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| forEncryption | back to summary |
|---|---|
| private boolean forEncryption | |
| internalState | back to summary |
|---|---|
| private long[] internalState | |
| roundKeys | back to summary |
|---|---|
| private long[][] roundKeys | |
| ROUNDS_128 | back to summary |
|---|---|
| private static final int ROUNDS_128 | |
| ROUNDS_256 | back to summary |
|---|---|
| private static final int ROUNDS_256 | |
| ROUNDS_512 | back to summary |
|---|---|
| private static final int ROUNDS_512 | |
| roundsAmount | back to summary |
|---|---|
| private int roundsAmount | |
| S0 | back to summary |
|---|---|
| private static final byte[] S0 | |
| S1 | back to summary |
|---|---|
| private static final byte[] S1 | |
| S2 | back to summary |
|---|---|
| private static final byte[] S2 | |
| S3 | back to summary |
|---|---|
| private static final byte[] S3 | |
| T0 | back to summary |
|---|---|
| private static final byte[] T0 | |
| T1 | back to summary |
|---|---|
| private static final byte[] T1 | |
| T2 | back to summary |
|---|---|
| private static final byte[] T2 | |
| T3 | back to summary |
|---|---|
| private static final byte[] T3 | |
| wordsInBlock | back to summary |
|---|---|
| private int wordsInBlock | |
| wordsInKey | back to summary |
|---|---|
| private int wordsInKey | |
| workingKey | back to summary |
|---|---|
| private long[] workingKey | |
| DSTU7624Engine | back to summary |
|---|---|
| public DSTU7624Engine(int blockBitLength) throws IllegalArgumentException | |
| addRoundKey | back to summary |
|---|---|
| private void addRoundKey(int round) | |
| decryptBlock_128 | back to summary |
|---|---|
| private void decryptBlock_128(byte[] in, int inOff, byte[] out, int outOff) | |
| encryptBlock_128 | back to summary |
|---|---|
| private void encryptBlock_128(byte[] in, int inOff, byte[] out, int outOff) | |
| 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).
| |
| init | back to summary |
|---|---|
| public void init(boolean forEncryption, CipherParameters params) throws IllegalArgumentException Implements org. Doc from org. Initialise the cipher.
| |
| invShiftRows | back to summary |
|---|---|
| private void invShiftRows() | |
| invSubBytes | back to summary |
|---|---|
| private void invSubBytes() | |
| mixColumn | back to summary |
|---|---|
| private static long mixColumn(long c) | |
| mixColumnInv | back to summary |
|---|---|
| private static long mixColumnInv(long c) | |
| mixColumns | back to summary |
|---|---|
| private void mixColumns() | |
| mixColumnsInv | back to summary |
|---|---|
| private void mixColumnsInv() | |
| mulX | back to summary |
|---|---|
| private static long mulX(long n) | |
| mulX2 | back to summary |
|---|---|
| private static long mulX2(long n) | |
| 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.
| |
| 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). | |
| rotate | back to summary |
|---|---|
| private static long rotate(int n, long x) | |
| rotateLeft | back to summary |
|---|---|
| private void rotateLeft(long[] x, long[] z) | |
| shiftRows | back to summary |
|---|---|
| private void shiftRows() | |
| subBytes | back to summary |
|---|---|
| private void subBytes() | |
| subRoundKey | back to summary |
|---|---|
| private void subRoundKey(int round) | |
| workingKeyExpandEven | back to summary |
|---|---|
| private void workingKeyExpandEven(long[] workingKey, long[] tempKey) | |
| workingKeyExpandKT | back to summary |
|---|---|
| private void workingKeyExpandKT(long[] workingKey, long[] tempKeys) | |
| workingKeyExpandOdd | back to summary |
|---|---|
| private void workingKeyExpandOdd() | |
| xorRoundKey | back to summary |
|---|---|
| private void xorRoundKey(int round) | |