protected static class ChaCha20Cipher.ChaChaEngine extends Object
Modifier and Type | Field and Description |
---|---|
protected int[] |
engineState |
protected long |
initialNonce |
protected byte[] |
nonce |
protected int[] |
x |
Modifier | Constructor and Description |
---|---|
protected |
ChaChaEngine() |
Modifier and Type | Method and Description |
---|---|
protected void |
advanceNonce() |
protected static void |
columnRound(int[] state) |
protected void |
crypt(byte[] in,
int offset,
int length,
byte[] out,
int outOffset) |
protected static void |
diagonalRound(int[] state) |
protected void |
initCounter(long counter) |
protected void |
initKey(byte[] key) |
protected void |
initNonce(byte[] nonce) |
protected static void |
permute(int[] state) |
protected byte[] |
polyKey() |
protected static void |
quarterRound(int[] state,
int a,
int b,
int c,
int d) |
protected final int[] x
protected final int[] engineState
protected final byte[] nonce
protected long initialNonce
protected void initKey(byte[] key)
protected void initNonce(byte[] nonce)
protected void advanceNonce()
protected void initCounter(long counter)
protected void crypt(byte[] in, int offset, int length, byte[] out, int outOffset)
protected byte[] polyKey()
protected static void permute(int[] state)
protected static void columnRound(int[] state)
protected static void diagonalRound(int[] state)
protected static void quarterRound(int[] state, int a, int b, int c, int d)
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.