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 DerivationFunctionpublic Mac getMac()
MacDerivationFunctiongetMac in interface MacDerivationFunctionpublic int generateBytes(byte[] out,
                         int outOff,
                         int len)
                  throws DataLengthException,
                         java.lang.IllegalArgumentException
generateBytes in interface DerivationFunctionDataLengthExceptionjava.lang.IllegalArgumentException