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

Replace ChaCha RNG by HC-128 #338

Merged
merged 1 commit into from
May 11, 2022
Merged

Replace ChaCha RNG by HC-128 #338

merged 1 commit into from
May 11, 2022

Conversation

vinc
Copy link
Owner

@vinc vinc commented May 7, 2022

The rand_chacha crate restricted us to release mode only because of a LLVM error described here: #120

When reading this rust-osdev/bootloader#229 (comment) I discovered that I could replace it with the rand_hc crate to simplify the code and allow compilation of the debug mode.

See https://en.wikipedia.org/wiki/Salsa20#ChaCha_variant and https://en.wikipedia.org/wiki/HC-256

@vinc vinc merged commit adb5390 into trunk May 11, 2022
@vinc vinc deleted the feature/rand-hc branch May 11, 2022 07:47
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.

1 participant