Deprecated
Now superseded. Please refer to AsconAEAD128Engine for future implementations.
AsconEngine class provides an implementation of ASCON AEAD version 1.2,
based on the official specification available at:
https://ascon.iaik.tugraz.at/ and the
updated specification document from the NIST competition:
ASCON Specification (Finalist Round)
.
This version references the C reference implementation provided by NIST, available at: ASCON C Reference Implementation (NIST Round 2) .
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final AsconEngine. | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| private void | |
| public String | getAlgorithmVersion()
Implements abstract org.
|
| protected void | |
| protected long | loadBytes(byte[] in, int inOff)
Implements abstract org.
|
| protected long | |
| protected void | processFinalAadBlock()
Implements abstract org.
|
| protected void | processFinalDecrypt(byte[] input, int inLen, byte[] output, int outOff)
Implements abstract org.
|
| protected void | processFinalEncrypt(byte[] input, int inLen, byte[] output, int outOff)
Implements abstract org.
|
| protected void | setBytes(long n, byte[] bs, int off)
Implements abstract org.
|
| asconParameters | back to summary |
|---|---|
| private final AsconEngine. | |
| K2 | back to summary |
|---|---|
| private long K2 | |
| AsconEngine | back to summary |
|---|---|
| public AsconEngine(AsconEngine. | |
| ascon_aeadinit | back to summary |
|---|---|
| protected void ascon_aeadinit() Implements abstract org. | |
| finishData | back to summary |
|---|---|
| private void finishData(AsconBaseEngine. | |
| getAlgorithmVersion | back to summary |
|---|---|
| public String getAlgorithmVersion() Implements abstract org. | |
| init | back to summary |
|---|---|
| protected void init(byte[] key, byte[] iv) throws IllegalArgumentException Implements abstract org. | |
| loadBytes | back to summary |
|---|---|
| protected long loadBytes(byte[] in, int inOff) Implements abstract org.
| |
| pad | back to summary |
|---|---|
| protected long pad(int i) Implements abstract org. | |
| processFinalAadBlock | back to summary |
|---|---|
| protected void processFinalAadBlock() Implements abstract org. | |
| processFinalDecrypt | back to summary |
|---|---|
| protected void processFinalDecrypt(byte[] input, int inLen, byte[] output, int outOff) Implements abstract org. | |
| processFinalEncrypt | back to summary |
|---|---|
| protected void processFinalEncrypt(byte[] input, int inLen, byte[] output, int outOff) Implements abstract org. | |
| setBytes | back to summary |
|---|---|
| protected void setBytes(long n, byte[] bs, int off) Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final AsconEngine. | |
| public static final AsconEngine. | |
| public static final AsconEngine. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AsconEngine. | |
| public static AsconEngine. |
| ascon128 | back to summary |
|---|---|
| public static final AsconEngine. | |
| ascon128a | back to summary |
|---|---|
| public static final AsconEngine. | |
| ascon80pq | back to summary |
|---|---|
| public static final AsconEngine. | |
| AsconParameters | back to summary |
|---|---|
| private AsconParameters() | |
| valueOf | back to summary |
|---|---|
| public static AsconEngine. | |
| values | back to summary |
|---|---|
| public static AsconEngine. | |