Skip to content

Commit

Permalink
Bump chacha20 to v0.7; salsa20 to v0.8; kuznyechik to v0.7 (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri authored Apr 29, 2021
1 parent b4bee78 commit 89e99a2
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 16 deletions.
17 changes: 10 additions & 7 deletions Cargo.lock

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

5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,3 @@ members = [
"mgm",
"xsalsa20poly1305"
]

[patch.crates-io]
chacha20 = { git = "https://github.com/RustCrypto/stream-ciphers.git" }
kuznyechik = { git = "https://github.com/RustCrypto/block-ciphers.git" }
salsa20 = { git = "https://github.com/RustCrypto/stream-ciphers.git" }
2 changes: 1 addition & 1 deletion chacha20poly1305/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ categories = ["cryptography", "no-std"]

[dependencies]
aead = { version = "0.4", default-features = false }
chacha20 = { version = "=0.7.0-pre", features = ["zeroize"], optional = true }
chacha20 = { version = "0.7", features = ["zeroize"], optional = true }
cipher = "0.3"
poly1305 = "0.6"
zeroize = { version = "1", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion crypto_box/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ keywords = ["nacl", "libsodium", "public-key", "x25519", "xsalsa20poly1305"]

[dependencies]
rand_core = "0.5"
salsa20 = { version = "=0.8.0-pre", features = ["hsalsa20"] }
salsa20 = { version = "0.8", features = ["hsalsa20"] }
x25519-dalek = { version = "1", default-features = false }
zeroize = { version = "1", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion mgm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ subtle = { version = "2", default-features = false }

[dev-dependencies]
aead = { version = "0.4", features = ["dev"], default-features = false }
kuznyechik = "=0.7.0-pre"
kuznyechik = "0.7"
hex-literal = "0.2"

[features]
Expand Down
2 changes: 1 addition & 1 deletion xsalsa20poly1305/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ categories = ["cryptography", "no-std"]

[dependencies]
aead = { version = "0.4", default-features = false }
salsa20 = { version = "=0.8.0-pre", features = ["xsalsa20", "zeroize"] }
salsa20 = { version = "0.8", features = ["xsalsa20", "zeroize"] }
poly1305 = "0.6"
rand_core = { version = "0.5", optional = true }
subtle = { version = "2", default-features = false }
Expand Down

0 comments on commit 89e99a2

Please sign in to comment.