Top Description Fields Constructors Methods
org.bouncycastle.crypto.engines

public Class AsconAEAD128

extends AsconBaseEngine
Class Inheritance
Imports
org.bouncycastle.util.Arrays, .Pack

Ascon-AEAD128 was introduced as part of the NIST Lightweight Cryptography competition and described in the NIST Special Publication SP 800-232 (Initial Public Draft). For additional details, see:
Version
1.3

Field Summary

Inherited from org.bouncycastle.crypto.engines.AsconBaseEngine:
ASCON_AEAD_RATEASCON_IVdsepK0K1m_bufm_bufferSizeDecryptm_bufPosm_stateN0N1nrx0x1x2x3x4

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
private void
public String
protected void
init(byte[] key, byte[] iv)

Implements abstract org.bouncycastle.crypto.engines.AEADBaseEngine.init.

protected long
loadBytes(byte[] in, int inOff)

Implements abstract org.bouncycastle.crypto.engines.AsconBaseEngine.loadBytes.

protected long
protected void
protected void
processFinalDecrypt(byte[] input, int inLen, byte[] output, int outOff)

Implements abstract org.bouncycastle.crypto.engines.AsconBaseEngine.processFinalDecrypt.

protected void
processFinalEncrypt(byte[] input, int inLen, byte[] output, int outOff)

Implements abstract org.bouncycastle.crypto.engines.AsconBaseEngine.processFinalEncrypt.

protected void
setBytes(long n, byte[] bs, int off)

Implements abstract org.bouncycastle.crypto.engines.AsconBaseEngine.setBytes.

Inherited from org.bouncycastle.crypto.engines.AsconBaseEngine:
checkAADcheckDatadoFinalgetOutputSizegetUpdateOutputSizepprocessAADByteprocessAADBytesprocessBufferAADprocessBufferDecryptprocessBufferEncryptprocessBytesreset

Constructor Detail

AsconAEAD128back to summary
public AsconAEAD128()

Method Detail

ascon_aeadinitback to summary
protected void ascon_aeadinit()

Implements abstract org.bouncycastle.crypto.engines.AsconBaseEngine.ascon_aeadinit.

finishDataback to summary
private void finishData(AsconBaseEngine.State nextState)
getAlgorithmVersionback to summary
public String getAlgorithmVersion()

Implements abstract org.bouncycastle.crypto.engines.AsconBaseEngine.getAlgorithmVersion.

initback to summary
protected void init(byte[] key, byte[] iv) throws IllegalArgumentException

Implements abstract org.bouncycastle.crypto.engines.AEADBaseEngine.init.

loadBytesback to summary
protected long loadBytes(byte[] in, int inOff)

Implements abstract org.bouncycastle.crypto.engines.AsconBaseEngine.loadBytes.

Annotations
@Override
padback to summary
protected long pad(int i)

Implements abstract org.bouncycastle.crypto.engines.AsconBaseEngine.pad.

processFinalAadBlockback to summary
protected void processFinalAadBlock()

Implements abstract org.bouncycastle.crypto.engines.AsconBaseEngine.processFinalAadBlock.

processFinalDecryptback to summary
protected void processFinalDecrypt(byte[] input, int inLen, byte[] output, int outOff)

Implements abstract org.bouncycastle.crypto.engines.AsconBaseEngine.processFinalDecrypt.

processFinalEncryptback to summary
protected void processFinalEncrypt(byte[] input, int inLen, byte[] output, int outOff)

Implements abstract org.bouncycastle.crypto.engines.AsconBaseEngine.processFinalEncrypt.

setBytesback to summary
protected void setBytes(long n, byte[] bs, int off)

Implements abstract org.bouncycastle.crypto.engines.AsconBaseEngine.setBytes.

Annotations
@Override