Few essential Paillier encryption setup checks are added. The goal is to validate the setup before its first use. The assumptions are: an incorrect setup can be given to keygen or loaded from wallet by the signing protocol, as well as wrong {p,q} can be loaded via secret loader to keygen.
Few essential Paillier encryption setup checks are added. The goal is to validate the setup before its first use. The assumptions are: an incorrect setup can be given to keygen or loaded from wallet by the signing protocol, as well as wrong {p,q} can be loaded via secret loader to keygen.