mirror of
https://github.com/saymrwulf/swisspost-evoting-go-poc.git
synced 2026-09-04 20:23:55 +00:00
The plaintext-equality primitive itself is sound: statement (γ1, γ2, φ1/φ2) with witnesses (r0, r1) correctly proves two ciphertexts encrypt the same plaintext under different keys. Finding F5 was a caller error in the old vote path, not a defect here. This test pins the correct contract (accepts equal plaintexts, rejects different plaintexts and mismatched aux) so the upcoming cast-as-intended return-code path can rely on it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| decryption.go | ||
| exponentiation.go | ||
| plaintext_equality.go | ||
| plaintext_equality_test.go | ||
| schnorr.go | ||
| types.go | ||
| zkp_test.go | ||