Org.BouncyCastle.Crypto.Modes.AsconAead128
Ascon-AEAD128 was introduced as part of the NIST Lightweight Cryptography
competition and descriLEd in the NIST Special Publication SP 800-232 (Initial
Public Draft).
namespace Org.BouncyCastle.Crypto.Modes
{
public sealed class AsconAead128 : IAeadCipher
{
public string AlgorithmName { get; }
public AsconAead128();
public int GetKeyBytesSize();
public int GetIVBytesSize();
public void Init(bool forEncryption, ICipherParameters parameters);
public void ProcessAadByte(byte input);
public void ProcessAadBytes(byte[] inBytes, int inOff, int len);
public void ProcessAadBytes(ReadOnlySpan<byte> input);
public int ProcessByte(byte input, byte[] outBytes, int outOff);
public int ProcessByte(byte input, Span<byte> output);
public int ProcessBytes(byte[] inBytes, int inOff, int len, byte[] outBytes, int outOff);
public int ProcessBytes(ReadOnlySpan<byte> input, Span<byte> output);
public int DoFinal(byte[] outBytes, int outOff);
public int DoFinal(Span<byte> output);
public byte[] GetMac();
public int GetUpdateOutputSize(int len);
public int GetOutputSize(int len);
public void Reset();
}
}