Skip to content

HashedElGamal: Compatibility with the reference implementation #26

@shreyasminocha

Description

@shreyasminocha

Manually transferred.

Dependent issue: Election-Tech-Initiative/electionguard-python#646

Depending on what they do or don't fix, we might need to:

  • Ensure that we're always serializing integers to 32-bits
  • Remove the 0x00 from the KDF computation
  • Encode HMAC keys in hex bytes (hopefully not!)

We should also double-check that they are correctly handling inputs that aren't multiples of 32 bytes long.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions