Top Description Constructors Methods
org.bouncycastle.crypto.engines

public final Class Zuc256Engine

extends Zuc256CoreEngine
Class Inheritance
Imports
org.bouncycastle.util.Memoable

Zuc256 implementation. Based on https://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf

Constructor Summary

AccessConstructor and Description
public
Zuc256Engine()

Constructor for streamCipher.

public
Zuc256Engine(final int
the Mac length
pLength
)

Constructor for Mac.

private
Zuc256Engine(final Zuc256Engine
the source engine
pSource
)

Constructor for Memoable.

Method Summary

Modifier and TypeMethod and Description
public Memoable

Returns:

the copy
copy
()

Overrides org.bouncycastle.crypto.engines.Zuc256CoreEngine.copy.

Implements org.bouncycastle.util.Memoable.copy.

Create a copy of the engine.
Inherited from org.bouncycastle.crypto.engines.Zuc256CoreEngine:
getAlgorithmNamegetMaxIterationsresetsetKeyAndIV

Constructor Detail

Zuc256Engineback to summary
public Zuc256Engine()

Constructor for streamCipher.

Zuc256Engineback to summary
public Zuc256Engine(final int pLength)

Constructor for Mac.

Parameters
pLength:int

the Mac length

Zuc256Engineback to summary
private Zuc256Engine(final Zuc256Engine pSource)

Constructor for Memoable.

Parameters
pSource:Zuc256Engine

the source engine

Method Detail

copyback to summary
public Memoable copy()

Overrides org.bouncycastle.crypto.engines.Zuc256CoreEngine.copy.

Implements org.bouncycastle.util.Memoable.copy.

Create a copy of the engine.

Returns:Memoable

the copy