Class KDFFeedbackParameters
java.lang.Object
org.bouncycastle.crypto.internal.params.KDFFeedbackParameters
- All Implemented Interfaces:
DerivationParameters
Note that counter is only supported at the location presented in the
NIST SP 800-108 specification, not in the additional locations present
in the CAVP test vectors.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic KDFFeedbackParameters
createWithCounter
(int counterLocation, byte[] ki, byte[] iv, byte[] fixedInputData, int r) static KDFFeedbackParameters
createWithoutCounter
(byte[] ki, byte[] iv, byte[] fixedInputData) int
byte[]
byte[]
getIV()
byte[]
getKI()
int
getR()
boolean
-
Field Details
-
BEFORE_ITER
public static final int BEFORE_ITER- See Also:
-
AFTER_ITER
public static final int AFTER_ITER- See Also:
-
AFTER_FIXED
public static final int AFTER_FIXED- See Also:
-
-
Method Details
-
createWithCounter
public static KDFFeedbackParameters createWithCounter(int counterLocation, byte[] ki, byte[] iv, byte[] fixedInputData, int r) -
createWithoutCounter
public static KDFFeedbackParameters createWithoutCounter(byte[] ki, byte[] iv, byte[] fixedInputData) -
getCounterLocation
public int getCounterLocation() -
getKI
public byte[] getKI() -
getIV
public byte[] getIV() -
useCounter
public boolean useCounter() -
getR
public int getR() -
getFixedInputData
public byte[] getFixedInputData()
-