Skip to content

Commit

Permalink
salsa20: revert sse2 (#346)
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.

Note that this change was never released, so there is no security impact.
  • Loading branch information
baloo committed Mar 5, 2024
1 parent 5b0a98b commit fea3dd0
Show file tree
Hide file tree
Showing 8 changed files with 90 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.

0 comments on commit fea3dd0

Please sign in to comment.