From 67f798bf5c86064fbe2c65c5e5c3ab1c166ee787 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 May 2024 22:30:37 +0000 Subject: [PATCH] build(deps): bump p256 from 0.9.0 to 0.13.2 Bumps [p256](https://github.com/RustCrypto/elliptic-curves) from 0.9.0 to 0.13.2. - [Commits](https://github.com/RustCrypto/elliptic-curves/compare/p256/v0.9.0...p256/v0.13.2) --- updated-dependencies: - dependency-name: p256 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 43 +++++++++++++++++++++++++++++++++++++++++-- kem/Cargo.toml | 2 +- 2 files changed, 42 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c13f5dfe..ca5f2637 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -396,6 +396,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" dependencies = [ "const-oid 0.9.6", + "pem-rfc7468 0.7.0", "zeroize", ] @@ -426,6 +427,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", + "const-oid 0.9.6", "crypto-common 0.1.6", "subtle", ] @@ -472,6 +474,20 @@ dependencies = [ "signature 1.3.2", ] +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der 0.7.9", + "digest 0.10.7", + "elliptic-curve 0.13.8", + "rfc6979", + "signature 2.2.0", + "spki 0.7.3", +] + [[package]] name = "elliptic-curve" version = "0.10.4" @@ -501,6 +517,7 @@ dependencies = [ "generic-array", "group 0.13.0", "hkdf 0.12.4", + "pem-rfc7468 0.7.0", "pkcs8 0.10.2", "rand_core", "sec1 0.7.3", @@ -789,7 +806,7 @@ name = "kem" version = "0.3.0-pre.0" dependencies = [ "hpke", - "p256 0.9.0", + "p256 0.13.2", "pqcrypto", "pqcrypto-traits", "rand", @@ -831,7 +848,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d053368e1bae4c8a672953397bd1bd7183dde1c72b0b7612a15719173148d186" dependencies = [ - "ecdsa", + "ecdsa 0.12.4", "elliptic-curve 0.10.4", "sha2 0.9.9", ] @@ -842,8 +859,10 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" dependencies = [ + "ecdsa 0.16.9", "elliptic-curve 0.13.8", "primeorder", + "sha2 0.10.8", ] [[package]] @@ -875,6 +894,15 @@ dependencies = [ "base64ct", ] +[[package]] +name = "pem-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +dependencies = [ + "base64ct", +] + [[package]] name = "pem-rfc7468" version = "1.0.0-pre.0" @@ -1055,6 +1083,16 @@ dependencies = [ "getrandom", ] +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac 0.12.1", + "subtle", +] + [[package]] name = "rustc_version" version = "0.4.0" @@ -1216,6 +1254,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ + "digest 0.10.7", "rand_core", ] diff --git a/kem/Cargo.toml b/kem/Cargo.toml index 3739e836..57fd81ea 100644 --- a/kem/Cargo.toml +++ b/kem/Cargo.toml @@ -18,7 +18,7 @@ zeroize = { version = "1.7", default-features = false } [dev-dependencies] hpke = "0.11" -p256 = { version = "0.9", features = ["ecdsa"] } +p256 = { version = "0.13", features = ["ecdsa"] } pqcrypto = { version = "0.15", default-features = false, features = [ "pqcrypto-saber", ] }