| 127 | } |
| 128 | |
| 129 | void DistKeyGen::compute_b() |
| 130 | { |
| 131 | mul(b, a, secret); |
| 132 | mul(e, e, p); |
| 133 | add(b, b, e); |
| 134 | pk.check_noise(b - a * secret); |
| 135 | } |
| 136 | |
| 137 | void DistKeyGen::compute_enc_dash(const vector<Rq_Element>& bs) |
| 138 | { |
no test coverage detected