| Modifier and Type | Field and Description |
|---|---|
| pack-priv byte[] | |
| private long | |
| private byte[][] | |
| private static final byte[] | C2
reset the chaining variables to the IV values. |
| private BlockCipher | |
| private static final int | |
| private byte[] | |
| private byte[] | |
| private byte[] | |
| private byte[] | |
| pack-priv byte[] | |
| private byte[] | |
| private byte[] | |
| pack-priv byte[] | |
| pack-priv byte[] | |
| pack-priv byte[] | |
| pack-priv short[] | |
| pack-priv short[] | |
| private byte[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private byte[] | |
| public Memoable | copy()
Implements org. |
| private void | |
| private void | |
| public int | doFinal(byte[]
the array the digest is to be copied into. out, int the offset into the out array the digest is to start at. outOff)Implements org. |
| private void | |
| private void | |
| private void | |
| public String | getAlgorithmName()
Implements org. |
| public int | getByteLength()
Implements org. |
| public int | getDigestSize()
Implements org. |
| private byte[] | |
| protected void | |
| public void | reset()
Implements org. |
| public void | reset(Memoable
an object originally other)copied from an object of the same type as this instance.Implements org. |
| private void | |
| public void | update(byte
the input byte to be entered. in)Implements org. |
| public void | update(byte[]
the byte array containing the data. in, int the offset into the byte array where the data starts. inOff, int the length of the data. len)Implements org. |
| a | back to summary |
|---|---|
| pack-priv byte[] a | |
| byteCount | back to summary |
|---|---|
| private long byteCount | |
| C | back to summary |
|---|---|
| private byte[][] C | |
| C2 | back to summary |
|---|---|
| private static final byte[] C2 reset the chaining variables to the IV values. | |
| cipher | back to summary |
|---|---|
| private BlockCipher cipher | |
| DIGEST_LENGTH | back to summary |
|---|---|
| private static final int DIGEST_LENGTH | |
| H | back to summary |
|---|---|
| private byte[] H | |
| K | back to summary |
|---|---|
| private byte[] K | |
| L | back to summary |
|---|---|
| private byte[] L | |
| M | back to summary |
|---|---|
| private byte[] M | |
| S | back to summary |
|---|---|
| pack-priv byte[] S | |
| sBox | back to summary |
|---|---|
| private byte[] sBox | |
| Sum | back to summary |
|---|---|
| private byte[] Sum | |
| U | back to summary |
|---|---|
| pack-priv byte[] U | |
| V | back to summary |
|---|---|
| pack-priv byte[] V | |
| W | back to summary |
|---|---|
| pack-priv byte[] W | |
| w_S | back to summary |
|---|---|
| pack-priv short[] w_S | |
| wS | back to summary |
|---|---|
| pack-priv short[] wS | |
| xBuf | back to summary |
|---|---|
| private byte[] xBuf | |
| xBufOff | back to summary |
|---|---|
| private int xBufOff | |
| GOST3411Digest | back to summary |
|---|---|
| public GOST3411Digest() Standard constructor | |
| GOST3411Digest | back to summary |
|---|---|
| public GOST3411Digest(byte[] sBoxParam) Constructor to allow use of a particular sbox with GOST28147
| |
| GOST3411Digest | back to summary |
|---|---|
| public GOST3411Digest(GOST3411Digest t) Copy constructor. This will copy the state of the provided message digest. | |
| A | back to summary |
|---|---|
| private byte[] A(byte[] in) | |
| copy | back to summary |
|---|---|
| public Memoable copy() Implements org. Doc from org. Produce a copy of this object with its configuration and in its current state. The returned object may be used simply to store the state, or may be used as a similar object starting from the copied state. | |
| cpyBytesToShort | back to summary |
|---|---|
| private void cpyBytesToShort(byte[] S, short[] wS) | |
| cpyShortToBytes | back to summary |
|---|---|
| private void cpyShortToBytes(short[] wS, byte[] S) | |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] out, int outOff) Implements org. Doc from org. close the digest, producing the final digest value. The doFinal call leaves the digest reset.
| |
| E | back to summary |
|---|---|
| private void E(byte[] key, byte[] s, int sOff, byte[] in, int inOff) | |
| finish | back to summary |
|---|---|
| private void finish() | |
| fw | back to summary |
|---|---|
| private void fw(byte[] in) | |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. return the algorithm name
| |
| getByteLength | back to summary |
|---|---|
| public int getByteLength() Implements org. Doc from org. Return the size in bytes of the internal buffer the digest applies it's compression function to.
| |
| getDigestSize | back to summary |
|---|---|
| public int getDigestSize() Implements org. Doc from org. return the size, in bytes, of the digest produced by this message digest.
| |
| P | back to summary |
|---|---|
| private byte[] P(byte[] in) | |
| processBlock | back to summary |
|---|---|
| protected void processBlock(byte[] in, int inOff) | |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. reset the digest back to it's initial state. | |
| reset | back to summary |
|---|---|
| public void reset(Memoable other) Implements org. Doc from org. Restore a copied object state into this object. Implementations of this method should try to avoid or minimise memory allocation to perform the reset. | |
| sumByteArray | back to summary |
|---|---|
| private void sumByteArray(byte[] in) | |
| update | back to summary |
|---|---|
| public void update(byte in) Implements org. Doc from org. update the message digest with a single byte.
| |
| update | back to summary |
|---|---|
| public void update(byte[] in, int inOff, int len) Implements org. Doc from org. update the message digest with a block of bytes.
| |