Package org.bouncycastle.crypto.engines
Class Zuc256Engine
java.lang.Object
org.bouncycastle.crypto.engines.Zuc128CoreEngine
org.bouncycastle.crypto.engines.Zuc256CoreEngine
org.bouncycastle.crypto.engines.Zuc256Engine
- All Implemented Interfaces:
StreamCipher
,Memoable
Zuc256 implementation.
Based on https://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf
-
Constructor Summary
ConstructorDescriptionConstructor for streamCipher.Zuc256Engine
(int pLength) Constructor for Mac. -
Method Summary
Methods inherited from class org.bouncycastle.crypto.engines.Zuc256CoreEngine
getAlgorithmName, getMaxIterations, reset, setKeyAndIV
Methods inherited from class org.bouncycastle.crypto.engines.Zuc128CoreEngine
encode32be, init, makeKeyStreamWord, processBytes, reset, returnByte
-
Constructor Details
-
Zuc256Engine
public Zuc256Engine()Constructor for streamCipher. -
Zuc256Engine
public Zuc256Engine(int pLength) Constructor for Mac.- Parameters:
pLength
- the Mac length
-
-
Method Details
-
copy
Create a copy of the engine.- Specified by:
copy
in interfaceMemoable
- Overrides:
copy
in classZuc256CoreEngine
- Returns:
- the copy
-