-
Notifications
You must be signed in to change notification settings - Fork 1
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
11 adding post quantum support #16
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
All the post-quantum key exchange working correctly Needs an english translation
2 tasks
CodSpeed Performance ReportMerging #16 will create unknown performance changesComparing Summary
Benchmarks breakdown
|
Performance does not apply its a security fix that obviously its going to use more resources |
This was
linked to
issues
Jan 29, 2025
Closed
Closed
Closed
Translated to english
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
enhancement
New feature or request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several changes to the codebase, focusing on adding new dependencies, updating benchmarks, and modifying encryption and key exchange functionalities. The most important changes include the addition of new dependencies, the creation of new benchmark files for
kyber
andchacha
, and significant modifications to the encryption and key exchange implementations.New Dependencies:
kyberlib
,rand
, andzerocopy
toCargo.toml
to support new cryptographic functionalities.Benchmark Updates:
benches/chacha_bench.rs
to benchmark ChaCha20-Poly1305 key derivation, encryption, and decryption.benches/kyber_bench.rs
to benchmark Kyber keypair generation, encapsulation, decapsulation, and full encryption/decryption.benches/encryption.rs
andbenches/key_exchange.rs
which were based on x25519-dalek. [1] [2]Encryption and Key Exchange Modifications:
src/encryption.rs
to useanyhow
for error handling and updated the encryption function to remove unnecessarymut
keyword. [1] [2]src/key_exchange.rs
to replace x25519-dalek with Kyber for key exchange and added new structures for client and server handshakes.src/lib.rs
to integrate Kyber-based encryption and decryption, replacing the previous x25519-dalek-based implementation.Documentation:
README.md
file to reflect changes in the CodSpeed Badge URL.Main File:
src/main.rs
file to generate and verify encrypted data using the new Kyber-based encryption scheme.