for (int t=0; t<tests.length; t++)
{
KeyParams keyParams = KeyParams.getKeyParams(tests[t].oid);
NtruEncryptKey keys = new NtruEncryptKey(tests[t].oid);
FullPolynomial R = new FullPolynomial(tests[t].R);
byte out[] = keys.calcPolyMod4Packed(R);
assertArrayEquals(out, tests[t].R4);
}
}