}
private void setupKeys() {
ParametersWithIV tempPram = null;
try{
KeyParameter cipherKey = new KeyParameter(KeyGenUtils.deriveSecretKey(unencryptedBaseKey,
EncryptedRandomAccessBuffer.class, kdfInput.underlyingKey.input,
type.encryptKey).getEncoded());
tempPram = new ParametersWithIV(cipherKey,
KeyGenUtils.deriveIvParameterSpec(unencryptedBaseKey, EncryptedRandomAccessBuffer.class,
kdfInput.underlyingIV.input, type.encryptKey).getIV());