diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-01-06 16:48:31 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-06 16:48:31 +0530 |
| commit | bfd5f1598cc462b460791fdfca9bb6c2c69fec9b (patch) | |
| tree | 93dfa9f650d07351d76e2202b7a4f7930727271b /Cargo.lock | |
| parent | 1d46ee5129dc5c674a7a4b6ad3a40243de4de2a0 (diff) | |
feat(ext/crypto): initial support for p521 in `generateKey` and `importKey` (#21815)
Part 1 of a potential 3 part series. Ref #13449
The current implementation passes key material back and forth RustCrypto
group of crates and ring. ring does not implement p521 yet.
This PR adds support for P521 named curve in `generateKey` and
`importKey` where we use RustCrypto. Other parts should be moved over to
the RustGroup group of crates for consistency.
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index f4f6c0060..fabd5ff62 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1218,6 +1218,7 @@ dependencies = [ "once_cell", "p256", "p384", + "p521", "rand", "ring", "rsa", @@ -4116,6 +4117,20 @@ dependencies = [ ] [[package]] +name = "p521" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fc9e2161f1f215afdfce23677034ae137bbd45016a880c2eb3ba8eb95f085b2" +dependencies = [ + "base16ct", + "ecdsa", + "elliptic-curve", + "primeorder", + "rand_core", + "sha2", +] + +[[package]] name = "parking_lot" version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" |
