|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.crypto.engines.Zuc128CoreEngine
org.bouncycastle.crypto.engines.Zuc256CoreEngine
Zuc256 implementation. Based on https://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf
| Constructor Summary | |
protected |
Zuc256CoreEngine()
Constructor for streamCipher. |
protected |
Zuc256CoreEngine(int pLength)
Constructor for Mac. |
protected |
Zuc256CoreEngine(Zuc256CoreEngine pSource)
Constructor for Memoable. |
| Method Summary | |
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. |
| Methods inherited from class org.bouncycastle.crypto.engines.Zuc128CoreEngine |
encode32be, init, makeKeyStreamWord, processBytes, reset, returnByte |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Zuc256CoreEngine()
protected Zuc256CoreEngine(int pLength)
pLength - the Mac lengthprotected Zuc256CoreEngine(Zuc256CoreEngine pSource)
pSource - the source engine| Method Detail |
protected int getMaxIterations()
getMaxIterations in class Zuc128CoreEnginepublic java.lang.String getAlgorithmName()
getAlgorithmName in interface StreamCiphergetAlgorithmName in class Zuc128CoreEngine
protected 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
|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||