I am using multiparty mode, following the example here in the github. I would like to do EvalMultNoRelin for some multiplications and relinearize after, but this appears to only work for a single multiplication. For any other amount of multiplications, no matter how high I set MaxRelinSkDeg, I get the error: Insufficient value was used for maxRelinSkDeg to generate keys for RelinearizeInPlace.
Based on this other discussion thread I found, it seems we need to call cc->EvalMultKeysGen(keyPair.secretKey). However, the multiparty example doesn’t seem to do this and I am guessing this might be the cause of the error?
Any help would be greatly appreciated, thanks!