-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update crypto crates and fix sphinx issue (#94)
* single out crypto changes * phase out curve25519 for x25519 * tidy up tests and warnings * update rand dependencies * update crypto dependencies * bump crate version * cleanup * refactor BLindingFactor into StaticSecret * remove unused export alias
- Loading branch information
1 parent
ca107d9
commit 2a2646e
Showing
17 changed files
with
173 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "sphinx-packet" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
authors = ["Ania Piotrowska <[email protected]>", "Dave Hrycyszyn <[email protected]>", "Jędrzej Stuczyński <[email protected]>"] | ||
edition = "2018" | ||
license = "Apache-2.0" | ||
|
@@ -11,27 +11,28 @@ readme = "README.md" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
aes = { version = "0.7.4", features = ["ctr"] } | ||
bs58 = "0.4.0" | ||
curve25519-dalek = "3.0.0" | ||
hmac = "0.11.0" | ||
digest = "0.9" | ||
log = "0.4" | ||
rand = {version = "0.7.3", features = ["wasm-bindgen"]} | ||
rand_distr = "0.3" | ||
sha2 = "0.9.1" | ||
hkdf = "0.11.0" | ||
aes = "0.8.4" | ||
ctr = "0.9.2" | ||
bs58 = "0.5.1" | ||
x25519-dalek = { version = "2.0.1", features = ["static_secrets", "getrandom"] } | ||
hmac = "0.12.1" | ||
digest = "0.10.7" | ||
log = "0.4.21" | ||
rand = "0.8.5" | ||
rand_distr = "0.4.3" | ||
sha2 = "0.10.8" | ||
hkdf = "0.12.4" | ||
lioness = "0.1.2" | ||
arrayref = "0.3.5" | ||
arrayref = "0.3.7" | ||
chacha = "0.3.0" | ||
blake2 = "0.8.0" # cannot be updated due to outdated dependency inside lioness | ||
byteorder = "1.3.2" | ||
subtle = "2.3.0" | ||
byteorder = "1.5.0" | ||
subtle = "2.4.1" | ||
|
||
|
||
[dev-dependencies] | ||
mockall = "0.10.2" | ||
criterion = "0.3" | ||
mockall = "0.12.1" | ||
criterion = "0.5.1" | ||
|
||
[[bench]] | ||
name = "benchmarks" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.