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

[ChaCha] speed improvement and spec conformance #44

Merged
merged 6 commits into from
Mar 15, 2023

Conversation

vincenthz
Copy link
Collaborator

@vincenthz vincenthz commented Mar 3, 2023

  • Improve ref speed by 10x removing the use of (fake) simd on chacha
  • improve ref speed by 3x on salsa
  • Clearly separate the bernstein/original version from the IETF standard version in term of counters size and nonce handling
  • Separate XChaCha from the 'normal' ChaCha context
  • Separate XSalsa from the 'normal' Salsa context

* Improve ref speed by 10x removing the use of (fake) simd
* Clearly separate the bernstein/original version
  from the IETF standard version in term of counters size
  and nonce handling
* Separate XChaCha from the 'normal' ChaCha context
also switch initialization to be less mutable
* performance bump by ~ 3x not using the fake simd instructions
* separate salsa and xsalsa
* add some docs
@vincenthz vincenthz merged commit 233dd2d into master Mar 15, 2023
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.

None yet

1 participant