Skip to content

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.

3 participants