swisspost-evoting-go-poc/pkg/zkp
saymrwulf 895782543c Pin plaintext-equality proof soundness with a correct-usage test
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>
2026-07-06 15:42:29 +02:00
..
decryption.go Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
exponentiation.go Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
plaintext_equality.go Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
plaintext_equality_test.go Pin plaintext-equality proof soundness with a correct-usage test 2026-07-06 15:42:29 +02:00
schnorr.go Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
types.go Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
zkp_test.go Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00