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

Accelerate scrypt using SIMD #16

Closed
newpavlov opened this issue Apr 8, 2019 · 2 comments
Closed

Accelerate scrypt using SIMD #16

newpavlov opened this issue Apr 8, 2019 · 2 comments

Comments

@newpavlov
Copy link
Member

scrypt spends most of the time in salsa20_8 function, which can be significantly accelerated using explicit SIMD.

@tarcieri
Copy link
Member

tarcieri commented Jun 10, 2020

Per #29, an interesting way to do this would be to add SIMD support to the salsa20 crate, then use its implementation of Salsa20/8.

See also: RustCrypto/stream-ciphers#50

tarcieri added a commit that referenced this issue Oct 18, 2020
Closes #29.

Using the `salsa20` crate allows us to focus on a single place for
things like SIMD optimizations (#16).
tarcieri added a commit that referenced this issue Oct 18, 2020
Closes #29.

Using the `salsa20` crate allows us to focus on a single place for
things like SIMD optimizations (#16).
tarcieri added a commit that referenced this issue Oct 18, 2020
Closes #29.

Using the `salsa20` crate allows us to focus on a single place for
things like SIMD optimizations (#16).
tarcieri added a commit that referenced this issue Oct 18, 2020
Closes #29.

Using the `salsa20` crate allows us to focus on a single place for
things like SIMD optimizations (#16).
@tarcieri
Copy link
Member

As of #60, which switches to using the salsa20 crate, we can now track SIMD optimizations here: RustCrypto/stream-ciphers#50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants