| Modifier and Type | Field and Description |
|---|---|
| protected static final int | |
| private static final byte[][] | |
| pack-priv boolean | |
| private byte[][] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected static void | |
| private int | |
| protected static void | |
| protected static void | |
| public String | getAlgorithmName()
Implements org. |
| public int | getBlockSize()
Implements org. |
| 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. |
| protected static byte[][] | |
| protected static void | |
| 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. |
| public void | |
| protected static void | |
| protected static byte | |
| protected static byte | |
| protected static byte | |
| protected static byte | |
| protected static void | |
| protected static void | |
| protected static void |
| BLOCK_SIZE | back to summary |
|---|---|
| protected static final int BLOCK_SIZE | |
| C | back to summary |
|---|---|
| private static final byte[][] C | |
| forEncryption | back to summary |
|---|---|
| pack-priv boolean forEncryption | |
| roundKeys | back to summary |
|---|---|
| private byte[][] roundKeys | |
| SB1_sbox | back to summary |
|---|---|
| private static final byte[] SB1_sbox | |
| SB2_sbox | back to summary |
|---|---|
| private static final byte[] SB2_sbox | |
| SB3_sbox | back to summary |
|---|---|
| private static final byte[] SB3_sbox | |
| SB4_sbox | back to summary |
|---|---|
| private static final byte[] SB4_sbox | |
| ARIAEngine | back to summary |
|---|---|
| public ARIAEngine() | |
| A | back to summary |
|---|---|
| protected static void A(byte[] z) | |
| bitsOfSecurity | back to summary |
|---|---|
| private int bitsOfSecurity() | |
| FE | back to summary |
|---|---|
| protected static void FE(byte[] D, byte[] RK) | |
| FO | back to summary |
|---|---|
| protected static void FO(byte[] D, byte[] RK) | |
| 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.
| |
| keySchedule | back to summary |
|---|---|
| protected static byte[][] keySchedule(boolean forEncryption, byte[] K) | |
| keyScheduleRound | back to summary |
|---|---|
| protected static void keyScheduleRound(byte[] rk, byte[] w, byte[] wr, int 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). | |
| reverseKeys | back to summary |
|---|---|
| protected static void reverseKeys(byte[][] keys) | |
| SB1 | back to summary |
|---|---|
| protected static byte SB1(byte x) | |
| SB2 | back to summary |
|---|---|
| protected static byte SB2(byte x) | |
| SB3 | back to summary |
|---|---|
| protected static byte SB3(byte x) | |
| SB4 | back to summary |
|---|---|
| protected static byte SB4(byte x) | |
| SL1 | back to summary |
|---|---|
| protected static void SL1(byte[] z) | |
| SL2 | back to summary |
|---|---|
| protected static void SL2(byte[] z) | |
| xor | back to summary |
|---|---|
| protected static void xor(byte[] z, byte[] x) | |