Photon-Beetle with reference to C Reference Impl from: https://github.com/PHOTON-Beetle/Software
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final int | |
| private boolean | |
| private byte[] | |
| private final int | |
| private int | |
| private final byte[][] | |
| private byte[] | |
| private final int | |
| private final byte[][] | |
| private final byte[] | |
| private byte[] | |
| private byte[][] | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| private void | |
| public void | processAADByte(byte
the byte to be processed. input)Overrides org. Implements org. Add a single byte to the associated data check. |
| public void | processAADBytes(byte[]
the input byte array. input, int the offset into the in array where the data to be processed starts. inOff, int the number of bytes to be processed. len)Overrides org. Implements org. Add a sequence of bytes to the associated data check. |
| protected void | processBuffer(byte[] input, int inOff, byte[] output, int outOff)
Implements abstract org.
|
| protected void | processBufferAAD(byte[] input, int inOff)
Implements abstract org.
|
| public int | processBytes(byte[]
the input byte array. input, int the offset into the in array where the data to be processed starts. inOff, int the number of bytes to be processed. len, byte[] the output buffer the processed bytes go into. output, int the offset into the output byte array the processed data starts at. outOff)Overrides org. Implements org. process a block of bytes from in putting the result into out. |
| protected void | processFinalAAD()
Implements abstract org.
|
| protected void | processFinalBlock(byte[] output, int outOff)
Implements abstract org.
|
| protected void | |
| private void | |
| private byte | |
| private void |
| aadLen | back to summary |
|---|---|
| private int aadLen | |
| D | back to summary |
|---|---|
| private final int D | |
| input_empty | back to summary |
|---|---|
| private boolean input_empty | |
| K | back to summary |
|---|---|
| private byte[] K | |
| LAST_THREE_BITS_OFFSET | back to summary |
|---|---|
| private final int LAST_THREE_BITS_OFFSET | |
| messageLen | back to summary |
|---|---|
| private int messageLen | |
| MixColMatrix | back to summary |
|---|---|
| private final byte[][] MixColMatrix | |
| N | back to summary |
|---|---|
| private byte[] N | |
| RATE_INBYTES_HALF | back to summary |
|---|---|
| private final int RATE_INBYTES_HALF | |
| RC | back to summary |
|---|---|
| private final byte[][] RC | |
| sbox | back to summary |
|---|---|
| private final byte[] sbox | |
| state | back to summary |
|---|---|
| private byte[] state | |
| state_2d | back to summary |
|---|---|
| private byte[][] state_2d | |
| STATE_INBYTES | back to summary |
|---|---|
| private final int STATE_INBYTES | |
| PhotonBeetleEngine | back to summary |
|---|---|
| public PhotonBeetleEngine(PhotonBeetleEngine. | |
| init | back to summary |
|---|---|
| protected void init(byte[] key, byte[] iv) throws IllegalArgumentException Implements abstract org.
| |
| PHOTON_Permutation | back to summary |
|---|---|
| private void PHOTON_Permutation() | |
| processAADByte | back to summary |
|---|---|
| public void processAADByte(byte input) Overrides org. Implements org. Doc from org. Add a single byte to the associated data check.
| |
| processAADBytes | back to summary |
|---|---|
| public void processAADBytes(byte[] input, int inOff, int len) Overrides org. Implements org. Doc from org. Add a sequence of bytes to the associated data check.
| |
| processBuffer | back to summary |
|---|---|
| protected void processBuffer(byte[] input, int inOff, byte[] output, int outOff) Implements abstract org. | |
| processBufferAAD | back to summary |
|---|---|
| protected void processBufferAAD(byte[] input, int inOff) Implements abstract org. | |
| processBytes | back to summary |
|---|---|
| public int processBytes(byte[] input, int inOff, int len, byte[] output, int outOff) throws DataLengthException Overrides org. Implements org. Doc from org. process a block of bytes from in putting the result into out.
| |
| processFinalAAD | back to summary |
|---|---|
| protected void processFinalAAD() Implements abstract org. | |
| processFinalBlock | back to summary |
|---|---|
| protected void processFinalBlock(byte[] output, int outOff) Implements abstract org.
| |
| reset | back to summary |
|---|---|
| protected void reset(boolean clearMac) Overrides org. | |
| rhoohr | back to summary |
|---|---|
| private void rhoohr(byte[] ciphertext, int outOff, byte[] plaintext, int inOff, int DBlen_inbytes) | |
| select | back to summary |
|---|---|
| private byte select(boolean condition1, boolean condition2, byte option3, byte option4) | |
| XOR | back to summary |
|---|---|
| private void XOR(byte[] in_right, int rOff, int iolen_inbytes) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PhotonBeetleEngine. | |
| public static final PhotonBeetleEngine. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PhotonBeetleEngine. | |
| public static PhotonBeetleEngine. |
| pb128 | back to summary |
|---|---|
| public static final PhotonBeetleEngine. | |
| pb32 | back to summary |
|---|---|
| public static final PhotonBeetleEngine. | |
| PhotonBeetleParameters | back to summary |
|---|---|
| private PhotonBeetleParameters() | |
| valueOf | back to summary |
|---|---|
| public static PhotonBeetleEngine. | |
| values | back to summary |
|---|---|
| public static PhotonBeetleEngine. | |