Package org.bouncycastle.crypto.macs
Class Zuc256Mac
- java.lang.Object
-
- org.bouncycastle.crypto.macs.Zuc256Mac
-
-
Constructor Summary
Constructors Constructor Description Zuc256Mac(int pLength)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doFinal(byte[] out, int outOff)
Finalize the mac.java.lang.String
getAlgorithmName()
Obtain Algorithm Name.int
getMacSize()
Obtain Mac Size.void
init(CipherParameters pParams)
Initialise the Mac.void
reset()
Reset the Mac.void
update(byte in)
Update the mac with a single byte.void
update(byte[] in, int inOff, int len)
Update the mac.
-
-
-
Method Detail
-
getAlgorithmName
public java.lang.String getAlgorithmName()
Obtain Algorithm Name.- Specified by:
getAlgorithmName
in interfaceMac
- Returns:
- the name
-
getMacSize
public int getMacSize()
Obtain Mac Size.- Specified by:
getMacSize
in interfaceMac
- Returns:
- the size in Bytes
-
init
public void init(CipherParameters pParams)
Initialise the Mac.
-
update
public void update(byte in)
Update the mac with a single byte.
-
update
public void update(byte[] in, int inOff, int len)
Update the mac.
-
doFinal
public int doFinal(byte[] out, int outOff)
Finalize the mac.
-
-