*/
FullPolynomial calcEncryptionMask(
FullPolynomial R)
{
byte R4[] = calcPolyMod4Packed(R);
MGF1 mgf = new MGF1(keyParams.mgfHash, keyParams.minCallsMask, true,
R4, 0, R4.length);
FullPolynomial p = MGF_TP_1.genTrinomial(keyParams.N, mgf);
mgf.close();
return p;
}