public class KDFDoublePipelineIterationBytesGenerator extends java.lang.Object implements MacDerivationFunction
Constructor and Description |
---|
KDFDoublePipelineIterationBytesGenerator(Mac prf) |
Modifier and Type | Method and Description |
---|---|
int |
generateBytes(byte[] out,
int outOff,
int len) |
Mac |
getMac()
return the MAC used as the basis for the function
|
void |
init(DerivationParameters params) |
public KDFDoublePipelineIterationBytesGenerator(Mac prf)
public void init(DerivationParameters params)
init
in interface DerivationFunction
public Mac getMac()
MacDerivationFunction
getMac
in interface MacDerivationFunction
public int generateBytes(byte[] out, int outOff, int len) throws DataLengthException, java.lang.IllegalArgumentException
generateBytes
in interface DerivationFunction
DataLengthException
java.lang.IllegalArgumentException