-
Notifications
You must be signed in to change notification settings - Fork 15
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
Initial implementation of x-wing #62
Conversation
9fcea4d
to
9e6b32c
Compare
8221976
to
49855da
Compare
49855da
to
a4f79f5
Compare
e455f39
to
4671685
Compare
#[derive(Clone, PartialEq)] | ||
pub struct EncapsulationKey { | ||
pk_m: MlKem768EncapsulationKey, | ||
pk_x: x25519_dalek::PublicKey, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason kem::EncapsulationKey<MlKem768Params>
does not implement Eq
, as far as I can tell implementing Eq
should not be a problem as all underling types are u8 arrays or integers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can add a derive for it
@tarcieri Everything should be done now. Please give it a good review, and let me know if you think I should change anything. Version wise I wonder if we should release it as 0.4 as it follows version 4 of the RFC draft? |
Will review soon |
Implementation of the X-WING KEM. Following the RFC version 04.
Todo:
Array
/HybridArray