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

5 key and static key parameter gen for alg macs #8

Merged
merged 11 commits into from
Jan 19, 2023

Conversation

leonschmidt99
Copy link
Member

Closes #5

Implements the generation of public system parameters and the server's key pair for the Algebraic MAC.
Depends on some more Ristretto features being ported to Python (see the tracking issue).

Also adds an encapsulating "RistrettoSho", which uses a SHO to provide an easy way to generate RistrettoPoints and Scalars.

@leonschmidt99 leonschmidt99 linked an issue Jan 10, 2023 that may be closed by this pull request
@leonschmidt99 leonschmidt99 force-pushed the 5-key-and-static-key-parameter-gen-for-alg-macs branch from 0268acc to a5c6bba Compare January 12, 2023 14:03
@leonschmidt99
Copy link
Member Author

leonschmidt99 commented Jan 17, 2023

This PR now depends on hpicrypto/poksho#11 being merged first.

Edit: The PR in question has been merged, this one can proceed.

@leonschmidt99
Copy link
Member Author

This PR now also closes hpicrypto/zkgroup#6

@konradh konradh self-requested a review January 19, 2023 05:57
Copy link
Collaborator

@konradh konradh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, I don't think unconditional use of the Ristretto group is ideal, but fine for now. Ideally, the group would be configurable but we don't have to do it now (or ever during the seminar).

tests/test_system_params.py Outdated Show resolved Hide resolved
kvac/parameters.py Outdated Show resolved Hide resolved
kvac/parameters.py Outdated Show resolved Hide resolved
kvac/parameters.py Outdated Show resolved Hide resolved
kvac/ristretto_sho.py Show resolved Hide resolved
kvac/parameters.py Outdated Show resolved Hide resolved
@leonschmidt99
Copy link
Member Author

Merging #12 right now, will then rebase this branch onto main and merge as well.

@leonschmidt99 leonschmidt99 force-pushed the 5-key-and-static-key-parameter-gen-for-alg-macs branch from 920f0e3 to b623dc9 Compare January 19, 2023 14:28
…l we find a way to enable pylint to find curve25519_dalek
@leonschmidt99 leonschmidt99 merged commit 976e7d8 into main Jan 19, 2023
@leonschmidt99 leonschmidt99 deleted the 5-key-and-static-key-parameter-gen-for-alg-macs branch January 19, 2023 20:27
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

Successfully merging this pull request may close these issues.

Key and Static Key Parameter Gen for Alg. MACs
2 participants