| 188 | } |
| 189 | |
| 190 | void DistKeyGen::check_equality(const DistKeyGen& other) |
| 191 | { |
| 192 | if (a != other.a) |
| 193 | throw runtime_error("no match at a"); |
| 194 | if (b != other.b) |
| 195 | throw runtime_error("no match at b"); |
| 196 | if (enc_dash != other.enc_dash) |
| 197 | throw runtime_error("no match at enc_dash"); |
| 198 | if (enc != other.enc) |
| 199 | throw runtime_error("no match at enc"); |
| 200 | } |
| 201 | |
| 202 | |
| 203 | /* |