| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private int | |
| private static final byte[][] | |
| private final byte[] | |
| private final byte[] | |
| private final byte[] | |
| private final byte[] | |
| private final byte[] | |
| protected final CryptoServicePurpose | |
| private final byte[] | |
| private static final long[][] | |
| private final byte[] | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public abstract Memoable | copy()
Redeclares org. |
| 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 abstract String | getAlgorithmName()
Redeclares org. |
| public int | getByteLength()
Implements org. |
| public abstract int | getDigestSize()
Redeclares org. |
| 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. |
| private static void |
| block | back to summary |
|---|---|
| private final byte[] block | |
| bOff | back to summary |
|---|---|
| private int bOff | |
| C | back to summary |
|---|---|
| private static final byte[][] C | |
| h | back to summary |
|---|---|
| private final byte[] h | |
| IV | back to summary |
|---|---|
| private final byte[] IV | |
| Ki | back to summary |
|---|---|
| private final byte[] Ki | |
| m | back to summary |
|---|---|
| private final byte[] m | |
| N | back to summary |
|---|---|
| private final byte[] N | |
| purpose | back to summary |
|---|---|
| protected final CryptoServicePurpose purpose | |
| Sigma | back to summary |
|---|---|
| private final byte[] Sigma | |
| T | back to summary |
|---|---|
| private static final long[][] T | |
| tmp | back to summary |
|---|---|
| private final byte[] tmp | |
| Zero | back to summary |
|---|---|
| private static final byte[] Zero | |
| GOST3411_2012Digest | back to summary |
|---|---|
| public GOST3411_2012Digest(byte[] IV, CryptoServicePurpose purpose) | |
| addMod512 | back to summary |
|---|---|
| private void addMod512(byte[] A, int num) | |
| addMod512 | back to summary |
|---|---|
| private void addMod512(byte[] A, byte[] B) | |
| copy | back to summary |
|---|---|
| public abstract Memoable copy() Redeclares 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. | |
| 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[] K, byte[] m) | |
| F | back to summary |
|---|---|
| private void F(byte[] V) | |
| g_N | back to summary |
|---|---|
| private void g_N(byte[] h, byte[] N, byte[] m) | |
| getAlgorithmName | back to summary |
|---|---|
| public abstract String getAlgorithmName() Redeclares 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 abstract int getDigestSize() Redeclares org. Doc from org. return the size, in bytes, of the digest produced by this message digest.
| |
| 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. | |
| reverse | back to summary |
|---|---|
| private void reverse(byte[] src, byte[] dst) | |
| 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.
| |
| xor512 | back to summary |
|---|---|
| private static void xor512(byte[] A, byte[] B) | |