public class AsconXof
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AsconBaseDigest.Friend |
static class |
AsconXof.AsconParameters
Deprecated.
|
protected static interface |
BufferBaseDigest.ProcessingBuffer |
protected static class |
BufferBaseDigest.ProcessingBufferType |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
algorithmName |
protected int |
ASCON_PB_ROUNDS |
protected int |
BlockSize |
protected int |
DigestSize |
protected byte[] |
m_buf |
protected int |
m_bufPos |
protected BufferBaseDigest.ProcessingBuffer |
processor |
| Constructor and Description |
|---|
AsconXof(AsconXof.AsconParameters parameters)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
doFinal(byte[] output,
int outOff)
close the digest, producing the final digest value.
|
int |
doFinal(byte[] output,
int outOff,
int outLen)
Output the results of the final calculation for this digest to outLen number of bytes.
|
int |
doOutput(byte[] output,
int outOff,
int outLen)
Start outputting the results of the final calculation for this digest.
|
protected void |
ensureSufficientInputBuffer(byte[] input,
int inOff,
int len) |
protected void |
ensureSufficientOutputBuffer(byte[] output,
int outOff) |
protected void |
ensureSufficientOutputBuffer(byte[] output,
int outOff,
int len) |
protected void |
finish(byte[] output,
int outOff) |
java.lang.String |
getAlgorithmName()
return the algorithm name
|
int |
getByteLength()
Return the size in bytes of the internal buffer the digest applies it's compression
function to.
|
int |
getDigestSize()
return the size, in bytes, of the digest produced by this message digest.
|
protected int |
hash(byte[] output,
int outOff,
int outLen) |
protected long |
loadBytes(byte[] bytes,
int inOff)
Deprecated.
|
protected long |
loadBytes(byte[] bytes,
int inOff,
int n)
Deprecated.
|
protected long |
pad(int i)
Deprecated.
|
protected void |
padAndAbsorb() |
protected void |
processBytes(byte[] input,
int inOff) |
void |
reset()
Deprecated.
reset the digest back to it's initial state.
|
protected void |
setBytes(long w,
byte[] bytes,
int inOff)
Deprecated.
|
protected void |
setBytes(long w,
byte[] bytes,
int inOff,
int n)
Deprecated.
|
protected void |
squeeze(byte[] output,
int outOff,
int len) |
void |
update(byte in)
update the message digest with a single byte.
|
void |
update(byte[] input,
int inOff,
int len)
update the message digest with a block of bytes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetByteLengthdoFinal, getAlgorithmName, getDigestSizeprotected int ASCON_PB_ROUNDS
protected int DigestSize
protected int BlockSize
protected byte[] m_buf
protected int m_bufPos
protected java.lang.String algorithmName
protected BufferBaseDigest.ProcessingBuffer processor
public AsconXof(AsconXof.AsconParameters parameters)
protected long pad(int i)
protected long loadBytes(byte[] bytes,
int inOff)
protected long loadBytes(byte[] bytes,
int inOff,
int n)
protected void setBytes(long w,
byte[] bytes,
int inOff)
protected void setBytes(long w,
byte[] bytes,
int inOff,
int n)
public void reset()
Digestpublic void update(byte in)
Digestpublic void update(byte[] input,
int inOff,
int len)
Digestpublic int doOutput(byte[] output,
int outOff,
int outLen)
Xofpublic int doFinal(byte[] output,
int outOff,
int outLen)
Xofprotected void padAndAbsorb()
protected void processBytes(byte[] input,
int inOff)
protected void finish(byte[] output,
int outOff)
protected void squeeze(byte[] output,
int outOff,
int len)
protected int hash(byte[] output,
int outOff,
int outLen)
protected void ensureSufficientOutputBuffer(byte[] output,
int outOff,
int len)
public java.lang.String getAlgorithmName()
DigestgetAlgorithmName in interface Digestpublic int getDigestSize()
DigestgetDigestSize in interface Digestpublic int getByteLength()
ExtendedDigestgetByteLength in interface ExtendedDigestpublic int doFinal(byte[] output,
int outOff)
Digestprotected void ensureSufficientInputBuffer(byte[] input,
int inOff,
int len)
protected void ensureSufficientOutputBuffer(byte[] output,
int outOff)