public class Zuc256CoreEngine extends Zuc128CoreEngine
| Modifier | Constructor and Description |
|---|---|
protected |
Zuc256CoreEngine()
Constructor for streamCipher.
|
protected |
Zuc256CoreEngine(int pLength)
Constructor for Mac.
|
protected |
Zuc256CoreEngine(Zuc256CoreEngine pSource)
Constructor for Memoable.
|
| Modifier and Type | Method and Description |
|---|---|
Memoable |
copy()
Create a copy of the engine.
|
java.lang.String |
getAlgorithmName()
Obtain Algorithm Name.
|
protected int |
getMaxIterations()
Obtain Max iterations.
|
void |
reset(Memoable pState)
Reset from saved engine state.
|
protected void |
setKeyAndIV(int[] pLFSR,
byte[] k,
byte[] iv)
Process key and IV into LFSR.
|
encode32be, init, makeKeyStreamWord, processBytes, reset, returnByteprotected Zuc256CoreEngine()
protected Zuc256CoreEngine(int pLength)
pLength - the Mac lengthprotected Zuc256CoreEngine(Zuc256CoreEngine pSource)
pSource - the source engineprotected int getMaxIterations()
getMaxIterations in class Zuc128CoreEnginepublic java.lang.String getAlgorithmName()
getAlgorithmName in interface StreamCiphergetAlgorithmName in class Zuc128CoreEngineprotected void setKeyAndIV(int[] pLFSR,
byte[] k,
byte[] iv)
setKeyAndIV in class Zuc128CoreEnginepLFSR - the LFSRk - the keyiv - the ivpublic Memoable copy()
copy in interface Memoablecopy in class Zuc128CoreEnginepublic void reset(Memoable pState)
reset in interface Memoablereset in class Zuc128CoreEnginepState - the state to restore