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 intdoFinal(byte[] out, int outOff)Finalize the mac.java.lang.StringgetAlgorithmName()Obtain Algorithm Name.intgetMacSize()Obtain Mac Size.voidinit(CipherParameters pParams)Initialise the Mac.voidreset()Reset the Mac.voidupdate(byte in)Update the mac with a single byte.voidupdate(byte[] in, int inOff, int len)Update the mac.
-
-
-
Method Detail
-
getAlgorithmName
public java.lang.String getAlgorithmName()
Obtain Algorithm Name.- Specified by:
getAlgorithmNamein interfaceMac- Returns:
- the name
-
getMacSize
public int getMacSize()
Obtain Mac Size.- Specified by:
getMacSizein 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.
-
-