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

Add Kyber #60

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add Kyber #60

wants to merge 4 commits into from

Conversation

bifurcation
Copy link
Collaborator

Since SIKE is now broken, we need a better example PQ integration.

crypto.go Outdated

type kyber512PrivateKey struct {
priv *kyber512.PrivateKey
pub *kyber512.PublicKey

Choose a reason for hiding this comment

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

No need to store the public key along: kyberx.PrivateKey already contains a kyberx.PublicKey. Use the Public() function.

@bifurcation bifurcation changed the title Add Kyber512 Add Kyber Nov 28, 2022
@bifurcation
Copy link
Collaborator Author

@bwesterb suggested adding Kyber768. This led me to discover CIRCL's kem.Scheme abstraction, which made it pretty straightforward to add all three Kyber security levels.

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.

2 participants