Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContestData not complete #55

Open
JohnLCaron opened this issue Apr 12, 2024 · 2 comments
Open

ContestData not complete #55

JohnLCaron opened this issue Apr 12, 2024 · 2 comments

Comments

@JohnLCaron
Copy link
Owner

Consider this feature incomplete. Not fully specified, will not agree with another implementation. Mostly matters for the Verifier, perhaps a flag to ignore is needed.

See votingworks/electionguard-kotlin-multiplatform#155

@JohnLCaron
Copy link
Owner Author

Is there something needed in the ballot validation around writeins or contest data?

@JohnLCaron
Copy link
Owner Author

HashedElGamalCiphertext is not tested enough, esp being compliant with the spec. Comparing to another implementation would be best.

Probably dont need numBytes:

data class HashedElGamalCiphertext(
    val c0: ElementModP,
    val c1: ByteArray,
    val c2: UInt256,
    val numBytes: Int // TODO not sure if this is needed
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant