Skip to content

Commit

Permalink
Remove all path dependents of primeorder
Browse files Browse the repository at this point in the history
P521 alone uses path based primeorder

Signed-off-by: Arvind Mukund <[email protected]>
  • Loading branch information
MasterAwesome committed Oct 31, 2023
1 parent 9ba5e57 commit 9811088
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 22 deletions.
28 changes: 19 additions & 9 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 bign256/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rust-version = "1.65"
elliptic-curve = { version = "0.13.6", features = ["hazmat", "sec1"] }

# optional dependencies
primeorder = { version = "0.13.1", optional = true, path = "../primeorder" }
primeorder = { version = "0.13.2", optional = true }

[dev-dependencies]
criterion = "0.5"
Expand Down
2 changes: 1 addition & 1 deletion bp256/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ elliptic-curve = { version = "0.13", default-features = false, features = ["hazm

# optional dependencies
ecdsa = { version = "0.16", optional = true, default-features = false, features = ["der"] }
primeorder = { version = "0.13.1", optional = true, path = "../primeorder" }
primeorder = { version = "0.13.2", optional = true }
sha2 = { version = "0.10", optional = true, default-features = false }

[features]
Expand Down
2 changes: 1 addition & 1 deletion bp384/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ elliptic-curve = { version = "0.13", default-features = false, features = ["hazm

# optional dependencies
ecdsa = { version = "0.16", optional = true, default-features = false, features = ["der"] }
primeorder = { version = "0.13.1", optional = true, path = "../primeorder" }
primeorder = { version = "0.13.2", optional = true }
sha2 = { version = "0.10", optional = true, default-features = false }

[features]
Expand Down
4 changes: 2 additions & 2 deletions p192/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ sec1 = { version = "0.7.3", default-features = false }
# optional dependencies
ecdsa-core = { version = "0.16.6", package = "ecdsa", optional = true, default-features = false, features = ["der"] }
hex-literal = { version = "0.4", optional = true }
primeorder = { version = "0.13.1", optional = true, path = "../primeorder" }
primeorder = { version = "0.13.2", optional = true }
serdect = { version = "0.2", optional = true, default-features = false }

[dev-dependencies]
ecdsa-core = { version = "0.16", package = "ecdsa", default-features = false, features = ["dev"] }
hex-literal = "0.4"
primeorder = { version = "0.13", features = ["dev"], path = "../primeorder" }
primeorder = { version = "0.13.2", features = ["dev"] }

[features]
default = ["arithmetic", "ecdsa", "pem", "std"]
Expand Down
4 changes: 2 additions & 2 deletions p224/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ elliptic-curve = { version = "0.13.6", default-features = false, features = ["ha
# optional dependencies
ecdsa-core = { version = "0.16.6", package = "ecdsa", optional = true, default-features = false, features = ["der"] }
hex-literal = { version = "0.4", optional = true }
primeorder = { version = "0.13.1", optional = true, path = "../primeorder" }
primeorder = { version = "0.13.2", optional = true }
serdect = { version = "0.2", optional = true, default-features = false }
sha2 = { version = "0.10", optional = true, default-features = false }

[dev-dependencies]
blobby = "0.3"
ecdsa-core = { version = "0.16", package = "ecdsa", default-features = false, features = ["dev"] }
hex-literal = "0.4"
primeorder = { version = "0.13", features = ["dev"], path = "../primeorder" }
primeorder = { version = "0.13.2", features = ["dev"] }
rand_core = { version = "0.6", features = ["getrandom"] }

[features]
Expand Down
4 changes: 2 additions & 2 deletions p256/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ elliptic-curve = { version = "0.13.6", default-features = false, features = ["ha
# optional dependencies
ecdsa-core = { version = "0.16", package = "ecdsa", optional = true, default-features = false, features = ["der"] }
hex-literal = { version = "0.4", optional = true }
primeorder = { version = "0.13", optional = true, path = "../primeorder" }
primeorder = { version = "0.13.2", optional = true }
serdect = { version = "0.2", optional = true, default-features = false }
sha2 = { version = "0.10", optional = true, default-features = false }

Expand All @@ -31,7 +31,7 @@ blobby = "0.3"
criterion = "0.5"
ecdsa-core = { version = "0.16", package = "ecdsa", default-features = false, features = ["dev"] }
hex-literal = "0.4"
primeorder = { version = "0.13", features = ["dev"], path = "../primeorder" }
primeorder = { version = "0.13.2", features = ["dev"] }
proptest = "1"
rand_core = { version = "0.6", features = ["getrandom"] }

Expand Down
4 changes: 2 additions & 2 deletions p384/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ elliptic-curve = { version = "0.13", default-features = false, features = ["hazm
# optional dependencies
ecdsa-core = { version = "0.16", package = "ecdsa", optional = true, default-features = false, features = ["der"] }
hex-literal = { version = "0.4", optional = true }
primeorder = { version = "0.13.1", optional = true, path = "../primeorder" }
primeorder = { version = "0.13.2", optional = true }
serdect = { version = "0.2", optional = true, default-features = false }
sha2 = { version = "0.10", optional = true, default-features = false }

Expand All @@ -31,7 +31,7 @@ blobby = "0.3"
criterion = "0.5"
ecdsa-core = { version = "0.16", package = "ecdsa", default-features = false, features = ["dev"] }
hex-literal = "0.4"
primeorder = { version = "0.13", features = ["dev"], path = "../primeorder" }
primeorder = { version = "0.13.2", features = ["dev"] }
proptest = "1.3"
rand_core = { version = "0.6", features = ["getrandom"] }

Expand Down
2 changes: 1 addition & 1 deletion p521/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ elliptic-curve = { version = "0.13", default-features = false, features = ["hazm
sha2 = { version = "0.10", optional = true, default-features = false }

# optional dependencies
primeorder = { version = "0.13.1", optional = true, path = "../primeorder" }
primeorder = { path = "../primeorder", optional = true }

[features]
default = ["pem", "std"]
Expand Down
2 changes: 1 addition & 1 deletion sm2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rust-version = "1.65"
elliptic-curve = { version = "0.13", default-features = false, features = ["hazmat", "sec1"] }

# optional dependencies
primeorder = { version = "0.13.1", optional = true, path = "../primeorder" }
primeorder = { version = "0.13.2", optional = true }
rfc6979 = { version = "0.4", optional = true }
serdect = { version = "0.2", optional = true, default-features = false }
signature = { version = "2", optional = true }
Expand Down

0 comments on commit 9811088

Please sign in to comment.