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, returnByte
protected Zuc256CoreEngine()
protected Zuc256CoreEngine(int pLength)
pLength
- the Mac lengthprotected Zuc256CoreEngine(Zuc256CoreEngine pSource)
pSource
- the source engineprotected int getMaxIterations()
getMaxIterations
in class Zuc128CoreEngine
public java.lang.String getAlgorithmName()
getAlgorithmName
in interface StreamCipher
getAlgorithmName
in class Zuc128CoreEngine
protected void setKeyAndIV(int[] pLFSR, byte[] k, byte[] iv)
setKeyAndIV
in class Zuc128CoreEngine
pLFSR
- the LFSRk
- the keyiv
- the ivpublic Memoable copy()
copy
in interface Memoable
copy
in class Zuc128CoreEngine
public void reset(Memoable pState)
reset
in interface Memoable
reset
in class Zuc128CoreEngine
pState
- the state to restore