Skip to content

Commit

Permalink
salsa20: revert sse2
Browse files Browse the repository at this point in the history
This reverts #328.

The changes introduced here generate failure when used in `scrypt`. The
`scrypt_block_mix` would generate a different value.

I'm not able to figure out why that change breaks scrypt. Reverting
until we can figure out why.
  • Loading branch information
baloo committed Mar 4, 2024
1 parent 5b0a98b commit 6136ddb
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 316 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion salsa20/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ keywords = ["crypto", "stream-cipher", "trait", "xsalsa20"]
categories = ["cryptography", "no-std"]

[dependencies]
cfg-if = "1"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
Expand Down
20 changes: 0 additions & 20 deletions salsa20/src/backends.rs

This file was deleted.

70 changes: 0 additions & 70 deletions salsa20/src/backends/soft.rs

This file was deleted.

156 changes: 0 additions & 156 deletions salsa20/src/backends/sse2.rs

This file was deleted.

Loading

0 comments on commit 6136ddb

Please sign in to comment.