crypto: Support key wrap operations + AES-KW (#34262)

* Support key wrapping operations + AES-KW

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* tidy

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Add allow for clippy

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Add missing spec links

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Improve JWK handling

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Fix clippy warnings

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* ./mach fmt

Signed-off-by: Daniel Adams <msub2official@gmail.com>

---------

Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
Daniel Adams 2024-11-18 12:54:58 -10:00 committed by GitHub
parent 8c689aac67
commit 124c5bbbf3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 533 additions and 3881 deletions

10
Cargo.lock generated
View file

@ -53,6 +53,15 @@ dependencies = [
"cpufeatures",
]
[[package]]
name = "aes-kw"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69fa2b352dcefb5f7f3a5fb840e02665d311d878955380515e4fd50095dd3d8c"
dependencies = [
"aes",
]
[[package]]
name = "ahash"
version = "0.8.11"
@ -6006,6 +6015,7 @@ version = "0.0.1"
dependencies = [
"accountable-refcell",
"aes",
"aes-kw",
"app_units",
"arrayvec",
"atomic_refcell",