diff --git a/curve25519-parser/Cargo.toml b/curve25519-parser/Cargo.toml index 0e298544..5248dc6d 100644 --- a/curve25519-parser/Cargo.toml +++ b/curve25519-parser/Cargo.toml @@ -13,8 +13,8 @@ readme = "../README.md" [dependencies] der-parser = { version = "8", default-features = false} -x25519-dalek = { version = "1", default-features = false} -curve25519-dalek = { version = "3", default-features = false, features = ["u64_backend"]} +curve25519-dalek = { version = "4", default-features = false} +x25519-dalek = { version = "2", default-features = false, features=["static_secrets"]} sha2 = { version = "0", default-features = false} pem = { version = "3", default-features = false} diff --git a/curve25519-parser/src/lib.rs b/curve25519-parser/src/lib.rs index d53a7c2b..0f5cec98 100644 --- a/curve25519-parser/src/lib.rs +++ b/curve25519-parser/src/lib.rs @@ -211,11 +211,11 @@ pub fn parse_openssl_25519_pubkey_der(data: &[u8]) -> Result use default u64_backend (x25519-dalek's default) to have a working default compilation -default = ["x25519-dalek/u64_backend"] +default = [] send = [] [[bench]] diff --git a/mlar/Cargo.toml b/mlar/Cargo.toml index 07f271b9..aafd5fc9 100644 --- a/mlar/Cargo.toml +++ b/mlar/Cargo.toml @@ -18,7 +18,7 @@ glob = "0.3" mla = { path = "../mla", version = "1" } curve25519-parser = { path = "../curve25519-parser", version = "0.3" } rand = "0.8" -x25519-dalek = "1" +x25519-dalek = "2" humansize = {version = "2", features = ["impl_style"]} hex = "0.4" sha2 = { version = "0", default-features = false}