T
- The parameters class for this verifier.public abstract class FipsOutputXOFCalculator<T extends FipsParameters> extends java.lang.Object implements OutputXOFCalculator<T>
Constructor and Description |
---|
FipsOutputXOFCalculator() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getFunctionOutput(byte[] output,
int off,
int outLen)
Output the function output for what has been written to the calculator's output stream.
|
byte[] |
getFunctionOutput(int outLen)
Return the outLen bytes of function output for what has been written to the calculator's output stream.
|
abstract UpdateOutputStream |
getFunctionStream()
Returns a stream that will accept data for the purpose of calculating
a MAC.
|
abstract T |
getParameters()
Return the parameters for this MAC calculator.
|
abstract void |
reset()
Reset the calculator back to its initial state.
|
public byte[] getFunctionOutput(int outLen)
OutputXOFCalculator
getFunctionOutput
in interface OutputXOFCalculator<T extends FipsParameters>
outLen
- the number of output bytes requested.public abstract T getParameters()
OutputXOFCalculator
getParameters
in interface OutputXOFCalculator<T extends FipsParameters>
public abstract UpdateOutputStream getFunctionStream()
OutputXOFCalculator
getFunctionStream
in interface OutputXOFCalculator<T extends FipsParameters>
public abstract int getFunctionOutput(byte[] output, int off, int outLen)
OutputXOFCalculator
getFunctionOutput
in interface OutputXOFCalculator<T extends FipsParameters>
output
- output array to write the output bytes to.off
- offset to start writing the bytes at.outLen
- the number of output bytes requested.public abstract void reset()
OutputXOFCalculator
reset
in interface OutputXOFCalculator<T extends FipsParameters>