mirror of
https://github.com/RustCrypto/signatures
synced 2026-06-21 13:45:42 +00:00
ecdsa v0.17.0-rc.20 (#1383)
This commit is contained in:
Generated
+3
-4
@@ -457,7 +457,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ecdsa"
|
||||
version = "0.17.0-rc.19"
|
||||
version = "0.17.0-rc.20"
|
||||
dependencies = [
|
||||
"der",
|
||||
"digest",
|
||||
@@ -504,9 +504,9 @@ checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e"
|
||||
|
||||
[[package]]
|
||||
name = "elliptic-curve"
|
||||
version = "0.14.0-rc.34"
|
||||
version = "0.14.0-rc.35"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "88a44d097c9f3e494ddc19f77af5aab89f0b3b2652cde370ec8c6064faca5bd2"
|
||||
checksum = "51c58d86e2f3cebbf2dfd94c4bf049585c7def71058ba506bfdafcb57652a34b"
|
||||
dependencies = [
|
||||
"base16ct",
|
||||
"crypto-bigint",
|
||||
@@ -516,7 +516,6 @@ dependencies = [
|
||||
"group",
|
||||
"hex-literal",
|
||||
"hybrid-array",
|
||||
"once_cell",
|
||||
"pem-rfc7468",
|
||||
"pkcs8",
|
||||
"rand_core 0.10.1",
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ecdsa"
|
||||
version = "0.17.0-rc.19"
|
||||
version = "0.17.0-rc.20"
|
||||
description = """
|
||||
Pure Rust implementation of the Elliptic Curve Digital Signature Algorithm
|
||||
(ECDSA) as specified in FIPS 186-4 (Digital Signature Standard), providing
|
||||
@@ -17,7 +17,7 @@ edition = "2024"
|
||||
rust-version = "1.85"
|
||||
|
||||
[dependencies]
|
||||
elliptic-curve = { version = "0.14.0-rc.34", default-features = false, features = ["sec1"] }
|
||||
elliptic-curve = { version = "0.14.0-rc.35", default-features = false, features = ["sec1"] }
|
||||
signature = { version = "3", default-features = false, features = ["rand_core"] }
|
||||
zeroize = { version = "1.5", default-features = false }
|
||||
|
||||
@@ -30,7 +30,7 @@ sha2 = { version = "0.11", optional = true, default-features = false, features =
|
||||
spki = { version = "0.8", optional = true, default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
elliptic-curve = { version = "0.14.0-rc.33", default-features = false, features = ["dev"] }
|
||||
elliptic-curve = { version = "0.14.0-rc.35", default-features = false, features = ["dev"] }
|
||||
hex-literal = "1"
|
||||
sha2 = { version = "0.11", default-features = false }
|
||||
|
||||
|
||||
+2
-2
@@ -228,8 +228,8 @@ where
|
||||
/// out-of-range when interpreted as a big endian integer.
|
||||
pub fn from_bytes(bytes: &SignatureBytes<C>) -> Result<Self> {
|
||||
let chunks = FieldBytes::<C>::slice_as_chunks(bytes).0;
|
||||
let r = chunks[0].clone();
|
||||
let s = chunks[1].clone();
|
||||
let r = chunks[0];
|
||||
let s = chunks[1];
|
||||
Self::from_scalars(r, s)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user