Skip to content

Commit

Permalink
scrypt: bump salsa20 crate dependency to v0.8 (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Apr 29, 2021
1 parent 9858074 commit 3b5089f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
17 changes: 13 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion scrypt/Cargo.toml
Expand Up @@ -16,7 +16,7 @@ base64ct = { version = "1", default-features = false, features = ["alloc"], opti
hmac = "0.11"
password-hash = { version = "0.2", default-features = false, features = ["rand_core"], optional = true }
pbkdf2 = { version = "0.7", default-features = false, path = "../pbkdf2" }
salsa20 = { version = "0.7", default-features = false, features = ["expose-core"] }
salsa20 = { version = "0.8", default-features = false, features = ["expose-core"] }
sha2 = { version = "0.9", default-features = false }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion scrypt/src/romix.rs
@@ -1,7 +1,7 @@
use core::convert::TryInto;

/// The Salsa20/8 core function
type Salsa20_8 = salsa20::Block<salsa20::R8>;
type Salsa20_8 = salsa20::Core<salsa20::R8>;

/// Execute the ROMix operation in-place.
/// b - the data to operate on
Expand Down

0 comments on commit 3b5089f

Please sign in to comment.